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

Replace deprecated pkg_resources with importlib.metadata.version #460

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Oct 17, 2023

From https://setuptools.pypa.io:

Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.

@janosh janosh added the pkg Package health and distribution related stuff label Oct 17, 2023
The conflict is caused by:
    jobflow[strict,tests] 0.0.1 depends on moto==4.2.6; extra == "strict"
    jobflow[strict,tests] 0.0.1 depends on moto==4.2.5; extra == "tests"
@janosh janosh merged commit fdd1685 into main Oct 17, 2023
2 of 5 checks passed
@janosh janosh deleted the importlib-pkg-version branch October 17, 2023 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
house-keeping pkg Package health and distribution related stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants