Browse Source

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>
changes/30/802330/3
Stephen Finucane 2 months ago
parent
commit
ac07b56336
  1. 2
      .zuul.yaml
  2. 3
      doc/requirements.txt
  3. 11
      setup.cfg
  4. 3
      test-requirements.txt
  5. 4
      tox.ini

2
.zuul.yaml

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

3
doc/requirements.txt

@ -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

11
setup.cfg

@ -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

3
test-requirements.txt

@ -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

4
tox.ini

@ -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

Loading…
Cancel
Save