Closed
Description
I'm only opening is cause I see the following change log notes for 47.2.0:
* 2194: Editable-installed entry points now load significantly faster on Python versions 3.8+.
With bandersnatch moving to 47.2.0 our editable install no longer runs. The exception tho seems to be from our use of importlib
. So we might need to go back to using the backport it seems but wanted to get thoughts here.
...
Using legacy setup.py install for bandersnatch, since package 'wheel' is not installed.
Installing collected packages: bandersnatch
Running setup.py install for bandersnatch: started
Running setup.py install for bandersnatch: finished with status 'done'
Successfully installed bandersnatch-4.1.0.dev2
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.3/x64/bin/bandersnatch", line 9, in <module>
for entry_point in distribution('bandersnatch==4.1.0.dev2').entry_points:
File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/importlib/metadata.py", line 504, in distribution
return Distribution.from_name(distribution_name)
File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/importlib/metadata.py", line 177, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: bandersnatch==4.1.0.dev2
I've opened pypa/bandersnatch#580 to triage and root cause this. Will close if I workout it's indeed importlib.
Metadata
Metadata
Assignees
Labels
No labels