From 074699225992ddc75c5e6ae9a8897c9301071bab Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 8 Jun 2022 08:12:05 +0900 Subject: [PATCH] Update python testing as per zed cycle testing runtime In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Add release notes and update the python classifier for the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Co-Authored-By: Ghanshyam Mann Change-Id: Ieec37d300bca0c78f9420657066b1c60a64911e9 --- releasenotes/notes/drop-python-3-6-and-3-7-* | 5 +++++ setup.cfg | 4 +--- tox.ini | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/drop-python-3-6-and-3-7-* diff --git a/releasenotes/notes/drop-python-3-6-and-3-7-* b/releasenotes/notes/drop-python-3-6-and-3-7-* new file mode 100644 index 0000000000..db420d7390 --- /dev/null +++ b/releasenotes/notes/drop-python-3-6-and-3-7-* @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Python 3.6 & 3.7 support has been dropped. The minimum version of Python now + supported is Python 3.8. diff --git a/setup.cfg b/setup.cfg index eeaa0e50a5..038dd0dba1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ description_file = author = OpenStack author_email = openstack-discuss@lists.openstack.org home_page = https://docs.openstack.org/ceilometer/latest/ -python_requires = >=3.6 +python_requires = >=3.8 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -18,8 +18,6 @@ classifier = Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: System :: Monitoring diff --git a/tox.ini b/tox.ini index 529f0ddc16..5fdad24a09 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 3.18.0 skipsdist = True -envlist = py{36,38},pep8,lower-constraints +envlist = py{38,39},pep8,lower-constraints ignore_basepython_conflict=true [testenv]