-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'group' with virtualenv 20.0.32 on CygWin #1962
Comments
Here is the full traceback of virtualenv, using
Here is the pip list from before invoking tox, i.e. in the environment when the above error happens:
The above is both on CygWin with Python 3.8. |
@gaborbernat thanks I'll take a look |
Looking at the above log it seems the path is already cygwin formatted ( |
Closes #1962. Corrects an AttributeError for a regex match not found if the cygwin path is already in posix format.
https://build.opensuse.org/request/show/840217 by user StevenK + dimstar_suse - Update to 20.0.33: * Fix ``None`` type error in cygwin if POSIX path in dest - by :user:`danyeaw`. (`#1962 <https://github.com/pypa/virtualenv/issues/1962>`_) * Fix Python 3.4 incompatibilities (added back to the CI) - by :user:`gaborbernat`. (`#1963 <https://github.com/pypa/virtualenv/issues/1963>`_) * For activation scripts always use UNIX line endings (unless it's BATCH shell related) - by :user:`saytosid`. (`#1818 <https://github.com/pypa/virtualenv/issues/1818>`_) * Avoid spawning new windows when doing seed package upgrades in the background on Windows - by :user:`gaborbernat`. (`#1928 <https://github.com/pypa/virtualenv/issues/1928>`_) * Fix a bug that reading and writing on the same file may cause race on multiple processes. (`#1938 <https://github.com/pypa/virtualenv/is
Issue
We are also testing on CygWin (using appveyor), and since this morning, tox fails creating a virtualenv with an AttributeError. Unfortunately, tox does not display the entire traceback, but just the exception.
Since virtualenv 20.0.32 was released just 4h ago, I suspect that to be the culprit.
From https://ci.appveyor.com/project/andy-maier/pywbem/builds/35526352/job/l3k6a2vb39bweqsw#L936:
I am setting up a direct invocation of virtualenv in that environment, in order to get the full traceback, and will post that here.
Environment
Provide at least:
pip list
of the host python wherevirtualenv
is installed:See next comment, below
Output of the virtual environment creation
Make sure to run the creation with
-vvv --with-traceback
:See next comment, below
The text was updated successfully, but these errors were encountered: