This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build with warnings enabled, fix
warnings found with autodoc
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version, switch to using apidoc
- Remove install_command from tox.ini, the default is fine
- Change some imports to use python3 changed names
Change-Id: Ibb2e614c7db8a01e41caed8314c1d46479c78295
1.Add Python 3.6 classifier to setup.cfg
2.We already run python3.6 unit tests in CI. Add the py36 environment to
the tox file so that developers with python3.6
Change-Id: I779236a8625a47064ba34e1b0cb865673a5d124f
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets
Change-Id: I97487d0fbe6999047be5ae487ccebea2bcf76def
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I7a5fcd7ae9686cae1ab5f588b4c58ff3533b2e0f
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: If667445fbc389e971a0d471c5a9dd4893a0b0995
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ie17b8fd07604e030e6ea6b9ded75e85794cb881a