From 3353d0ec140f3ca1155e008bfdbc6adf670946d0 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Tue, 16 Dec 2025 15:24:58 -0500 Subject: [PATCH] Drop Python 3.9 (EOL) --- .github/workflows/build-linux-wheels.yml | 2 +- .github/workflows/ci-build.yml | 6 ++---- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-linux-wheels.yml b/.github/workflows/build-linux-wheels.yml index 08aaaedd..f76f77a4 100644 --- a/.github/workflows/build-linux-wheels.yml +++ b/.github/workflows/build-linux-wheels.yml @@ -61,7 +61,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-22.04, ubuntu-24.04 ] - python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ] + python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ] architecture: [ 'x64' ] env: diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index fb74169d..a07ba7c0 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -108,7 +108,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-22.04, windows-2022, macos-15-intel, macos-14, windows-11-arm ] - python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ] + python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ] architecture: [ 'x86', 'x64', 'arm64' ] # Exclude x86 configs on non-Windows OSs exclude: @@ -131,16 +131,14 @@ jobs: - os: windows-11-arm architecture: x64 # Only build oldest and newest Pythons on PRs - - python-version: ${{ github.event_name == 'pull_request' && '3.10' }} - python-version: ${{ github.event_name == 'pull_request' && '3.11' }} - python-version: ${{ github.event_name == 'pull_request' && '3.12' }} + - python-version: ${{ github.event_name == 'pull_request' && '3.13' }} # Skip Windows x86 builds on PRs - architecture: ${{ github.event_name == 'pull_request' && 'x86' }} # Only build windows-11-arm on pushes - os: ${{ github.event_name != 'push' && 'windows-11-arm' }} # Python interpreter < 3.11 doesn't exist for Windows 11 ARM - - os: windows-11-arm - python-version: '3.9' - os: windows-11-arm python-version: '3.10' diff --git a/pyproject.toml b/pyproject.toml index 87e189be..93d3f6eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "wxPython" description = "Cross platform GUI toolkit for Python, \"Phoenix\" version" -requires-python = ">= 3.9" +requires-python = ">= 3.10" authors = [ { name = "Robin Dunn", email = "robin@alldunn.com" }, { name = "Scott Talbert", email = "swt@techie.net" }, @@ -31,11 +31,11 @@ classifiers = [ "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", - "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 :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: User Interfaces", ]