Skip to content

move to importlib#170

Closed
nkrabben wants to merge 1 commit into
LibraryOfCongress:masterfrom
nkrabben:move-from-pkg_resources-to-importlib
Closed

move to importlib#170
nkrabben wants to merge 1 commit into
LibraryOfCongress:masterfrom
nkrabben:move-from-pkg_resources-to-importlib

Conversation

@nkrabben

@nkrabben nkrabben commented Aug 4, 2023

Copy link
Copy Markdown
Contributor

small change to move away from the deprecated pkg_resources

importlib.metadata is not supported in 3.7, which is still supported by bagit-python.

The library also doesn't have an exception class but it can return None.

@acdha

acdha commented Aug 8, 2023

Copy link
Copy Markdown
Member

Python 3.7's end of life was in June so maybe the answer here is to mark that as no longer supported?

@branchv

branchv commented Oct 6, 2023

Copy link
Copy Markdown

This would be great to merge/release as Python 3.12 no longer comes bundled with setuptools (and thus pkg_resources): python/cpython#95299

@sevein

sevein commented Apr 19, 2024

Copy link
Copy Markdown
Contributor

@nkrabben, I believe the issue has been resolved in #172. Can we close this?

@sevein

sevein commented Aug 29, 2024

Copy link
Copy Markdown
Contributor

For the record, I believe that some users are not experiencing this issue because they're still installing setuptools, e.g. if your project depends on gevent you're likely installing setuptools too because it's a dependency of a dependency (zope.event).

@nkrabben

Copy link
Copy Markdown
Contributor Author

Sorry for non-response. Closing

@nkrabben nkrabben closed this Aug 29, 2024
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.

4 participants