Skip to content

Updating tox#201

Closed
looizao wants to merge 17 commits intomainfrom
feat/update-tox
Closed

Updating tox#201
looizao wants to merge 17 commits intomainfrom
feat/update-tox

Conversation

@looizao
Copy link
Copy Markdown
Contributor

@looizao looizao commented Sep 30, 2025

Summary by Sourcery

Align tox testing environments with Django's official Python support by updating the envlist and adding informative comments.

Build:

  • Refine tox envlist to test Django 4.2 and 5.0 on Python 3.10–3.12 and Django 5.1 on Python 3.10–3.13

Documentation:

  • Add comments in tox.ini to document supported Python version ranges per Django release

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Sep 30, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Refines the tox environment matrix by explicitly defining Python version ranges for each Django release and adjusting the envlist accordingly.

File-Level Changes

Change Details Files
Explicitly define Python version compatibility per Django version
  • Added comments for Django 4.2, 5.0, and 5.1 Python support ranges
  • Updated envlist entries to restrict Python versions accordingly
  • Isolated py313-django51 into its own environment
tox.ini

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@e88ddf7). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #201   +/-   ##
=======================================
  Coverage        ?   93.82%           
=======================================
  Files           ?       19           
  Lines           ?      696           
  Branches        ?       47           
=======================================
  Hits            ?      653           
  Misses          ?       33           
  Partials        ?       10           
Flag Coverage Δ
backend-python-3.10 92.62% <ø> (?)
backend-python-3.11 92.62% <ø> (?)
backend-python-3.12 92.62% <ø> (?)
backend-python-3.13 92.62% <ø> (?)
frontend 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@looizao looizao changed the base branch from feat/update-deps to main September 30, 2025 13:33
@looizao looizao changed the base branch from main to fix/tox-py-dj-versions September 30, 2025 13:49
@looizao looizao changed the base branch from fix/tox-py-dj-versions to main September 30, 2025 14:02
@looizao
Copy link
Copy Markdown
Contributor Author

looizao commented Sep 30, 2025

Will continue the work on another PR

@looizao looizao closed this Sep 30, 2025
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.

3 participants