Drop support for Python 3.8, 3.9

Python 3.8 was untested for some time. Python 3.9 is no longer tested
in Flamingo.

We also update our tox.ini to reflect versions we're going to see in the
wild nowadays.

Change-Id: I5a7da653611aaaf761f3290f577b85df5a0e6bb2
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-05-08 12:06:02 +01:00
parent ccaecd325f
commit c39b9bd7fd
3 changed files with 12 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
---
upgrade:
- |
Support for Python 3.8 and Python 3.9 has been removed. The minimum
supported version of Python is now Python 3.10.

View File

@@ -5,8 +5,10 @@ description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/masakari/latest/
url = https://docs.openstack.org/masakari/latest/
python_requires = >=3.10
classifier =
Development Status :: 5 - Production/Stable
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
@@ -14,10 +16,11 @@ 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
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
[files]
data_files =

View File

@@ -1,15 +1,12 @@
[tox]
minversion = 3.18.0
minversion = 4.6.0
envlist = pep8,py3
[testenv]
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
LANGUAGE=en_US
LC_ALL=en_US.utf-8
# TODO(stephenfin): Remove once we bump our upper-constraint to SQLAlchemy 2.0
SQLALCHEMY_WARN_20=1
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt