Drop support for py38, py39

Kolla-ansible itself requires ansible-core>=2.16,<2.18,
but ansible-core in this version no longer supports
python38 and python39 as per [1].

So let's just drop this old python support.

[1] https://github.com/ansible/ansible/blob/v2.16.11/setup.cfg

Change-Id: Ic8aaa57f75479a17c215c27ac5e6df0f18c74edc
This commit is contained in:
Michal Arbet 2024-09-16 11:11:11 +02:00
parent 1cf6c3af3b
commit 5ebb151092
3 changed files with 16 additions and 4 deletions

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
Python 3.8, 3.9 support has been dropped. The minimum version of Python now
supported by Kolla Ansible is Python 3.10.

View File

@ -6,7 +6,7 @@ description_file =
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/kolla-ansible/latest/
python_requires = >=3.8
python_requires = >=3.10
license = Apache License, Version 2.0
classifier =
Environment :: OpenStack
@ -18,8 +18,6 @@ classifier =
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

View File

@ -4,13 +4,16 @@
templates:
- check-requirements
- openstack-cover-jobs
- openstack-python3-jobs
- ansible-role-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
- periodic-stable-jobs
check:
jobs:
- openstack-tox-pep8
- openstack-tox-py310
- openstack-tox-py311
- openstack-tox-py312
- kolla-ansible-centos9s
- kolla-ansible-debian
- kolla-ansible-debian-podman
@ -78,6 +81,9 @@
- kolla-ansible-debian-upgrade-aarch64
gate:
jobs:
- openstack-tox-py310
- openstack-tox-py311
- openstack-tox-py312
- kolla-ansible-debian
- kolla-ansible-debian-upgrade
- kolla-ansible-debian-podman
@ -91,6 +97,9 @@
- kolla-ansible-ubuntu-prometheus-opensearch-upgrade
- kolla-ansible-ubuntu-upgrade
- kolla-ansible-ubuntu-podman
post:
jobs:
- publish-openstack-python-branch-tarball
experimental:
jobs:
- kolla-ansible-rocky9-swift-upgrade