Skip to content
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

Support environments where pkg_resources is not available #54

Closed
sbidoul opened this issue Dec 15, 2020 · 1 comment · Fixed by #99
Closed

Support environments where pkg_resources is not available #54

sbidoul opened this issue Dec 15, 2020 · 1 comment · Fixed by #99
Labels
enhancement New feature or request

Comments

@sbidoul
Copy link
Owner

sbidoul commented Dec 15, 2020

The script that inspects the content of the environment currently relies on pkg_resources, hence setuptools. In modern packaging, setuptools is not necessarily installed in the virtual environment. So we should have a mode that works with importlib[._]metadata.

@sbidoul sbidoul added the enhancement New feature or request label Dec 15, 2020
@sbidoul
Copy link
Owner Author

sbidoul commented May 26, 2023

This will be implemented by requiring pip >= 22.2 and using pip inspect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant