[issue46473] importlib.metadata does not honor .egg-link files

2022-01-23 Thread Ben
Ben added the comment: https://github.com/python/importlib_metadata/issues/364 -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Ben
Ben added the comment: yes, the latest version of pip creates an .egg-info metadata dir at the level of the package src dir and .egg-link and easy-install.pth stubs in the site-packages dir (the contents of which are paths to the package src dir). The intent is that these links would be

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Éric Araujo
Éric Araujo added the comment: It would make sense if importlib only supported official specs. For editable/develop installs, it is https://www.python.org/dev/peps/pep-0660/ which does not mention egg (not egg-link nor egg-info, long since replaced by dist-info). Are you using latest pip,

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Ben
Ben added the comment: I should also add that the easy-install.pth file, which similarly contains a link to the source dir containing the .egg-info metadata, is also not processed to locate the necessary metadata. -- ___ Python tracker

[issue46473] importlib.metadata does not honor .egg-link files

2022-01-22 Thread Ben
New submission from Ben : When installing a package using --editable, pip creates a .egg-link file in your site-packages dir that points to the .egg-info metadata that by default exists along side the source that it was installed from. This worked just fine with the older pkg_resources