Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Commit b31e536

Browse files
committed
Add support for python 3.8
- Introduce support of python 3.8 [1]. - python 3.8 support only jsonschema 3.2.0 [2] (also supported by py37 & py36) - remove py27 obsolete code [1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria [2] python-jsonschema/jsonschema#627 Change-Id: Iab5d3e2e4f58bc175119029d98b381a33b09b523
1 parent d9695cd commit b31e536

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pbr>=1.6 # Apache-2.0
77
Mako>=0.4.0 # MIT
88
botocore>=1.5.1 # Apache-2.0
99
fixtures>=3.0.0 # Apache-2.0/BSD
10-
jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
10+
jsonschema>=3.2.0 # MIT
1111
keystoneauth1>=2.1.0 # Apache-2.0
1212
oslo.concurrency>=3.5.0 # Apache-2.0
1313
oslo.serialization>=1.10.0 # Apache-2.0

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ name = sahara-tests
33
summary = Sahara tests
44
description-file = README.rst
55
license = Apache Software License
6+
python-requires = >=3.6
67
classifiers =
78
Programming Language :: Python
89
Programming Language :: Python :: 3
9-
Programming Language :: Python :: 3.5
1010
Programming Language :: Python :: 3.6
1111
Programming Language :: Python :: 3.7
12+
Programming Language :: Python :: 3.8
1213
Environment :: OpenStack
1314
Intended Audience :: Information Technology
1415
Intended Audience :: System Administrators

setup.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
1717
import setuptools
1818

19-
# In python < 2.7.4, a lazy loading of package `pbr` will break
20-
# setuptools if some other modules registered functions in `atexit`.
21-
# solution from: http://bugs.python.org/issue15881#msg170215
22-
try:
23-
import multiprocessing # noqa
24-
except ImportError:
25-
pass
26-
2719
setuptools.setup(
2820
setup_requires=['pbr>=1.8'],
2921
pbr=True)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py37,py36,py35,pep8,releasenotes
2+
envlist = py38,py37,py36,pep8,releasenotes
33
minversion = 2.0
44
skipsdist = True
55
# this allows tox to infer the base python from the environment name

0 commit comments

Comments
 (0)