Skip to content

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
@acolomb acolomb merged commit 1582ba5 into canopen-python:master Aug 18, 2025
4 of 5 checks passed
@acolomb acolomb deleted the bump-python-3.9 branch August 18, 2025 20:42
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