From b323606ca213f5e981b349befec602fe86d05263 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 7 Oct 2025 01:58:35 +0200 Subject: [PATCH 1/2] migrate tox configuration to pyproject.toml --- pyproject.toml | 12 ++++++++++++ tox.ini | 10 ---------- 2 files changed, 12 insertions(+), 10 deletions(-) delete mode 100644 tox.ini diff --git a/pyproject.toml b/pyproject.toml index 4ab1dba..91f7673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,3 +40,15 @@ build-backend = "setuptools.build_meta" [tool.pytest.ini_options] markers = [] + + +[tool.tox] +env_list = ["py39", "py310", "py311", "py312", "py313"] + +[tool.tox.env] + +[tool.tox.env.py] +deps = ["pytest", "pytest-benchmark"] +commands = [ + ["pytest", "-v", "-rs", "--benchmark-columns=mean", "--benchmark-sort=name", "--benchmark-group-by=func"] +] diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 824b41c..0000000 --- a/tox.ini +++ /dev/null @@ -1,10 +0,0 @@ -# tox configuration - if you change anything here, run this to verify: tox --recreate - -[tox] -envlist = py{39,310,311,312,313} - -[testenv] -deps = - pytest - pytest-benchmark -commands = pytest -v -rs --benchmark-columns=mean --benchmark-sort=name --benchmark-group-by=func From c38f5955f1b5aa50444876f631ee29031a2f13e9 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 7 Oct 2025 02:03:24 +0200 Subject: [PATCH 2/2] also test on py313 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac6d6d2..551c101 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,9 @@ jobs: - os: ubuntu-22.04 python-version: '3.9' toxenv: py39 + - os: ubuntu-24.04 + python-version: '3.13' + toxenv: py313 env: TOXENV: ${{ matrix.toxenv }}