Remove pkg_resources usage#333
Closed
casparvl wants to merge 6 commits intoEESSI:mainfrom
Closed
Conversation
added 6 commits
May 5, 2026 17:56
Collaborator
Author
|
Ok, I give up, I'll create a new PR and just try with a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm hitting an issue on Pyhon 3.12.3 when running anything that
pkg_resourcesisn't present. Of course, we knew this would be deprecated. While using it in oursetup.pyis also awkward and it should eventually be removed there as well, that's not as urgent as removing it from this__init__, as having it here basically means not being able to import anything from theeessinamespace on systems that don't havepkg_resourcesanymore. (for the setup.py: we can always build on a system with older python).According to my AI friend, this call shouldn't even be needed if you have Python>=3.3, setuptools >= 28.8 and pip >= 9.0. I'm hoping that's true for everyone nowadays...