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

migrate from pkg_resources #358

Open
profjsb opened this issue Apr 23, 2023 · 0 comments
Open

migrate from pkg_resources #358

profjsb opened this issue Apr 23, 2023 · 0 comments
Assignees

Comments

@profjsb
Copy link
Collaborator

profjsb commented Apr 23, 2023

Using baselayer to install packages via requirements.txt fails on anything but <package_name>==<version>. If we want to use a specific git hash in requirements.txt (via git+https://...@hash#egg=...) then pip itself works but dependency checking in baselayer does not.

Documentation for pkg_resources says:

Use of pkg_resources is discouraged in favor of importlib.resources, importlib.metadata,
and their backports (importlib_resources, [importlib_metadata]
(https://pypi.org/project/importlib_metadata)).
Please consider using those libraries instead of pkg_resources.

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

No branches or pull requests

2 participants