-
-
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
Issue with prefixes causing a circle in version >= 20.0.0 #1632
Comments
@carsongee if you can submit a CentOS 7 docker image replicating the issue that would be most helpful, thanks! |
I know this is quite convoluted, but here is a FROM python
RUN cp -Lr /usr/local /test
RUN pip install 'virtualenv<20'
RUN virtualenv test
RUN test/bin/pip install 'virtualenv==20.0.4'
RUN echo '/test' > /test/lib/python3.8/orig-prefix.txt
RUN /test/bin/python3.8 -m virtualenv --no-download --python /test/bin/python3.8 py38 -vvv Just to add some context to the |
Hi friends, First time using tox and I too encountered this error on Windows with Python 3.7 and virtualenv 20.0.4 Edit: I tried using Tox on a completely different VM using the same source, and it worked fine. I suspect the error occurred because the prior VM has a copy of Conda installed (even though the venv I was executing from was Python 3.7). Not sure if Conda modifies install_scripts, but that's my guess. |
Hello, a fix for this issue has been released via virtualenv 20.0.6; see https://pypi.org/project/virtualenv/20.0.6/ (https://virtualenv.pypa.io/en/latest/changelog.html#v20-0-6-2020-02-26) . Please give a try and report back if your issue has not been addressed; if not, please comment here, and we'll reopen the ticket. We want to apologize for the inconvenience this has caused you and say thanks for having patience while we resolve the unexpected bugs with this new major release. |
With virtualenv >= 20.0.0 I'm getting a
prefixes are causing a circle
RuntimeError
that doesn't occur in earlier versions.Here is the command:
python3.7 -m virtualenv --no-download --python ~/.virtualenvs/test-pytest/bin/python3.7 py37 -vvv --with-traceback
and the output:
I tried all versions above 20.0.0, including straight from master with the same error message.
With
16.7.9
the same command succeeds, with no issue.Here is
pip list
:This was run on a Mac, but I've also reproduced it on CentOS 7 as well
The text was updated successfully, but these errors were encountered: