summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zuul.yaml39
-rw-r--r--setup.cfg1
-rw-r--r--tox.ini9
3 files changed, 16 insertions, 33 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 7916c295dd..9fc2252cc7 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -30,12 +30,12 @@
- ^tox.ini$
- job:
- name: nova-tox-functional-py36
- parent: openstack-tox-functional-py36
+ name: nova-tox-functional-py38
+ parent: openstack-tox-functional-py38
description: |
Run tox-based functional tests for the OpenStack Nova project
- under cPython version 3.6 with Nova specific irrelevant-files list.
- Uses tox with the ``functional-py36`` environment.
+ under cPython version 3.8 with Nova specific irrelevant-files list.
+ Uses tox with the ``functional-py38`` environment.
This job also provides a parent for other projects to run the nova
functional tests on their own changes.
@@ -53,29 +53,7 @@
# explicitly stating the work dir makes this job reusable by other
# projects
zuul_work_dir: src/opendev.org/openstack/nova
- bindep_profile: test py36
- timeout: 3600
-
-- job:
- name: nova-tox-functional-py37
- parent: openstack-tox-functional-py37
- description: |
- Run tox-based functional tests for the OpenStack Nova project
- under cPython version 3.7 with Nova specific irrelevant-files list.
- Uses tox with the ``functional-py37`` environment.
-
- This job also provides a parent for other projects to run the nova
- functional tests on their own changes.
- required-projects:
- # including nova here makes this job reusable by other projects
- - openstack/nova
- - openstack/placement
- irrelevant-files: *functional-irrelevant-files
- vars:
- # explicitly stating the work dir makes this job reusable by other
- # projects
- zuul_work_dir: src/opendev.org/openstack/nova
- bindep_profile: test py37
+ bindep_profile: test py38
timeout: 3600
- job:
@@ -377,7 +355,7 @@
- nova-lvm
- nova-multi-cell
- nova-next
- - nova-tox-functional-py36
+ - nova-tox-functional-py38
- tempest-integrated-compute:
# NOTE(gmann): Policies changes do not need to run all the
# integration test jobs. Running only tempest and grenade
@@ -410,7 +388,7 @@
jobs:
- nova-grenade-multinode
- nova-live-migration
- - nova-tox-functional-py36
+ - nova-tox-functional-py38
- nova-multi-cell
- nova-next
- tempest-integrated-compute:
@@ -452,9 +430,6 @@
irrelevant-files: *dsvm-irrelevant-files
- os-vif-ovs:
irrelevant-files: *dsvm-irrelevant-files
- # NOTE(mriedem): Consider moving nova-tox-functional-py37 to the
- # check and gate queues once it's stable (like openstack-python37-jobs)
- - nova-tox-functional-py37
- devstack-platform-fedora-latest:
irrelevant-files: *dsvm-irrelevant-files
- devstack-platform-fedora-latest-virt-preview:
diff --git a/setup.cfg b/setup.cfg
index 928b36e6b9..c89f1999a4 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -17,6 +17,7 @@ classifier =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
+ Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
diff --git a/tox.ini b/tox.ini
index df9ffbc3b7..214a8c75f5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 3.1.1
-envlist = py37,functional,pep8
+envlist = py38,functional,pep8
# Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
@@ -102,6 +102,13 @@ deps = {[testenv:functional]deps}
commands =
{[testenv:functional]commands}
+[testenv:functional-py38]
+description =
+ Run functional tests using python3.8.
+deps = {[testenv:functional]deps}
+commands =
+ {[testenv:functional]commands}
+
[testenv:api-samples]
setenv =
{[testenv]setenv}