Skip to content

Conversation

@avendesora
Copy link
Owner

@avendesora avendesora commented Aug 12, 2025

Description

Please include a summary of the change and which issue is fixed (if applicable). Please also include relevant motivation and context. List any dependencies that are required for this change.

Checklist:

  • I have read the CONTRIBUTING document.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run pre-commit locally prior to submission and fixed any errors/warnings.
  • I have run tests locally prior to submission and they are passing.
  • I have added necessary documentation (if appropriate).
  • I have updated the README (if appropriate).
  • I have updated the CHANGELOG (if appropriate).
  • I have updated the version number (if appropriate).
  • I have updated the requirements (if appropriate).

Summary by Sourcery

Update project to drop Python 3.8 support and add Python 3.14 support across metadata, CI, configuration, and documentation while bumping the release version to 0.13.1.

Enhancements:

  • Remove Python 3.8 and add Python 3.14 in nox sessions and coverage configuration
  • Set nox default virtual environment backend to uv
  • Bump release version to 0.13.1 in docs and project metadata
  • Update requires-python to ">=3.9" in pyproject.toml

Build:

  • Add Python 3.14 and remove Python 3.8 in pyproject.toml classifiers

CI:

  • Update GitHub Actions and noxfile to run tests on Python 3.9–3.14
  • Adjust coverage session to use Python 3.13

Documentation:

  • Refresh README badge and Sphinx config to reflect supported Python versions
  • Update CHANGELOG with added and removed Python versions

Chores:

  • Update sourcery config Python version to 3.9

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Aug 12, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR standardizes the project’s supported Python versions by dropping 3.8 and adding 3.14 throughout the codebase, updates the release metadata, and tweaks the test runner configuration.

Flow diagram for updated test session Python versions in Nox

flowchart TD
    NoxSession[Nox test session]
    NoxSession -->|Runs tests on| Python39[Python 3.9]
    NoxSession -->|Runs tests on| Python310[Python 3.10]
    NoxSession -->|Runs tests on| Python311[Python 3.11]
    NoxSession -->|Runs tests on| Python312[Python 3.12]
    NoxSession -->|Runs tests on| Python313[Python 3.13]
    NoxSession -->|Runs tests on| Python314[Python 3.14]
Loading

File-Level Changes

Change Details Files
Standardize supported Python versions across configs and docs
  • Removed Python 3.8 references
  • Added Python 3.14 references
  • Updated requires-python constraint to >=3.9
  • Adjusted test matrix in CI and nox sessions
CHANGELOG.md
noxfile.py
.github/workflows/tests.yml
pyproject.toml
README.md
.sourcery.yaml
Bump release version and author copyright
  • Updated release version
  • Extended copyright year
docs/source/conf.py
Adjust nox default backend
  • Set default venv backend to 'uv'
noxfile.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @avendesora - I've reviewed your changes - here's some feedback:

  • The installation guide in docs/source/installation.rst still lists the old Python support and should be updated to match the new >=3.9 requirement.
  • Make sure the project version in pyproject.toml (under tool.flit.metadata) is bumped to match the new release (0.13.1).
  • Consider running the coverage session on the minimum supported Python version (3.9) instead of only on 3.13 to catch compatibility issues early.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The installation guide in docs/source/installation.rst still lists the old Python support and should be updated to match the new >=3.9 requirement.
- Make sure the project version in pyproject.toml (under tool.flit.metadata) is bumped to match the new release (0.13.1).
- Consider running the coverage session on the minimum supported Python version (3.9) instead of only on 3.13 to catch compatibility issues early.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codacy-production
Copy link

codacy-production bot commented Aug 12, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (d47c7ab) 1875 1875 100.00%
Head commit (a007f0b) 1875 (+0) 1875 (+0) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#202) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@avendesora avendesora merged commit 12f4c47 into main Aug 12, 2025
8 of 9 checks passed
@avendesora avendesora deleted the feature/bump-supported-versions branch August 12, 2025 17: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