-
-
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 namespace packages #1518
Comments
For the record, when I create a virtualenv using an older version of virtualenv (15.1.0, packaged by Ubuntu 19.10), there's also no |
I think #1521 solves this. Please can you validate? |
Yes, #1521 fixes this. (Why does virtualenv on that branch say it is version 0.1.dev51+gd23e5ac? This makes tox 3.14.3 unhappy, due to its virtualenv>=16.0.0 version constraint. Anyway, that's immaterial and pip doesn't enforce version constraints anyway, only warns about them.) |
Probably does not pull in the git tags from where the version is derived 🤔 how did you install the branch version? |
and yeah, there are no tags in the git history of this particular branch. |
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 irclog2html/zodbbrowser issue (they're the same issue):
I expect: no output, the import should succeed.
I get
I suspect this was caused by
zope
being a namespace package. Incidentallyimport zope
also fails. There's no__init__.py
in the/tmp/venv/lib/python2.7/site-packages/zope
directory.I'm on Ubuntu 19.10. I installed virtualenv 20.0.0b1 with pipx install using my system Python 3.7.
pipx runpip virtualenv list
producesThe text was updated successfully, but these errors were encountered: