From 5bbb86f7f0d2d36a265bc2e2b9c1e37f5462361b Mon Sep 17 00:00:00 2001 From: Martin Reguly Date: Sun, 13 Oct 2024 19:24:02 +0200 Subject: [PATCH] test python 3.13 support --- .github/workflows/tests.yml | 5 +++-- README.rst | 2 +- pyproject.toml | 1 + tox.ini | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b867e08..8cf0288 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,6 +25,7 @@ jobs: # - ["3.10", "docs"] # disable as readthedocs builds it - ["3.11", "py311"] - ["3.12", "py312"] + - ["3.13", "py313"] runs-on: ubuntu-latest name: ${{ matrix.config[1] }} @@ -79,7 +80,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -111,7 +112,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/README.rst b/README.rst index 370ba27..f0f7c34 100644 --- a/README.rst +++ b/README.rst @@ -169,7 +169,7 @@ you can receive all the latest updates, and switch back to earlier behavior: Version 6 is on `branch main `_. -It is compatible with Python versions 3.8 - 3.12, and PyPy3. +It is compatible with Python versions 3.8 - 3.13, and PyPy3. We expect the ``main`` branch with versions ``6+`` to receive the latest updates and features. Related projects diff --git a/pyproject.toml b/pyproject.toml index af50f84..74d5655 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] diff --git a/tox.ini b/tox.ini index 4f43b51..25ce93b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ # to run for a specific environment, use ``tox -e ENVNAME`` [tox] -envlist = py38,py39,py310,py311,312,pypy3,docs,nopytz +envlist = py38,py39,py310,py311,py312,py313,pypy3,docs,nopytz # Note: the 'docs' env creates a 'build' directory which may interfere in strange ways # with the other environments. You might see this when you run the tests in parallel. # See https://github.com/collective/icalendar/pull/359#issuecomment-1214150269