Keep support for Python 3.9

Tenks is used by stable branches of OpenStack projects that are still
using Python 3.9, but dependencies in master upper constraints have
started to drop support for this version [1], since tested runtimes for
2025.2 (Flamingo) target Python 3.10 as a minimum [2].

This replaces support for Python 3.6 which should not be required
anymore (all branches are EOL).

[1] https://review.opendev.org/c/openstack/keystoneauth/+/949008
[2] https://governance.openstack.org/tc/reference/runtimes/2025.2.html

Change-Id: Ib21aff559a334cc0256008d928a1ccb2ed581e5d
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
This commit is contained in:
Pierre Riteau
2025-08-29 09:45:14 +02:00
parent 114cc67a9e
commit 96bdd65623
2 changed files with 6 additions and 4 deletions

View File

@@ -5,6 +5,6 @@ virtualenv_path: "{{ '/'.join([ansible_facts.env['HOME'], 'tenks-venv']) }}"
# The URL of the upper constraints file to pass to pip when installing Python
# packages.
# NOTE: Python 3.6 support dropped in Zed.
# NOTE: The last OpenStack release supporting Python 3.9 is 2025.1 (Epoxy).
python_upper_constraints_url: >-
https://releases.openstack.org/constraints/upper/{% if ansible_facts.python.version.minor <= 6 %}yoga{% else %}master{% endif %}
https://releases.openstack.org/constraints/upper/{% if ansible_facts.python.version.minor < 10 %}2025.1{% else %}master{% endif %}

View File

@@ -8,7 +8,8 @@
check:
jobs:
- openstack-tox-pep8
- openstack-tox-py39
- openstack-tox-py39:
override-checkout: stable/2025.1
- openstack-tox-py310
- openstack-tox-py311
- openstack-tox-py312
@@ -31,7 +32,8 @@
gate:
jobs:
- openstack-tox-pep8
- openstack-tox-py39
- openstack-tox-py39:
override-checkout: stable/2025.1
- openstack-tox-py310
- openstack-tox-py311
- openstack-tox-py312