From f4f54899416108a05883a71c60a0e4060fd4833e Mon Sep 17 00:00:00 2001 From: Rock Storm Date: Sat, 5 Oct 2024 10:12:53 +0200 Subject: [PATCH 1/2] ci: Add support for Python 3.13 on builds wxPython 4.2.2 added support for Python 3.13 and therefore we can now enable builds for it as well. --- .github/workflows/build-wheels.yml | 4 ++-- .github/workflows/test.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index c36c216a1..417c671eb 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -29,9 +29,9 @@ jobs: env: # we only support what's supported by wxPython, therefore we skip: # * PyPy Python implementation - # * Python 3.6, 3.7 and 3.13 versions + # * Python 3.6 and 3.7 versions # * musl C implementation - CIBW_SKIP: "pp* cp36* cp37* cp313* *-musllinux*" + CIBW_SKIP: "pp* cp36* cp37* *-musllinux*" # produce ARM wheels on Linux in addition to 32 and 64 bit CIBW_ARCHS_LINUX: auto aarch64 # produce wheels for macOS to support both Intel and Apple silicon diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8df4bd67..d55583774 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,8 +55,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12", "3.13-dev"] # Unit testing uses functions not available on Python < 3.11 + python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 @@ -65,6 +65,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install Printrun dependencies for unit testing run: | From 427c04e81a189d7da451685e0f09b7b2cb45baa4 Mon Sep 17 00:00:00 2001 From: Rock Storm Date: Sat, 12 Oct 2024 11:30:52 +0200 Subject: [PATCH 2/2] doc: Update supported Python versions --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index fb7c4da78..3040c7c63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,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", "Topic :: Printing", ] dynamic = [ # these variables are dynamically set at `setup.py`