Skip to content

ci: support Python 3.10+ versions in CI and project configuration#34

Merged
Ki-Seki merged 3 commits intomainfrom
copilot/fix-33
Sep 22, 2025
Merged

ci: support Python 3.10+ versions in CI and project configuration#34
Ki-Seki merged 3 commits intomainfrom
copilot/fix-33

Conversation

Copy link
Contributor

Copilot AI commented Sep 21, 2025

This PR extends Python version support from the current 3.12+ to 3.10+, enabling broader compatibility for users while maintaining all existing functionality.

Changes Made

  • pyproject.toml: Updated requires-python from >=3.12 to >=3.10 and ruff target-version from py312 to py310
  • .python-version: Changed from 3.12 to 3.13 for development, while maintaining Python 3.10+ support in the package
  • .github/workflows/ci.yml: Extended CI matrix to test Python 3.10, 3.11, 3.12, and 3.13 across all platforms

Technical Rationale

The codebase already uses Python 3.10+ syntax (union types with | operator), making 3.10 a natural minimum version. This change provides better accessibility for users on older Python versions while ensuring the code remains compatible with newer versions. The development environment uses Python 3.13 to leverage the latest features and improvements.

Verification

  • All existing tests pass on Python 3.10
  • Linting and building work correctly with the updated configuration
  • CI workflow syntax is valid and will now test across 4 Python versions

Fixes #33.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Ki-Seki <60967965+Ki-Seki@users.noreply.github.com>
Copilot AI changed the title [WIP] ci: support more Python versions ci: support Python 3.10+ versions in CI and project configuration Sep 21, 2025
Copilot AI requested a review from Ki-Seki September 21, 2025 19:05
@codecov
Copy link

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Ki-Seki Ki-Seki requested a review from Copilot September 22, 2025 12:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends Python version support from 3.12+ to 3.10+ to improve compatibility while maintaining existing functionality. The changes update project configuration files to support the broader Python version range and expand CI testing coverage.

Key changes:

  • Updated minimum Python version requirement from 3.12 to 3.10
  • Extended CI matrix to test Python 3.10, 3.11, 3.12, and 3.13
  • Updated tooling configuration to target Python 3.10

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Updated requires-python and ruff target-version to support Python 3.10+
.python-version Changed from 3.12 to 3.13 for development environment
.github/workflows/ci.yml Added Python 3.10 and 3.11 to CI test matrix

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Ki-Seki
Copy link
Member

Ki-Seki commented Sep 22, 2025

@copilot change the pr description. I've change the development python version to 3.13

Copy link
Contributor Author

Copilot AI commented Sep 22, 2025

@copilot change the pr description. I've change the development python version to 3.13

Updated the PR description to reflect that the development Python version is now set to 3.13 in .python-version (commit 1709d0e). The package still supports Python 3.10+ as specified in pyproject.toml.

Copilot AI requested a review from Ki-Seki September 22, 2025 12:27
@Ki-Seki Ki-Seki marked this pull request as ready for review September 22, 2025 12:29
@Ki-Seki Ki-Seki merged commit a5c56f5 into main Sep 22, 2025
16 checks passed
@Ki-Seki Ki-Seki deleted the copilot/fix-33 branch September 22, 2025 12:30
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.

ci: support more Python versions

3 participants