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

Bump to Python 3.9 #100

Merged
merged 4 commits into from
Apr 18, 2024
Merged

Bump to Python 3.9 #100

merged 4 commits into from
Apr 18, 2024

Conversation

cbrnr
Copy link
Contributor

@cbrnr cbrnr commented Apr 12, 2024

Although we already use importlib.metadata (the recommended approach), we only caught ImportError when trying to import pkg_resources. However, if setuptools is installed, pkg_resources can still be imported, but raise a DeprecationWarning. This PR bumps the minimum required Python version to 3.9, which ships with importlib.metadata.

@cbrnr cbrnr mentioned this pull request Apr 15, 2024
@cbrnr cbrnr changed the title Catch DeprecationWarning Bump to Python 3.9 Apr 16, 2024
@cbrnr cbrnr linked an issue Apr 16, 2024 that may be closed by this pull request
@cbrnr cbrnr requested a review from cboulay April 16, 2024 07:19
@cboulay
Copy link
Contributor

cboulay commented Apr 16, 2024

Looks good but I think pyxdf itself needs a version bump too. I guess that comes from the tag-and-release process.

@cbrnr
Copy link
Contributor Author

cbrnr commented Apr 16, 2024

Yes, I think we should make a new release after this PR is merged (we need a changelog entry then, I'll add one).

@cbrnr cbrnr merged commit 9e34d89 into xdf-modules:main Apr 18, 2024
@cbrnr cbrnr deleted the deprecate-pkg_resources branch April 18, 2024 07:19
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.

Bump Python to >= 3.9
2 participants