From 6e428e956e3d3f9faae06c1d4340acbf438b983b Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Sun, 1 Dec 2024 17:24:07 -0800 Subject: [PATCH] add python 3.13 support --- .github/workflows/tests.yaml | 7 ++++--- README.md | 2 +- docs/index.rst | 2 +- requirements-test.txt | 7 ++++--- setup.py | 1 + 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ff38c62..53fab48 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,9 +18,10 @@ jobs: fail-fast: false matrix: include: - - { name: Linux, python: "3.12", os: ubuntu-latest, tox: py312 } - - { name: Windows, python: "3.12", os: windows-latest, tox: py312 } - - { name: Mac, python: "3.12", os: macos-latest, tox: py312 } + - { name: Linux, python: "3.13", os: ubuntu-latest, tox: py313 } + - { name: Windows, python: "3.13", os: windows-latest, tox: py313 } + - { name: Mac, python: "3.13", os: macos-latest, tox: py313 } + - { name: "3.12", python: "3.12", os: ubuntu-latest, tox: py312 } - { name: "3.11", python: "3.11", os: ubuntu-latest, tox: py311 } - { name: "3.10", python: "3.10", os: ubuntu-latest, tox: py310 } - { name: "3.9", python: "3.9", os: ubuntu-latest, tox: py39 } diff --git a/README.md b/README.md index 97e2d09..05b667d 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ in the same spirit as — and yet conspicuously missing from — **[Full and extensive docs are available on Read The Docs.][rtd]** See what's new [by checking the CHANGELOG][changelog]. -Boltons is tested against Python 3.7-3.12, as well as PyPy3. +Boltons is tested against Python 3.7-3.13, as well as PyPy3. [stdlib]: https://docs.python.org/3/library/index.html [rtd]: https://boltons.readthedocs.org/en/latest/ diff --git a/docs/index.rst b/docs/index.rst index b8bd036..17c5155 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -68,7 +68,7 @@ consider other integration options. See the :ref:`Integration ` section of the architecture document for more details. -Boltons is tested against Python 3.7-3.12, as well as PyPy3. +Boltons is tested against Python 3.7-3.13, as well as PyPy3. .. _MacPorts: https://ports.macports.org/port/py-boltons/summary diff --git a/requirements-test.txt b/requirements-test.txt index cc1baa7..9ceb60a 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,5 @@ -coverage==6.5.0 -pytest==7.2.0 -pytest-cov==4.0.0 +coverage==7.2.7 +pytest==7.4.4; python_version < "3.8" +pytest==8.3.4; python_version >= "3.8" +pytest-cov==4.1.0 tox==4.8.0 diff --git a/setup.py b/setup.py index 84a00fa..ecdde36 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,7 @@ setup(name='boltons', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ]