From 871f1be53b0a15987067707458cf37c7590bbb31 Mon Sep 17 00:00:00 2001 From: Hoolean Date: Mon, 7 Oct 2024 22:28:58 +0100 Subject: [PATCH] Build, test, and show support for Python 3.13 This commit repeats at least some of the steps we took for 3.12: - 9b1dae4765b419778f8721caf9d0a6e05c2758eb - eda6fa5cfbdfaf1d54cf391ed9c86b72288882a2 --- .github/workflows/test.yml | 7 ++++--- .github/workflows/wheels.yml | 2 +- setup.py | 1 + tox.ini | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2cf71c275..a78b8cd75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,13 +35,14 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.11", "3.12"] + # Oldest supported, 'Stable' supported, Newest supported + python-version: ["3.8", "3.12", "3.13"] platform: [ubuntu-latest] include: # Only test on the latest supported stable Python on macOS and Windows. - platform: macos-latest - python-version: 3.11 + python-version: 3.12 - platform: windows-latest - python-version: 3.11 + python-version: 3.12 steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 4b2447e47..614e08537 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -82,7 +82,7 @@ jobs: strategy: matrix: # aarch64 uses qemu so it's slow, build each py version in parallel jobs - python: [38, 39, 310, 311, 312] + python: [38, 39, 310, 311, 312, 313] arch: [aarch64] steps: - uses: actions/checkout@v4 diff --git a/setup.py b/setup.py index 8f1fba4d1..834eebd82 100755 --- a/setup.py +++ b/setup.py @@ -167,6 +167,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 :: 3", "Topic :: Text Processing :: Fonts", "Topic :: Multimedia :: Graphics", diff --git a/tox.ini b/tox.ini index 9a6fce0fa..256fc873a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.0 -envlist = lint, py3{8,9,10,11,12}-cov, htmlcov +envlist = lint, py3{8,9,10,11,12,13}-cov, htmlcov skip_missing_interpreters=true [testenv]