From c82266cbb3319a678d264c57cf8ef3f0e0f2d4af Mon Sep 17 00:00:00 2001 From: Maciej Walusiak Date: Thu, 29 Oct 2026 07:06:26 +0100 Subject: [PATCH] Drop Python 3.9 so CI runs on ubuntu-latest again ubuntu-latest now runs Ubuntu 26.04, which has no Python 3.9 build (3.9 reached end-of-life in October 2025), so the 3.9 Ubuntu job fails to set up. Remove 3.9 from the CI matrix and the tox envlist, and raise requires-python, the classifiers and the README to 3.10. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/main.yml | 3 --- README.md | 4 ++-- pyproject.toml | 3 +-- tox.ini | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4434709..9c79eaf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,14 +19,11 @@ jobs: - "windows-latest" - "macos-latest" python: - - "3.9" - "3.10" - "3.11" - "3.12" - "3.13" include: - - python: "3.9" - tox-env: "py39" - python: "3.10" tox-env: "py310" - python: "3.11" diff --git a/README.md b/README.md index 8a629e5..7621316 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Versions of this package up to 1.0.1 were different, unrelated project, that is ### Prerequisites -- Python version 3.9+ +- Python version 3.10+ ### Install package @@ -309,7 +309,7 @@ To setup virtual environments, run tests and linters use: tox ``` -It will create virtual environments with all installed dependencies for each available python interpreter (starting from `python3.9`) on your machine. +It will create virtual environments with all installed dependencies for each available python interpreter (starting from `python3.10`) on your machine. By default, they will be available in `{project}/.tox/` directory. So, for instance, to activate `python3.11` environment, run the following: ```bash diff --git a/pyproject.toml b/pyproject.toml index a18e2c4..7bccbd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,13 +10,12 @@ classifiers = [ "Operating System :: OS Independent", "Topic :: Software Development :: Libraries :: Application Frameworks", "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", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dynamic = ["dependencies"] [project.urls] diff --git a/tox.ini b/tox.ini index b1f64b3..520b0be 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] isolated_build = true envlist = - py{39,310,311,312,313}, + py{310,311,312,313}, pre-commit mypy skip_missing_interpreters = true