Skip to content

Conversation

@CoMPaTech
Copy link
Owner

@CoMPaTech CoMPaTech commented Oct 7, 2025

Summary by CodeRabbit

  • New Features

    • Official support for Python 3.14.
  • Chores

    • CI updated to initialize Python earlier and expanded test matrix to run on 3.13 and 3.14.
    • Default Python version bumped to 3.14 across workflows, pre-commit defaults, and project metadata.

@coderabbitai
Copy link

coderabbitai bot commented Oct 7, 2025

Walkthrough

Updated CI and tooling to target Python 3.14: bumped DEFAULT_PYTHON in workflows, added explicit actions/setup-python@v6 steps and a pytest matrix including 3.14 in verify.yml, updated pre-commit default Python and pyproject metadata (classifiers and pylint py-version). No runtime code changes.

Changes

Cohort / File(s) Summary
CI workflows
.github/workflows/merge.yml, .github/workflows/verify.yml
Bumped DEFAULT_PYTHON from 3.13 to 3.14. In verify.yml added explicit actions/setup-python@v6 steps (parameterized with matrix/default), moved the Use Python step before Prepare Python across jobs, and expanded the pytest matrix from ["3.13"] to ["3.13","3.14"].
Pre-commit config
.pre-commit-config.yaml
Updated default_language_version for hooks from python3.13 to python3.14.
Project metadata / linters
pyproject.toml
Added Python 3.14 classifier and updated pylint py-version to 3.14.

Sequence Diagram(s)

sequenceDiagram
    participant Dev as Developer (push/PR)
    participant GH as GitHub Actions
    participant Job as CI Job (verify)
    participant Setup as actions/setup-python@v6
    participant Prep as Prepare Python step
    participant Test as Pytest job

    Note over GH: verify.yml (updated)
    Dev->>GH: push / open PR
    GH->>Job: start job (matrix: 3.13, 3.14)
    Job->>Setup: Use Python (matrix or DEFAULT_PYTHON)
    Note right of Setup: ensures runner has correct Python
    Setup-->>Job: Python ready
    Job->>Prep: Prepare Python (venv, deps)
    Prep-->>Job: env prepared
    Job->>Test: Run tests (pytest)
    Test-->>Job: results
    Job-->>GH: report status
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Add full action suite #17 — also modifies .github/workflows/verify.yml, affecting pytest job and Python setup steps; likely related to CI Python-version/setup changes.

Poem

I thump my paws: a version leap,
From thirteen tunnels to fourteen deep.
CI hops, linters wake and sing,
Tests twitch toes and markers spring.
🥕 Hop onward — new paths to keep.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title “Start py314 compat” succinctly indicates the main change of enabling Python 3.14 compatibility, which aligns directly with the updates to workflows, configurations, and classifiers in the changeset. It is concise, specific, and immediately conveys the primary purpose of the pull request.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch py314

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 15a103d and a6dee86.

📒 Files selected for processing (4)
  • .github/workflows/merge.yml (1 hunks)
  • .github/workflows/verify.yml (8 hunks)
  • .pre-commit-config.yaml (1 hunks)
  • pyproject.toml (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
  • .pre-commit-config.yaml
  • .github/workflows/merge.yml
  • pyproject.toml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Check commit

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.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2025

@codecov
Copy link

codecov bot commented Oct 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.59%. Comparing base (a27714c) to head (a6dee86).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   91.18%   87.59%   -3.60%     
==========================================
  Files           7        7              
  Lines         919      653     -266     
==========================================
- Hits          838      572     -266     
  Misses         81       81              

☔ 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.

@CoMPaTech CoMPaTech merged commit fdebad1 into main Oct 7, 2025
14 of 15 checks passed
@CoMPaTech CoMPaTech deleted the py314 branch October 7, 2025 20:28
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