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

pkg_resources is deprecated, don't import from there #13

Closed
Joshix-1 opened this issue Jan 31, 2024 · 2 comments · Fixed by #14
Closed

pkg_resources is deprecated, don't import from there #13

Joshix-1 opened this issue Jan 31, 2024 · 2 comments · Fixed by #14
Assignees

Comments

@Joshix-1
Copy link

Joshix-1 commented Jan 31, 2024

          pkg_resources is deprecated: https://setuptools.pypa.io/en/latest/pkg_resources.html
          and as setuptools isn't guaranteed to be installed, it may not even be there

Originally posted by @Joshix-1 in #12 (comment)

@Joshix-1 Joshix-1 changed the title pkg_resources is deprecated: https://setuptools.pypa.io/en/latest/pkg_resources.html pkg_resources is deprecated, don't import from there Jan 31, 2024
@Joshix-1
Copy link
Author

You should probably use https://pypi.org/project/packaging/ and their version parsing function: from packaging.version import parse

@Isotr0py
Copy link
Owner

Isotr0py commented Feb 1, 2024

I have made a PR to replace pkg_resources.
This will be released in the next version.

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 a pull request may close this issue.

2 participants