From 0453abbae3bf53150d52850edd0ef38f3074af58 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Wed, 24 Jun 2026 12:23:08 +0200 Subject: [PATCH 1/2] ci: drop python 3.9 and 3.10, require 3.11+ Python 3.9 is end of life since October 2025. Drop 3.10 at the same time so the minimum is 3.11. Remove 3.9 and 3.10 from the GitHub matrix and the GitLab unit-test jobs (x86 and arm64). Bump the required version in pyproject.toml, the rpm spec, and the Debian control file. Signed-off-by: Anders Roxell --- .github/workflows/ci.yml | 4 ++-- .gitlab-ci.yml | 16 ---------------- debian/control | 2 +- pyproject.toml | 2 +- tuxlava.spec | 2 +- 5 files changed, 5 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a029bc..4529a87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -57,7 +57,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c1df11..1144612 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,14 +132,6 @@ docker-arm64: - pip install -r requirements-dev.txt - make test -unit-tests-python3.9: - extends: .unit-tests - image: registry.gitlab.com/linaro/tuxlava:ci-python-3.9 - -unit-tests-python3.10: - extends: .unit-tests - image: registry.gitlab.com/linaro/tuxlava:ci-python-3.10 - unit-tests-python3.11: extends: .unit-tests image: registry.gitlab.com/linaro/tuxlava:ci-python-3.11 @@ -152,14 +144,6 @@ unit-tests-python3.13: extends: .unit-tests image: registry.gitlab.com/linaro/tuxlava:ci-python-3.13 -unit-tests-python3.9-arm64: - extends: [.unit-tests, .arm64] - image: registry.gitlab.com/linaro/tuxlava:ci-python-3.9 - -unit-tests-python3.10-arm64: - extends: [.unit-tests, .arm64] - image: registry.gitlab.com/linaro/tuxlava:ci-python-3.10 - unit-tests-python3.11-arm64: extends: [.unit-tests, .arm64] image: registry.gitlab.com/linaro/tuxlava:ci-python-3.11 diff --git a/debian/control b/debian/control index b4df5e8..8c3b0a8 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Homepage: https://tuxsuite.com/ Package: tuxlava Architecture: all -Depends: python3 (>= 3.9), +Depends: python3 (>= 3.11), python3-attr, python3-requests, python3-yaml, diff --git a/pyproject.toml b/pyproject.toml index 8536b44..d0556e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ maintainers = [ ] readme = "README.md" classifiers = ["License :: OSI Approved :: MIT License"] -requires-python = ">=3.9" +requires-python = ">=3.11" dynamic = ["version", "description"] dependencies = [ "jinja2", diff --git a/tuxlava.spec b/tuxlava.spec index cf15d1b..6d062ac 100644 --- a/tuxlava.spec +++ b/tuxlava.spec @@ -18,7 +18,7 @@ BuildRequires: python3-pytest-cov BuildRequires: python3-pytest-mock BuildRequires: python3-yaml BuildRequires: wget -Requires: python3 >= 3.9 +Requires: python3 >= 3.11 Requires: python3-requests Requires: python3-yaml Requires: python3-jinja2 From c2f77f0cddc181af429c55d208ff55980da00c76 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Wed, 24 Jun 2026 13:41:59 +0200 Subject: [PATCH 2/2] ci: add python 3.14 to the test matrix Python 3.14 is out since October 2025. Add it to the GitHub test matrix so we catch breakage early. The GitLab jobs use prebuilt ci-python images. Add 3.14 there later, once the ci-python-3.14 image exists. Signed-off-by: Anders Roxell --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4529a87..7c2a0b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.11', '3.12', '3.13'] + python-version: ['3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -57,7 +57,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.11', '3.12', '3.13'] + python-version: ['3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5