Drop Python 2.7 support

This is now a Python 3-only package. We must temporarily cap Sphinx at
3.x or lower to get the build passing, but this can be addressed in a
follow-up shortly.

Change-Id: I1923d1dcd92cce349211dee5b01a3c365b151ead
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2021-07-26 16:29:33 +01:00
parent 63fe135f44
commit ac07b56336
5 changed files with 9 additions and 14 deletions

View File

@ -1,5 +1,5 @@
- project:
templates:
- openstack-python-jobs
- openstack-python36-jobs
- openstack-python37-jobs
- openstack-python38-jobs

View File

@ -1,2 +1 @@
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<4.0.0 # BSD

View File

@ -4,17 +4,19 @@ author = Christophe de Vienne
author-email = python-wsme@googlegroups.com
summary = Simplify the writing of REST APIs, and extend them with additional protocols.
description-file = README.rst
url = http://git.openstack.org/cgit/openstack/wsme
url = https://opendev.org/x/wsme
license = MIT
python_requires = >=3.6
classifier =
Development Status :: 3 - Alpha
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
License :: OSI Approved :: MIT License
@ -37,8 +39,3 @@ extra_files =
setup.py
README.rst
tests
[bdist_wheel]
# WSME has different requirements depending on the version of Python
# being used, so we cannot build universal wheels.
universal = 0

View File

@ -1,7 +1,6 @@
transaction
pecan
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<4.0.0 # BSD
Flask
flask-restful
nose

View File

@ -1,7 +1,7 @@
[tox]
minversion = 3.1
envlist = py27,py35,py36,pypy,coverage,pep8
ignore_basepython_conflict = True
envlist = py36,py37,py38,py39,pypy,coverage,pep8
ignore_basepython_conflict = true
[testenv]
basepython = python3