Skip to content

Update dependencies for Python compatibility#117

Open
gncnpk wants to merge 1 commit into
tkuester:mainfrom
gncnpk:main
Open

Update dependencies for Python compatibility#117
gncnpk wants to merge 1 commit into
tkuester:mainfrom
gncnpk:main

Conversation

@gncnpk

@gncnpk gncnpk commented Jul 4, 2026

Copy link
Copy Markdown

This pull request updates the way the package version is determined to improve compatibility across Python versions. It replaces the use of pkg_resources with importlib.metadata (or importlib_metadata for Python < 3.8) and ensures the necessary dependency is included.

Python version compatibility:

  • Updated taky/__init__.py to use importlib.metadata (or importlib_metadata for Python < 3.8) for retrieving the package version, replacing pkg_resources. This change improves compatibility and reduces reliance on deprecated or slower libraries.
  • Added importlib_metadata as a dependency in setup.py for Python versions earlier than 3.8 to ensure version retrieval works consistently.

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.

1 participant