From d796fb0103f50bfb4cdd7daf5a05fbd439cb0163 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 21 Nov 2023 16:38:48 +0200 Subject: [PATCH] Add support for Python 3.13 --- .github/workflows/test.yml | 2 +- pyproject.toml | 1 + tox.ini | 10 ++++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de34b4fe..2e18713a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] os: [windows-latest, macos-latest, ubuntu-latest] steps: diff --git a/pyproject.toml b/pyproject.toml index 6c00b06f..431ef31a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,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", "Topic :: Text Processing", diff --git a/tox.ini b/tox.ini index ad218aeb..fa6dd0ce 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ requires = env_list = docs lint - py{py3, 312, 311, 310, 39, 38} + py{py3, 313, 312, 311, 310, 39, 38} [testenv] extras = @@ -12,7 +12,13 @@ extras = pass_env = FORCE_COLOR commands = - {envpython} -m pytest --cov humanize --cov tests --cov-report xml {posargs} + {envpython} -m pytest \ + --cov humanize \ + --cov tests \ + --cov-report html \ + --cov-report term \ + --cov-report xml \ + {posargs} [testenv:docs] deps =