From 1b9ab5b79dc606457553bd7890fb9bd5ce023389 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Mon, 29 Jun 2026 16:04:09 -0500 Subject: [PATCH] Support Python 3.15 --- .github/workflows/test.yaml | 1 + changelog.d/20260629_160256_kurtmckee_py315.rst | 4 ++++ tox.ini | 10 +++++----- 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 changelog.d/20260629_160256_kurtmckee_py315.rst diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aacbc76..908711c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -41,6 +41,7 @@ jobs: - "3.12" - "3.13" - "3.14" + cpython-beta: "3.15" pypys: - "3.11" tox-skip-environments: diff --git a/changelog.d/20260629_160256_kurtmckee_py315.rst b/changelog.d/20260629_160256_kurtmckee_py315.rst new file mode 100644 index 0000000..1021576 --- /dev/null +++ b/changelog.d/20260629_160256_kurtmckee_py315.rst @@ -0,0 +1,4 @@ +Python support +-------------- + +* Support Python 3.15. diff --git a/tox.ini b/tox.ini index 874bf02..4f9b5ff 100644 --- a/tox.ini +++ b/tox.ini @@ -1,20 +1,20 @@ [tox] envlist = coverage-erase - test-py{3.14, 3.13, 3.12, 3.11, 3.10} + test-py{3.15, 3.14, 3.13, 3.12, 3.11, 3.10} test-pypy{3.11} coverage-combine coverage-report coverage-html build{, -minimum} - mypy-py{3.14, 3.13, 3.12, 3.11, 3.10} + mypy-py{3.15, 3.14, 3.13, 3.12, 3.11, 3.10} docs docs-integrations labels = update=update-{requirements, pre_commit, headers} prep-release=prep-release -[testenv:test-py{3.14, 3.13, 3.12, 3.11, 3.10},test-pypy{3.11}] +[testenv:test-py{3.15, 3.14, 3.13, 3.12, 3.11, 3.10},test-pypy{3.11}] description = Test the project on {py_dot_ver} package = wheel wheel_build_env = build_wheel @@ -41,7 +41,7 @@ commands = description = Combine .coverage* files base = coverage_base depends = - test-py{3.14, 3.13, 3.12, 3.11, 3.10} + test-py{3.15, 3.14, 3.13, 3.12, 3.11, 3.10} test-pypy{3.11} commands = - coverage combine @@ -62,7 +62,7 @@ depends = commands = coverage html --fail-under=0 -[testenv:mypy-py{3.14, 3.13, 3.12, 3.11, 3.10}] +[testenv:mypy-py{3.15, 3.14, 3.13, 3.12, 3.11, 3.10}] description = Test type annotations on Python {py_dot_ver} deps = -r requirements/mypy/requirements.txt extras =