diff --git a/releasenotes/notes/drop-python-38-39-deab0b81006bae48.yaml b/releasenotes/notes/drop-python-38-39-deab0b81006bae48.yaml new file mode 100644 index 00000000..158d764a --- /dev/null +++ b/releasenotes/notes/drop-python-38-39-deab0b81006bae48.yaml @@ -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. diff --git a/setup.cfg b/setup.cfg index 4bb32a0c..bf5050a9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 = diff --git a/tox.ini b/tox.ini index 404e89d2..81a16658 100644 --- a/tox.ini +++ b/tox.ini @@ -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