From 7fbc3a33b56ae6556bc4a472e77a112f6d314e55 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 15 Apr 2020 12:41:58 -0500 Subject: [PATCH] Switch to py38 and update version metadata As part of Victoria, the highest python version to support is now Python 3.8. See [0] for full details of the expected runtimes to support. This switches over functional testing to use 3.8 and updates the projects metadata to declare 3.8 as a supported runtime. [0] https://governance.openstack.org/tc/reference/runtimes/victoria.html Change-Id: Ica2dade49a65e749acc701bc16127809a7f079d6 Signed-off-by: Sean McGinnis --- .zuul.yaml | 2 +- setup.cfg | 1 + tox.ini | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 2065b7b252d..1708005c695 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -21,7 +21,7 @@ - ^contrib/block-box.*$ - ^doc/.*$ - ^releasenotes/.*$ - - openstack-tox-functional-py37: + - openstack-tox-functional-py38: irrelevant-files: *functional-irrelevant-files - cinder-rally-task: voting: false diff --git a/setup.cfg b/setup.cfg index fae7eb39887..d159b26fe07 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,7 @@ classifier = Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 [files] data_files = diff --git a/tox.ini b/tox.ini index fc0409fb779..b2a2e77ef31 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,8 @@ minversion = 3.1.0 skipsdist = True skip_missing_interpreters = true -# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html -envlist = py37,py36,compliance,pep8 +# python runtimes: https://governance.openstack.org/tc/reference/project-testing-interface.html#tested-runtimes +envlist = py38,py36,compliance,pep8 # this allows tox to infer the base python from the environment name # and override any basepython configured in this file ignore_basepython_conflict=true @@ -56,7 +56,7 @@ setenv = setenv = {[testenv:functional]setenv} -[testenv:functional-py37] +[testenv:functional-py38] setenv = {[testenv:functional]setenv}