From 34453c976acf651e26aba87d64fcfa6bbe73da9b Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Sun, 5 Apr 2026 19:29:16 +0100 Subject: [PATCH] =?UTF-8?q?Drop=20Python=203.9-3.11,=20add=203.13=20?= =?UTF-8?q?=E2=80=94=20CI=20and=20metadata=20now=20target=203.12=20+=203.1?= =?UTF-8?q?3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python 3.9 is EOL since Oct 2025. Standardize on 3.12 + 3.13 across all repos to match PyAutoBuild and catch forward-compatibility issues early. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/main.yml | 2 +- pyproject.toml | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 27a26830b..e0a89f0f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9, '3.10', '3.11', '3.12'] + python-version: ['3.12', '3.13'] steps: - name: Checkout PyAutoConf uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml index 8833edc85..f1b25f962 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "Classy Probabilistic Programming" readme = { file = "README.rst", content-type = "text/x-rst" } license = { text = "MIT" } -requires-python = ">=3.9" +requires-python = ">=3.12" authors = [ { name = "James Nightingale", email = "James.Nightingale@newcastle.ac.uk" }, { name = "Richard Hayes", email = "richard@rghsoftware.co.uk" }, @@ -18,10 +18,8 @@ classifiers = [ "Topic :: Scientific/Engineering :: Physics", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12" + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13" ] keywords = ["cli"] dependencies = [