Drop support for python 3.9 and 3.10

Hibiscus (2026.2) PTI points to 3.11 as lowest version [1].

Make sure relevant jobs are triggered by tox.ini changes.

[1]: https://governance.openstack.org/tc/reference/runtimes/2026.2.html

Change-Id: I5ee2ba55316fbad5dab6d63131950b3242df9314
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
This commit is contained in:
Michal Nasiadka
2026-05-12 06:59:51 +00:00
parent 6cceba34cf
commit 23cdc1c30e
4 changed files with 15 additions and 17 deletions
+9 -3
View File
@@ -40,7 +40,9 @@
Run test for requirements project.
Uses tox with the ``py311-check-uc`` environment.
files: ^upper-constraints.*txt$
files:
- ^upper-constraints.*txt$
- ^tox.ini
vars:
tox_envlist: py311-check-uc
- job:
@@ -50,7 +52,9 @@
Run test for requirements project.
Uses tox with the ``py312-check-uc`` environment.
files: ^upper-constraints.*txt$
files:
- ^upper-constraints.*txt$
- ^tox.ini
vars:
tox_envlist: py312-check-uc
- job:
@@ -60,7 +64,9 @@
Run test for requirements project.
Uses tox with the ``py313-check-uc`` environment.
files: ^upper-constraints.*txt$
files:
- ^upper-constraints.*txt$
- ^tox.ini
vars:
tox_envlist: py313-check-uc
-1
View File
@@ -14,7 +14,6 @@
- requirements-tox-babel
- requirements-tox-bindep:
voting: false
- requirements-tox-py310-check-uc
- requirements-tox-py311-check-uc
- requirements-tox-py312-check-uc
- requirements-tox-py313-check-uc
+1 -3
View File
@@ -11,7 +11,7 @@ authors = [
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.9"
requires-python = ">=3.11"
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Developers",
@@ -19,8 +19,6 @@ classifiers = [
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"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",
+5 -10
View File
@@ -11,12 +11,7 @@ deps =
commands =
stestr run {posargs}
[testenv:py310-check-uc]
basepython = python3.10
skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
[check-uc]
commands = python -m pip install --dry-run -r{toxinidir}/upper-constraints.txt
[testenv:py311-check-uc]
@@ -25,7 +20,7 @@ skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
commands = {[testenv:py310-check-uc]commands}
commands = {[check-uc]commands}
[testenv:py312-check-uc]
basepython = python3.12
@@ -33,7 +28,7 @@ skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
commands = {[testenv:py310-check-uc]commands}
commands = {[check-uc]commands}
[testenv:py313-check-uc]
basepython = python3.13
@@ -41,7 +36,7 @@ skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
commands = {[testenv:py310-check-uc]commands}
commands = {[check-uc]commands}
[testenv:venv]
commands = {posargs}
@@ -54,7 +49,7 @@ description = Regenerates upper-constraints.txt
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = generate-constraints {posargs: -d denylist.txt -r global-requirements.txt -p python3.9 -p python3.10 -p python3.11 -p python3.12 -p python3.13 > upper-constraints.txt}
commands = generate-constraints {posargs: -d denylist.txt -r global-requirements.txt -p python3.11 -p python3.12 -p python3.13 > upper-constraints.txt}
[testenv:validate]
allowlist_externals =