Repository navigation
feat(compat): support python 3.15 and pypy 3.12 - #848
Draft
TheKevJames wants to merge 1 commit into
Draft
TheKevJames wants to merge 1 commit into
TheKevJames wants to merge 1 commit into
Conversation
Add Python 3.15 to the CircleCI and GitHub Actions test matrices. Coverage releases before 7.0.2 fail on 3.15 with "This implementation of Python doesn't support code analysis", so the coverage requirement is split at 3.15 and py315 is only tested against coverage v7. The PyPy tox factor is split into pypy311 and pypy312 so each interpreter is selected explicitly; both are tested on CircleCI (via floating pypy:3.1x-slim images, replacing the abandoned 7.3 series pin) and are now also tested on GitHub Actions. We test every PyPy 3.x line included in PyPy's current release which satisfies our requires-python. The published Docker image moves to python:3.15-alpine3.24, with the git pin bumped to match the alpine version the renovate comment already tracked. python:3.15-alpine and python:3.15-alpine3.24 had not yet been published to Docker Hub at the time of writing; the py315 CircleCI job and Docker build depend on them. changelog: Python 3.15 and PyPy 3.12 are now supported. On Python 3.15, ``coverage`` must be at least v7.0.2. The published Docker image now uses Python 3.15.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Python 3.15 and PyPy 3.12 to the CircleCI and GitHub Actions test matrices, and moves the published Docker image to Python 3.15.
>=7.0.2there), andpy315only runs thecov7factor.requires-python. The tox factor is split intopypy311/pypy312, the CircleCI images float onpypy:3.1x-slim(they were pinned to the 7.3 series, which has ended), and GitHub Actions now runs PyPy too.python:3.15-alpine3.24withgit=2.54.0-r0. The renovate repology comment was already tracking alpine 3.24, butFROMand the git pin were still on 3.22.test-py315,test-pypy312,test (3.15),test (pypy3.11)andtest (pypy3.12).Verified locally:
prek run --all-filespasses.py315tox envs pass onpython:3.15-rc-alpine.pypy311/pypy312tox envs pass onpypy:3.11-slim/pypy:3.12-slim(PyPy 8.0.0).uv pip compilerejectscoverage==7.0.1on 3.15 and accepts it on 3.14.python:3.15-rc-alpine3.24.Do not merge yet:
python:3.15-alpineandpython:3.15-alpine3.24aren't on Docker Hub yet, sotest-py315on CircleCI will fail until they're published.