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

Skip to content

Conversation

@kba
Copy link
Member

@kba kba commented Jan 24, 2024

pkg_resources is part of setuptools which should not be used at runtime. For one, its usage outside build has been deprecated for a while and will be removed in future versions. But also, importing pkg_resources is quite expensive. I have replaced all pkg_resources functionality with importlib.{resources,metadata} including shims for older python versions.

Also patched/forked bagit/bagit-profiles to do the same.

@kba kba merged commit d628a96 into master Jan 30, 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.

2 participants