-
-
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
20b1: problems with editable installs #1517
Comments
One difference between virtualenv-created-with-20b1 and virtualenv-created-with-15 appears to be in sys.path: the working virtualenv has ~/src/gtimelog/src in it, the non-working one doesn't. They both have identical easy-install.pth files in site-packages, and they both have identical gtimelog.egg-link files. Could it be that the core problem with both this and #1518 is that |
@mgedmin we no longer ship our own site.py but rather use the host |
I think #1521 solves this. Please can you validate? |
Yes, #1521 fixes this. |
If the host platfrom and pure library paths differed from the distutils installs ones, we patched the sys.path by appending the missing paths, this did not trigger the pth processing though. Changed to use the site.add_site_dir to solve the problem. Signed-off-by: Bernat Gabor <[email protected]>
I've decided to try running
tox
on all the Python projects I maintain with virtualenv 20.0.0b1, to check for regressions in the new beta. Three of the projects failed, all on Python 2.7:Here's how to reproduce the gtimelog issue:
I expect: no output, the import should succeed.
I get
The
--no-deps
to pip install is there to make the test simpler and faster; I get the same failure if I do a fullpip install -e gtimelog
.I'll create a separate bug for the irclog2html/zodbbrowser issue (they're the same issue): #1518.
I'm on Ubuntu 19.10. I installed virtualenv 20.0.0b1 with
pipx install --pip-args=--pre
using my system Python 3.7.pipx runpip virtualenv list
producesThe text was updated successfully, but these errors were encountered: