You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suggest documenting that packages_distributions won't work with editable installs #402
As discussed in pypa/packaging-problems#609, PEP 660 editable wheels which are generated by backends other than setuptools will not contain a top_level.txt and with the RECORD only listing e.g. the pth file with an entry to the original package directory, packages_distributions will not be able to reconcile editable packages with their corresponding distributions.
I'm not aware of one. It would require expanding the standard for editable installs to provide the necessary metadata. There's nothing importlib_metadata can do until that happens. It looks like pypa/packaging-problems#620 already tracks a similar if not identical concern. Feel free to chime in and contribute there.
Activity
pfmoore commentedon Aug 7, 2022
A longer term alternative to simply documenting the limitation would be to standardise something equivalent to
top_level.txt.limit to setuptools<64
limit to setuptools<64
Fixes for 2 and 3 zone systems (#26)
Add note to docs about limitation of packages_distributions. Fixes py…
Helveg commentedon Aug 8, 2024
Is there a planned solution for this being tracked anywhere?
jaraco commentedon Aug 8, 2024
I'm not aware of one. It would require expanding the standard for editable installs to provide the necessary metadata. There's nothing importlib_metadata can do until that happens. It looks like pypa/packaging-problems#620 already tracks a similar if not identical concern. Feel free to chime in and contribute there.