Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Aug 24, 2023

Since Python 3.8 it should be sufficient to use the build-in importlib.metadata module.


Looking at https://docs.python.org/3/library/importlib.metadata.html#mapping-import-to-distribution-packages packages_distributions() is indeed only available in importlib.metadata since Python 3.10, so we cannot use it for earlier versions and still have to use importlib-metadata.

@hagenw hagenw marked this pull request as draft June 5, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant