Drop Python 2.7 support

This is now a Python 3-only package.

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 0f3ed67f20
3 changed files with 7 additions and 10 deletions

View File

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

View File

@ -4,17 +4,19 @@ author = Christophe de Vienne
author-email = python-wsme@googlegroups.com author-email = python-wsme@googlegroups.com
summary = Simplify the writing of REST APIs, and extend them with additional protocols. summary = Simplify the writing of REST APIs, and extend them with additional protocols.
description-file = README.rst description-file = README.rst
url = http://git.openstack.org/cgit/openstack/wsme url = https://opendev.org/x/wsme
license = MIT license = MIT
python_requires = >=3.6
classifier = classifier =
Development Status :: 3 - Alpha Development Status :: 3 - Alpha
Operating System :: OS Independent Operating System :: OS Independent
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy Programming Language :: Python :: Implementation :: PyPy
License :: OSI Approved :: MIT License License :: OSI Approved :: MIT License
@ -37,8 +39,3 @@ extra_files =
setup.py setup.py
README.rst README.rst
tests 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,7 @@
[tox] [tox]
minversion = 3.1 minversion = 3.1
envlist = py27,py35,py36,pypy,coverage,pep8 envlist = py36,py37,py38,py39,pypy,coverage,pep8
ignore_basepython_conflict = True ignore_basepython_conflict = true
[testenv] [testenv]
basepython = python3 basepython = python3