Drop support for Python 3.8

We haven't tested this in the gate for some time. While we appear to
still work under 3.8, it goes end-of-life in October 2024 and is holding
us back from adding more, better typing. It's time to let it go.

Change-Id: I0e1cef837febe3baa0dd145640ebc96192c0c915
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/python-openstackclient/+/924493
This commit is contained in:
Stephen Finucane 2024-07-08 17:00:24 +01:00
parent bbc130ed66
commit 48f9639744
3 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Support for Python 3.7 and 3.8 has been dropped. Python 3.7 support was
untested and known to be broken for multiple releases, while Python 3.8
is going EOL in October 2024.

View File

@ -6,7 +6,7 @@ description_file =
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/openstacksdk/
python_requires = >=3.8
python_requires = >=3.9
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@ -15,7 +15,6 @@ classifier =
Operating System :: POSIX :: Linux
Programming Language :: Python
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

@ -23,7 +23,7 @@ commands =
stestr run {posargs}
stestr slowest
[testenv:functional{,-py38,-py39,-py310,-py311,-py312}]
[testenv:functional{-py39,-py310,-py311,-py312}]
description =
Run functional tests.
# Some jobs (especially heat) takes longer, therefore increase default timeout