Skip to content

ci: test on Python 3.15 - #583

Merged
shenxianpeng merged 1 commit into
commit-check:mainfrom
itzzdev09:chore/python-3.15
Sep 22, 2026
Merged

shenxianpeng merged 1 commit into
commit-check:mainfrom
itzzdev09:chore/python-3.15

Conversation

@itzzdev09

@itzzdev09 itzzdev09 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Closes #580

  • Adds 3.15 to the install job matrix (Windows, Ubuntu, macOS).
  • Sets allow-prereleases: true on actions/setup-python so the job can install the 3.15 pre-release until 3.15.0 is final. It has no effect on the released versions already in the matrix.
  • Adds the Programming Language :: Python :: 3.15 classifier.

The job installs with --only-binary :all:, but the only runtime dependency (tomli) is skipped on 3.11+, and the dev extra (nox and what it pulls in) is pure Python, so no 3.15 wheels are needed.

README pins: all rev: entries already name v2.18.0, the latest release on PyPI, so none needed moving.

Summary by CodeRabbit

  • Chores
    • Added Python 3.15 to the supported interpreter versions.
    • Updated automated testing to include Python 3.15 and prerelease Python versions.

@itzzdev09
itzzdev09 requested a review from a team as a code owner September 21, 2026 19:23
@itzzdev09
itzzdev09 requested review from shenxianpeng and removed request for a team September 21, 2026 19:23
@github-actions github-actions Bot added the chore label Sep 21, 2026
@coderabbitai

coderabbitai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: eaa7b51b-ab07-4f5b-9820-ca4dbb496a9f

📥 Commits

Reviewing files that changed from the base of the PR and between 942424b and bd26423.

📒 Files selected for processing (2)
  • .github/workflows/main.yml
  • pyproject.toml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The installation workflow now tests Python 3.15 and permits prerelease Python versions. The project metadata now includes a Python 3.15 classifier.

Changes

Python 3.15 support

Layer / File(s) Summary
CI and package metadata
.github/workflows/main.yml, pyproject.toml
The installation matrix adds Python 3.15 and enables prerelease versions in actions/setup-python. The project classifiers add Python 3.15.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the primary change: adding Python 3.15 to CI testing.
Linked Issues check ✅ Passed Issue #580 requires Python 3.15 support in CI. The PR adds Python 3.15 to the Windows, Ubuntu, and macOS install matrix. It enables pre-release versions in actions/setup-python, which supports CI be…
Out of Scope Changes check ✅ Passed The changes stay within issue #580. The CI matrix update, pre-release setup, and Python 3.15 classifier directly support Python 3.15. No unrelated change is identified.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

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.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.08%. Comparing base (942424b) to head (bd26423).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #583   +/-   ##
=======================================
  Coverage   99.08%   99.08%           
=======================================
  Files          14       14           
  Lines        2194     2194           
=======================================
  Hits         2174     2174           
  Misses         20       20           

☔ View full report in Codecov by Harness.
📢 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.

@shenxianpeng
shenxianpeng merged commit 52b0a90 into commit-check:main Sep 22, 2026
29 checks passed
@codspeed

codspeed Bot commented Sep 22, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 596 untouched benchmarks
⏩ 123 skipped benchmarks1


Comparing itzzdev09:chore/python-3.15 (bd26423) with main (ca2f900)2

Open in CodSpeed

Footnotes

  1. 123 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on main (942424b) during the generation of this report, so ca2f900 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

shenxianpeng added a commit to commit-check/commit-check.com that referenced this pull request Sep 24, 2026
## What changes

- **Python range:** commit-check 2.18.1 adds Python 3.15 to CI and to
the package classifiers (commit-check/commit-check#583). The home page
facts row, the FAQ and the getting-started tip now say **3.10 through
3.15**.
- **FAQ correction:** it said CI "runs the suite on all five" versions.
The version matrix in `main.yml` builds the wheel and installs it (`nox
-s install`); the suite runs once. The answer now describes what the
matrix does: 6 versions × 3 systems, 18 combinations.

## Docs sync

- **Latest release:** 2.18.1 on PyPI, published 2026-09-24.
- **Pins:** all four `rev:` pins move to `v2.18.1`.
- **Changelog:** `docs/changelog.md` has a dated `v2.18.1` entry. No
Highlights row: 2.18.1 only extends the supported Python range, with no
new behaviour.
- **Tests:** `python -m pytest tests/ -q` passes against the installed
2.18.1 (10 tests).
- **Build:** `mkdocs build --strict` passes.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added Python 3.15 support, with package builds and installation
covered across Linux, macOS, and Windows.
* **Documentation**
* Updated supported Python version information and pre-commit examples
for release 2.18.1.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support python 3.15

2 participants