diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8128ce8..b0f026b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,8 @@ jobs: - ["3.12", "py312"] - ["3.13", "py313"] - ["3.14", "py314"] - - ["3.14", "linkcheck"] + - ["3.15", "py315"] + - ["3.15", "linkcheck"] runs-on: ${{ matrix.os[1] }} name: ${{ matrix.config[1] }} diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 2fa10be..b2ed2a6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,7 +7,7 @@ version: 2 # Set the OS, Python version and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: "3.14" # Build documentation in the "docs/" directory with Sphinx diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 101fd76..9f608f5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,8 @@ Breaking changes Major changes ............. +- Added support for Python 3.15. [:pull:`146`] + Minor changes ............. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 078e1de..77a4e0c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -87,14 +87,14 @@ To build the documentation and run tests across all supported Python versions, u tox r ``` -To run tests for a specific Python version, use the following command, replacing `py314` with the desired version number. +To run tests for a specific Python version, use the following command, replacing `py315` with the desired version number. ```shell -tox r -e py314 +tox r -e py315 ``` > [!NOTE] -> `py314` is the only tox environment that also runs the link checker. +> `py315` is the only tox environment that also runs the link checker. ## Pull request requirements diff --git a/pyproject.toml b/pyproject.toml index a7a7cf5..386f675 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Documentation", "Topic :: Utilities", ] diff --git a/tox.ini b/tox.ini index 09d7be2..95589f2 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ envlist = py312 py313 py314 + py315 linkcheck [testenv] @@ -21,7 +22,7 @@ commands = [testenv:linkcheck] description = linkcheck -base_python = py314 +base_python = py315 commands = # check links sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs {envtmpdir}/linkcheck