Skip to content

CI: Add Python 3.14 testing and update cibuildwheel#5

Merged
congzhangzh merged 2 commits intomainfrom
claude/add-version-3.14-support-v4vub
Feb 28, 2026
Merged

CI: Add Python 3.14 testing and update cibuildwheel#5
congzhangzh merged 2 commits intomainfrom
claude/add-version-3.14-support-v4vub

Conversation

@congzhangzh
Copy link
Owner

Summary

Updated CI/CD workflows to expand Python version testing and modernize build tooling.

Key Changes

  • test.yml: Added Python 3.14 to the test matrix alongside 3.13, enabling testing across multiple Python versions on all platforms (Ubuntu, Windows, macOS)
  • test.yml: Parameterized the Python setup step to use the matrix variable instead of hardcoding version 3.13
  • publish.yml: Updated cibuildwheel from v2.23.2 to v3.3.1 to support building wheels for Python 3.14
  • Formatting: Fixed trailing whitespace in test.yml for consistency

Implementation Details

The test matrix now dynamically runs tests for both Python 3.13 and 3.14 across all three operating systems, providing better coverage for the upcoming Python 3.14 release. The cibuildwheel upgrade ensures compatibility with the new Python version for wheel building.

https://claude.ai/code/session_01SEzYTNWMRtJvmGH1ntaPoo

- Update test.yml to add python-version matrix dimension, testing both
  3.13 and 3.14 across all platforms, with allow-prereleases: true to
  handle 3.14 pre-release builds
- Update publish.yml to add CIBW_PRERELEASE_PYTHONS: true so
  cibuildwheel can build wheels for pre-release Python 3.14

https://claude.ai/code/session_01SEzYTNWMRtJvmGH1ntaPoo
Python 3.14 is officially stable (released Oct 7, 2025). cibuildwheel v3.1+
natively recognizes cp314 as a stable target without CIBW_PRERELEASE_PYTHONS.
Upgrade to v3.3.1 (Jan 2026, includes CPython 3.14.2) and remove the
pre-release workaround flags from both workflows.

https://claude.ai/code/session_01SEzYTNWMRtJvmGH1ntaPoo
@congzhangzh congzhangzh merged commit 3e7ed80 into main Feb 28, 2026
9 checks passed
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.

2 participants