Cleanup py27 support

Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
- Remove py27 stanza from setup.py

Change-Id: I3f517a43fbc1689ac1627a0a7c802dd08a9e2630
This commit is contained in:
Andreas Jaeger 2020-04-10 10:48:35 +02:00
parent 2d4dd7fb7d
commit de768578fc
4 changed files with 4 additions and 24 deletions

View File

@ -2,9 +2,9 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr>=2.0.0
sphinx>=1.5.1,!=1.6.6,!=1.6.7,!=2.1.0;python_version>='3.4' # BSD
sphinx>=1.5.1,!=1.6.6,!=1.6.7,!=2.1.0 # BSD
sphinxcontrib-blockdiag
openstackdocstheme>=1.20.0 # Apache-2.0
openstackdocstheme>=1.32.1 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
testtools>=0.9.34
doc8

View File

@ -11,17 +11,7 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
builders = html
warning-is-error = 1
[wheel]
universal = 1

View File

@ -14,17 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr'],
pbr=True)

View File

@ -8,7 +8,6 @@ ignore_basepython_conflict = True
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
commands =