From 8afd1948331c6bb2519884de9f3eab5251d13fc7 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Tue, 8 Oct 2024 18:30:05 +0545 Subject: [PATCH] ci: run with Python 3.13 (#145) * ci: run with Python 3.13 --- .github/workflows/tests.yml | 5 +++-- noxfile.py | 12 +++++++++++- pyproject.toml | 1 + 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cd25b8f..aed149f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,8 +20,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, windows-latest, macos-latest] - pyv: ['3.8', '3.9', '3.10', '3.11', '3.12'] + os: [ubuntu-latest, windows-latest, macos-latest] + pyv: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] include: - {os: ubuntu-latest, pyv: 'pypy3.8'} @@ -35,6 +35,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.pyv }} + allow-prereleases: true - name: Upgrade pip and nox run: | diff --git a/noxfile.py b/noxfile.py index 843272a..14e5456 100644 --- a/noxfile.py +++ b/noxfile.py @@ -17,7 +17,17 @@ def docs(session: nox.Session) -> None: @nox.session( - python=["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.8", "pypy3.9", "pypy3.10"] + python=[ + "3.8", + "3.9", + "3.10", + "3.11", + "3.12", + "3.13", + "pypy3.8", + "pypy3.9", + "pypy3.10", + ] ) def tests(session: nox.Session) -> None: session.install(".[tests]") diff --git a/pyproject.toml b/pyproject.toml index 7ddc8e9..9aa4ce9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Development Status :: 4 - Beta" ] requires-python = ">=3.8"