Skip to content

Update __init__ to deal with outdated pkg_resources package for newer versions of python #82

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

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

WouterDurnez
Copy link

Hi 👋

Not sure if this is still maintained, but wondering if anyone could look at this. pkg_resources, which is imported in the init to get the __version__, is deprecated. Using importlib would solve the issue, I believe. That would make the package compatible with newer versions of python (3.12 and up).

Ran the tests, all green (but not sure how thorough they are).

Thanks!

Copy link
Collaborator

@freedomofkeima freedomofkeima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WouterDurnez Hi, thanks for the contribution! 👋

This package hasn't been maintained in years, but I confirmed your fix works fine in my machine. Let me merge this to the main branch 👍

@freedomofkeima freedomofkeima merged commit 21541ce into HDE:master Jul 16, 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