-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
50.0.0 Broken? #2356
Comments
I can confirm this. We have the same issue. A simple way to reproduce:
I am in the process of blacklisting |
Remove upgrading of setuptools (used to work around fixed issue with zipp?!), since it fails with 50.0.0: $ python -m tox --notest -v --durations ... using tox-3.14.1.dev99+g842eeac from /home/travis/virtualenv/python3.5.1/lib/python3.5/site-packages/tox/__init__.py (pid 4320) ... ================================== log start =================================== Traceback (most recent call last): File "/opt/python/3.5.1/lib/python3.5/runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "/opt/python/3.5.1/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/travis/virtualenv/python3.5.1/lib/python3.5/site-packages/virtualenv.py", line 24, in <module> import distutils.spawn File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 666, in _load_unlocked File "<frozen importlib._bootstrap>", line 577, in module_from_spec File "/home/travis/virtualenv/python3.5.1/lib/python3.5/site-packages/_distutils_hack/__init__.py", line 82, in create_module return importlib.import_module('._distutils', 'setuptools') File "/home/travis/virtualenv/python3.5.1/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 981, in _gcd_import File "<frozen importlib._bootstrap>", line 931, in _sanity_check SystemError: Parent module 'setuptools' not loaded, cannot perform relative import Ref: pypa/setuptools#2356
Remove upgrading of setuptools (used to work around fixed issue with zipp?!), since it fails with 50.0.0. Ref: pypa/setuptools#2356
…n 3.5.2 More details here: pypa/setuptools#2356
…n 3.5.2 (#1772) More details here: pypa/setuptools#2356
Similar issue here, broken setuptools
git+https://github.com/taspinar/twitterscraper.git#egg=twitterscraper Disallowing v50.0.0 fixes the problem for me: -setuptools
+setuptools!=50.0.0
git+https://github.com/taspinar/twitterscraper.git#egg=twitterscraper |
I'm unable to replicate the issue on Python 3.8 and Python 3.6 on macOS. I don't yet know what factors cause the failure. |
(also Python 3.5) |
Same issue is seen with django-autocomplete-light in the context of Edit: The ENV variable method as mentioned in #2350 shows promise in Docker:
However, I'm still determining what effect this has (is it using ancient setuptools 39.x that comes with Ubuntu 18.04?) More discussion here as well: pypa/pip#8761 |
I suspect this issue is the same as #2352. The error message is the same, so assuming so unless I hear otherwise. |
pypa/pip#988 and pypa/setuptools#2356 have been solved.
This is taken from our CI builds.
The text was updated successfully, but these errors were encountered: