From eb9554f2b8bec95de82147061ff07cf12e4043cc Mon Sep 17 00:00:00 2001 From: Robert Forkel Date: Thu, 24 Oct 2024 09:25:20 +0200 Subject: [PATCH] run tests on newer pythons --- .github/workflows/python-package.yml | 6 +++--- RELEASING.md | 4 ++-- setup.cfg | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1374242..3dd19c1 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10", "3.11"] + python-version: [3.9, "3.10", 3.11, 3.12] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/RELEASING.md b/RELEASING.md index 59f259e..98337a5 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -5,13 +5,13 @@ Releasing python-newick Clone dlce-eva/python-newick and switch to the master branch. Then: - Do platform test via tox: - ``` + ```shell $ tox -r ``` Make sure statement coverage is at 100% - Make sure flake8 passes:: - ``` + ```shell $ flake8 src ``` diff --git a/setup.cfg b/setup.cfg index 17ce19d..8e96174 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,8 @@ classifiers = Programming Language :: Python :: 3.9 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 License :: OSI Approved :: Apache Software License @@ -82,7 +84,7 @@ source = show_missing = true [tox:tox] -envlist = py38, py39, py310, py311 +envlist = py38, py39, py310, py311, py312, py313 isolated_build = true skip_missing_interpreter = true