Skip to content

Make the Python 3.15 jobs blocking and add the classifier - #673

Open
dyve wants to merge 1 commit into
mainfrom
make-python-315-blocking
Open

dyve wants to merge 1 commit into
mainfrom
make-python-315-blocking

Conversation

@dyve

@dyve dyve commented Dec 3, 2026

Copy link
Copy Markdown
Member

Propagated from zostera/django-marina#703, which is merged.

Why now

MAINTAINING.md sets the trigger:

A Python that is final but that no Django release claims yet stays non-blocking too, and stays out of the classifiers. [...] Wait for a Django release to list it, then make the job blocking and add the classifier in one change.

Django 6.1 now lists Python 3.15. Verified against PyPI metadata:

Django Python classifiers
5.2.19 3.10, 3.11, 3.12, 3.13, 3.14
6.0.10 3.12, 3.13, 3.14
6.1.4 3.12, 3.13, 3.14, 3.15

So the condition the policy waits for has been met, and this is the change it calls for.

What changes

  • ci.yml: drop continue-on-error, so a 3.15 failure now fails the build.
  • pyproject.toml: add the Python :: 3.15 classifier.
  • tox.ini: the comment only — py315-{6.1,main} was already correct.

The excludes are unchanged. 5.2 and 6.0 still do not claim 3.15; only 6.1 and main do. Only their stated reason changes, from "no release claims it yet" to naming the series that do.

Two stale comments corrected

Neither is cosmetic:

  1. The job header still described the legs as non-blocking and told the reader to drop it "once a Django release supports 3.15" — the instruction this PR is carrying out.
  2. The uv sync --python pin claimed it existed because uv skips pre-release interpreters during discovery. 3.15 is final now, so that is no longer the reason. The pin still earns its place — a leg should run on the version the matrix names — so the line stays and the rationale is rewritten rather than the pin removed on a reason that expired.

Verification

  • Both 3.15 legs are already green on this repository's main, so nothing is made blocking on the strength of a hope.
  • Cross-checked all three sources of truth — tox.ini envlist, the ci.yml matrix after excludes, and the classifiers — and they describe the same 15 combinations, matching django-marina.
  • Diffed the result against marina: ci.yml and tox.ini are byte-identical apart from the exceptions PACKAGING.md documents for this package.
  • just lint and just test-cov (100%) pass locally.

🤖 Generated with Claude Code

Propagated from zostera/django-marina#703.

MAINTAINING.md says a final Python that no Django release claims stays
non-blocking and out of the classifiers, and that when a Django release
lists it, the job becomes blocking and the classifier lands in the same
change. Django 6.1 now lists Python 3.15, so that is this change.

Both 3.15 legs are already green on main here, so nothing is being made
blocking on the strength of a hope.

The excludes are unchanged: 5.2 and 6.0 still do not claim 3.15, only
6.1 and main do. Only their stated reason changes, from "no release
claims it yet" to naming the series that do.

Two comments went stale and are corrected rather than left to mislead:
the job header describing the legs as non-blocking, and the claim that
`uv sync --python` is pinned because uv skips pre-release interpreters
during discovery. 3.15 is final now, so that is no longer why. The pin
still earns its place, for the plainer reason that a leg should run on
the version the matrix names.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — make-python-315-blocking into main

This branch has not been deployed

No deployments
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