From 0d4083f7927686bcf0b52840dd8393499718f9c6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:51:47 +0200 Subject: [PATCH] Add support for Python 3.13 --- .github/workflows/python-package.yml | 2 +- pyproject.toml | 2 +- setup.py | 1 + tox.ini | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3af1ee5..cd9daad 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: platform: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] runs-on: ${{ matrix.platform }} diff --git a/pyproject.toml b/pyproject.toml index e319856..11f93e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.black] line-length = 120 skip-string-normalization = true -target-version = ['py37', 'py38', 'py39', 'py310', 'py311'] +target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313'] include = '\.pyi?$' [tool.isort] diff --git a/setup.py b/setup.py index 610a715..81e2ca2 100755 --- a/setup.py +++ b/setup.py @@ -182,6 +182,7 @@ def function_three(): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries :: Python Modules", ], extras_require={ diff --git a/tox.ini b/tox.ini index 1930615..513e007 100644 --- a/tox.ini +++ b/tox.ini @@ -11,15 +11,15 @@ # - /usr/local/bin/pypy3 -> /opt/pypy3.6-v7.3.0-osx64/bin/pypy3 envlist = py{37,38,39,310}-wrapt{1.10,1.11,1.12,1.13,1.14} - py{311,312}-wrapt{1.14} + py{311,312,313}-wrapt{1.14} pypy3 docs [testenv] -commands = pytest --cov-report term-missing --cov=deprecated tests/ +commands = pytest --cov-report term-missing --cov=deprecated tests/ {posargs} deps = - py{37,38,39,310,311,312,py3}: PyTest - py{37,38,39,310,311,312,py3}: PyTest-Cov + py{37,38,39,310,311,312,313,py3}: pytest + py{37,38,39,310,311,312,313,py3}: pytest-cov wrapt1.10: wrapt ~= 1.10.0 wrapt1.11: wrapt ~= 1.11.0 wrapt1.12: wrapt ~= 1.12.0