Skip to content

build: Bump minimum Python version to 3.9 (fixes #585) #610

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

acolomb
Copy link
Member

@acolomb acolomb commented Aug 5, 2025

Avoid deprecation warnings with modern setuptools, which will stop supporting a table as the project.license option in pyproject.toml soon. Require a modern version >= 77 to make use of the alternative options.

Modernize type annotation syntax for obvious 3.9 changes.

Avoid deprecation warnings with modern setuptools, which will stop
supporting a table as the project.license option in pyproject.toml
soon.  Require a modern version >= 77 to make use of the alternative
options.
@acolomb acolomb added this to the v3.0.0 milestone Aug 5, 2025
@acolomb acolomb linked an issue Aug 5, 2025 that may be closed by this pull request
Copy link

codecov bot commented Aug 5, 2025

Codecov Report

❌ Patch coverage is 93.54839% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
canopen/profiles/p402.py 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

acolomb added 3 commits August 5, 2025 14:23
Since Python 3.9 we can use the built-in types directly.
Since Python 3.9 the collections.abc module can be used directly for
typing.
@acolomb acolomb changed the title build: Bump minimum Python version to 3.9 and update license metadata (fixes #585) build: Bump minimum Python version to 3.9 (fixes #585) Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Raise the minimum python version to 3.9
1 participant