Skip to content

Chore: Verify support for Python 3.14#160

Merged
amotl merged 1 commit into
mainfrom
python314
May 14, 2026
Merged

Chore: Verify support for Python 3.14#160
amotl merged 1 commit into
mainfrom
python314

Conversation

@amotl
Copy link
Copy Markdown
Member

@amotl amotl commented May 14, 2026

Just maintenance.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

Review Change Stack

Summary by CodeRabbit

  • Chores
    • Updated CI/CD workflows to test against Python 3.14 instead of 3.13.
    • Updated PyPI release workflow to build with Python 3.14.
    • Added Python 3.14 to package metadata classifiers.
    • Updated changelog to document Python 3.14 support.

Walkthrough

The pull request updates the project to test and release with Python 3.14 instead of 3.13. CI/CD workflows are modified to use the new Python version in their test and build matrices. Package metadata classifiers and the changelog are updated to reflect the supported Python version.

Changes

Python 3.14 Support

Layer / File(s) Summary
CI/CD workflow updates
.github/workflows/main.yml, .github/workflows/release-pypi.yml
Test matrix in the main workflow and build matrix in the PyPI release workflow both updated from Python 3.13 to 3.14.
Package metadata and changelog
setup.py, CHANGELOG.md
Python 3.14 classifier added to setup.py package metadata and a changelog entry documents the verified support for Python 3.14.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A hop, skip, and a leap of joy—
Python's up to 3.14 now, oh boy!
From thirteen to fourteen we race,
Testing workflows at light speed pace.
Metadata blessed, changelog signed with cheer! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Chore: Verify support for Python 3.14' directly and clearly describes the main change: updating workflows, configuration, and metadata to support Python 3.14.
Description check ✅ Passed The description 'Just maintenance.' is minimal but appropriately relates to the changeset, which consists entirely of maintenance updates to verify Python 3.14 support.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch python314

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.54%. Comparing base (fb4364d) to head (60c1339).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #160   +/-   ##
=======================================
  Coverage   99.54%   99.54%           
=======================================
  Files          18       18           
  Lines         440      440           
=======================================
  Hits          438      438           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
.github/workflows/main.yml (1)

26-28: 🏗️ Heavy lift

Consider testing additional Python versions to match declared support.

The package declares support for Python 3.6 through 3.14 in setup.py, but the test matrix only includes 3.8 and 3.14. This leaves versions 3.9, 3.10, 3.11, 3.12, and 3.13 untested, which could mask compatibility issues.

Consider adding at least one or two intermediate versions (e.g., 3.10, 3.12) to improve coverage without significantly increasing CI time.

♻️ Suggested enhancement to test matrix
         python-version:
           - "3.8"
+          - "3.10"
+          - "3.12"
           - "3.14"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/main.yml around lines 26 - 28, Update the GitHub Actions
test matrix to include intermediate Python versions so declared support
(3.6–3.14) is better covered: modify the matrix key python-version in the
workflow to add at least "3.10" and "3.12" (in addition to existing "3.8" and
"3.14") so CI runs on those interpreters and catches compatibility issues.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In @.github/workflows/main.yml:
- Around line 26-28: Update the GitHub Actions test matrix to include
intermediate Python versions so declared support (3.6–3.14) is better covered:
modify the matrix key python-version in the workflow to add at least "3.10" and
"3.12" (in addition to existing "3.8" and "3.14") so CI runs on those
interpreters and catches compatibility issues.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 32a76b85-3aab-4f8a-a562-1100b4f9a310

📥 Commits

Reviewing files that changed from the base of the PR and between fb4364d and 60c1339.

📒 Files selected for processing (4)
  • .github/workflows/main.yml
  • .github/workflows/release-pypi.yml
  • CHANGELOG.md
  • setup.py

@amotl amotl merged commit 494eb39 into main May 14, 2026
6 checks passed
@amotl amotl deleted the python314 branch May 14, 2026 17:39
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.

1 participant