summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <ltoscano@redhat.com>2019-07-11 21:33:25 +0200
committerLuigi Toscano <ltoscano@redhat.com>2019-07-11 21:33:25 +0200
commit3107b452467537f4eef3d9ecfb5e35d110d19662 (patch)
treeaa331b969a4319f2cb1b21ede03acc8a707b3606
parent30ad1cf26c067745c416b6f010a4ba93859c0ac3 (diff)
downloadpython-saharaclient-3107b452467537f4eef3d9ecfb5e35d110d19662.tar.gz
py3: use the train test template and other updatestrain-em2.3.0
Use the unified unit test Zuul template for train, according the community goal. Also, update the setup.cfg classifiers accordingly. Update the debug test environment. Adding "debug-py36" is enough; if a distribution supports 3.7, the "debug" tox environment can be used. Finally, keep only the most recent environment in the default set executed when calling tox. Story: #2005924 Task: #34244 Change-Id: Iad4a6e933ad416eb67a2f144540fe79e97938bec
-rw-r--r--.zuul.yaml4
-rw-r--r--setup.cfg2
-rw-r--r--tox.ini6
3 files changed, 5 insertions, 7 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 29eb3e5..2ce6102 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -3,9 +3,7 @@
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- - openstack-python35-jobs
- - openstack-python36-jobs
- - openstack-python37-jobs
+ - openstack-python3-train-jobs
- publish-openstack-docs-pti
- check-requirements
- release-notes-jobs-python3
diff --git a/setup.cfg b/setup.cfg
index e5adcad..f86f8a8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -17,8 +17,8 @@ classifier =
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
+ Programming Language :: Python :: 3.7
[global]
setup-hooks = pbr.hooks.setup_hook
diff --git a/tox.ini b/tox.ini
index 62fe647..c1c1104 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py35,py36,py37,pypy,pep8,releasenotes
+envlist = py27,py37,pypy,pep8,releasenotes
minversion = 2.0
skipsdist = True
@@ -27,8 +27,8 @@ commands = oslo_debug_helper -t saharaclient/tests/unit {posargs}
basepython = python2.7
commands = oslo_debug_helper -t saharaclient/tests/unit {posargs}
-[testenv:debug-py35]
-basepython = python3.5
+[testenv:debug-py36]
+basepython = python3.6
commands = oslo_debug_helper -t saharaclient/tests/unit {posargs}
[testenv:cover]