From 632db25246ffc16632491c0efd432b80c5ce9a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 10:31:57 +0200 Subject: [PATCH] Refresh python versions Introduce support of python 3.8 and move tox and jobs to py38. jsonschema 3.2.0 [1] support python 3.8 [1] https://github.com/Julian/jsonschema/pull/627 Change-Id: Ibcfa044dd0f3b29fd290559795ea1d98e194e886 --- .zuul.yaml | 10 +++++----- lower-constraints.txt | 2 +- setup.cfg | 1 + test-requirements.txt | 2 +- tox.ini | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 69819aed7..2777e2eeb 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,8 +1,8 @@ - job: - name: openstacksdk-tox-py36-tips - parent: openstack-tox-py36 + name: openstacksdk-tox-py38-tips + parent: openstack-tox-py38 description: | - Run tox python 36 unittests against master of important libs + Run tox python 38 unittests against master of important libs vars: tox_install_siblings: true zuul_work_dir: src/opendev.org/openstack/openstacksdk @@ -17,10 +17,10 @@ name: openstacksdk-tox-tips check: jobs: - - openstacksdk-tox-py36-tips + - openstacksdk-tox-py38-tips gate: jobs: - - openstacksdk-tox-py36-tips + - openstacksdk-tox-py38-tips - job: name: openstacksdk-functional-devstack-minimum diff --git a/lower-constraints.txt b/lower-constraints.txt index dd0e02353..f643a2712 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -10,7 +10,7 @@ iso8601==0.1.11 jmespath==0.9.0 jsonpatch==1.16 jsonpointer==1.13 -jsonschema==2.6.0 +jsonschema==3.2.0 keystoneauth1==3.18.0 linecache2==1.0.0 mock==3.0.0 diff --git a/setup.cfg b/setup.cfg index 07dd21493..b969c7750 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,7 @@ classifier = Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 python-requires = >=3.5 [files] diff --git a/test-requirements.txt b/test-requirements.txt index 9a347b84f..75ea92bc7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,7 +6,7 @@ hacking>=3.0,<3.1.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 ddt>=1.0.1 # MIT fixtures>=3.0.0 # Apache-2.0/BSD -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT mock>=3.0.0 # BSD prometheus-client>=0.4.2 # Apache-2.0 oslo.config>=6.1.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index e8809b843..8ddc7c2a5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.1 -envlist = pep8,py37 +envlist = pep8,py38 skipsdist = True ignore_basepython_conflict = True