Skip to content

ci: Add Python 3.14 and 3.15 support#1051

Open
Pierre-Sassoulas wants to merge 2 commits into
pytest-dev:masterfrom
Pierre-Sassoulas:add-python-3.14-3.15
Open

ci: Add Python 3.14 and 3.15 support#1051
Pierre-Sassoulas wants to merge 2 commits into
pytest-dev:masterfrom
Pierre-Sassoulas:add-python-3.14-3.15

Conversation

@Pierre-Sassoulas

Copy link
Copy Markdown
Member
  • Add 3.15 trove classifier (3.14 already present)
  • Add 3.14 and 3.15 to tox envlist
  • Add 3.14 and 3.15 to unit, integration and e2e CI matrices
  • Enable allow-prereleases on setup-python so 3.15 pre-releases install
  • Mark 3.15 experimental (continue-on-error) since it is not yet released, so its failures do not block PRs

Pierre-Sassoulas and others added 2 commits July 14, 2026 11:10
- Add 3.15 trove classifier (3.14 already present)
- Add 3.14 and 3.15 to tox envlist
- Add 3.14 and 3.15 to unit, integration and e2e CI matrices
- Enable allow-prereleases on setup-python so 3.15 pre-releases install
- Mark 3.15 experimental (continue-on-error) since it is not yet
  released, so its failures do not block PRs
@Pierre-Sassoulas Pierre-Sassoulas marked this pull request as ready for review July 14, 2026 13:52
Copilot AI review requested due to automatic review settings July 14, 2026 13:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project’s local test configuration (tox) and GitHub Actions CI matrices to add coverage for Python 3.14 and 3.15, with 3.15 intended to be non-blocking while it remains unreleased.

Changes:

  • Added Python 3.14 and 3.15 to tox.ini envlist.
  • Expanded unit/integration/e2e CI matrices to run on Python 3.14 and 3.15.
  • Enabled prerelease installs in setup-python and attempted to mark Python 3.15 as “experimental” via continue-on-error.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
tox.ini Adds 3.14/3.15 tox envs, impacting local and CI test execution targets.
.github/workflows/tests.yml Expands Python matrices and attempts to make 3.15 non-blocking while allowing prerelease installs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tox.ini
Comment on lines 6 to 8
[tox]
envlist = {3.9, 3.10, 3.10-cov, 3.11, 3.12, 3.13, pypy3.9}, docs, linting
envlist = {3.9, 3.10, 3.10-cov, 3.11, 3.12, 3.13, 3.14, 3.15, pypy3.9}, docs, linting
isolated_build = True
Comment on lines +169 to +173
continue-on-error: ${{ matrix.experimental || false }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15", "pypy3.9"]
Comment on lines +244 to +248
continue-on-error: ${{ matrix.experimental || false }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15", "pypy3.9"]
Comment on lines 123 to +126
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Comment on lines 197 to +201
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Comment on lines 270 to +274
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Comment thread tox.ini

[tox]
envlist = {3.9, 3.10, 3.10-cov, 3.11, 3.12, 3.13, pypy3.9}, docs, linting
envlist = {3.9, 3.10, 3.10-cov, 3.11, 3.12, 3.13, 3.14, 3.15, pypy3.9}, docs, linting
Comment on lines +86 to 90
continue-on-error: ${{ matrix.experimental || false }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
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