Skip to content

ci: Python 3.15 stable, 3.16-dev experimental, rows named for the ruleset - #116

Merged
maksimtech merged 2 commits into
mainfrom
ci/python-3.15
Nov 22, 2026
Merged

maksimtech merged 2 commits into
mainfrom
ci/python-3.15

Conversation

@maksimtech

@maksimtech maksimtech commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Step 1 of the alignment to apkradar (#96, part of maksimtech/apkradar#95).

What changes

  • Matrix: 3.11–3.15 stable, 3.16-dev the one experimental row (continue-on-error).
  • Classifiers and README badge: 3.15 added; the badge reads 3.15 | 3.16-dev.
  • Job name: Tests (Python ${{ matrix.python-version }}). Until now the job had none, and the rows reported as test (3.11, false). The summary job's comment is updated to match.
  • New tests/test_python_matrix.py, after apkradar's tests/test_ci_dependencies.py. Nothing tied the matrix to the classifiers before. It checks that:
    • the classifiers and the stable rows are one list;
    • the experimental row is the next minor as -dev, with continue-on-error only there;
    • the job reports under the name the ruleset will require.
  • CHANGELOG: entry under Unreleased → Changed.

The ruleset requires only Tests and Quality today, so the rename removes no required check.

After merge

Once main is green: back up the ruleset, then require Tests (Python 3.11) … Tests (Python 3.15) (not 3.16-dev).

Verified

  • TDD:
    • On today's workflow the new file gave one failure, the job name: the two matrix tests held, since the matrix and the classifiers agreed at 3.14.
    • With the 3.15 classifier added, all three failed.
    • With the workflow change, all three passed.
  • Full suite locally, pytest tests/: 2418 passed, 4 skipped.
    • tests/ collects 2422: the 2418 of main, the 3 new tests, and one more case of test_text_encoding_contract, which runs over every test file.
    • The 2431 of earlier runs included the 17 tests of the top-level benchmarks/.
  • Ruff clean.
  • CI of the first commit: all five stable rows green. On 3.15 every dependency came as a wheel (only patchradar built), 2419 passed, 3 skipped.
  • 3.16-dev is red as allowed, and not at the install: every test errors at setup, because pytest-asyncio 1.5.0 calls asyncio.get_event_loop_policy(), which 3.16 removes. It is fixed in pytest-asyncio 2.0.0a1 (Disable asyncio policy restoration on Python 3.16 pytest-dev/pytest-asyncio#1593), outside our <2.0.0 pin. Both facts are now in the CHANGELOG, and the 2027-05-04 check is Reminder 2027-05-04 (3.16.0b1): check the cffi and pytest-asyncio releases that keep 3.16-dev red apkradar#132.
  • The second commit also corrects the 3.16.0 date in the workflow comment to PEP 826's 2027-10-05.

🤖 Generated with Claude Code

…eset

3.15.0 went final on 2026-10-09: it moves from the experimental row to
the stable matrix, the classifiers and the README badge, and 3.16-dev
becomes the one row allowed to fail, as in apkradar.

Nothing tied the matrix to the classifiers: tests/test_python_matrix.py,
after apkradar's tests, holds the two as one list, the -dev row as the
next minor, and the job name "Tests (Python <version>)" that main's
ruleset will require.

Part of #96 (apkradar#95).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codspeed

codspeed Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 11 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 17 untouched benchmarks


Comparing ci/python-3.15 (3db3b88) with main (6c66ea2)

Open in CodSpeed

@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

… 826

Read from the CI run of #116: on 3.15 every dependency comes as a
wheel; on 3.16-dev the install succeeds and every test errors at setup,
because pytest-asyncio 1.5.0 calls asyncio.get_event_loop_policy(),
removed in 3.16. The workflow comment gave 3.16.0 as 2027-10-06, the
date of release-cycle.json; PEP 826 schedules 2027-10-05.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@maksimtech
maksimtech merged commit 9babb6e into main Nov 22, 2026
23 of 24 checks passed
@maksimtech
maksimtech deleted the ci/python-3.15 branch November 22, 2026 17:02
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.

1 participant