Browse Source

Cleanup py27 support

This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine

Change-Id: I43c3b5653289753da4fb1d2b6db5b03336b42d67
changes/94/721094/2
Andreas Jaeger 1 year ago
parent
commit
cbfac3096d
3 changed files with 3 additions and 15 deletions
  1. +2
    -2
      requirements.txt
  2. +1
    -12
      setup.cfg
  3. +0
    -1
      tox.ini

+ 2
- 2
requirements.txt View File

@ -1,4 +1,4 @@
pbr>=2.0.0,!=2.1.0 # Apache-2.0
openstackdocstheme>=1.20.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
openstackdocstheme>=2.0.0 # Apache-2.0
sphinx>=2.0.0,!=2.1.0 # BSD
yasfb>=0.5.1

+ 1
- 12
setup.cfg View File

@ -5,20 +5,9 @@ description-file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://git.openstack.org/cgit/openstack/masakari-specs
home-page = https://opendev.org/openstack/masakari-specs
classifier =
Environment :: OpenStack
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[pbr]
warnerrors = True
[upload_sphinx]
upload-dir = doc/build/html

+ 0
- 1
tox.ini View File

@ -8,7 +8,6 @@ basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps =
-r{toxinidir}/requirements.txt


Loading…
Cancel
Save