Update docs building, cleanup a bit:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
python 3, create doc/requirements.txt
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.
* Move constraints into deps, use TOX_CONSTRAINTS instead of
obsolete UPPER_CONSTRAINTS
* Update to hacking 3.0, fix problems found
Change-Id: I76fe5602928bede439133993b0d85669228f25ed
--
Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Ic9207bb8d3e602dd71cc4c7cefde739130f3d48b
--
Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Ia029f66cfde96d97754e38b5278f1b24081a09e0
--
tox: Keeping going with docs
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
2. Remove the py27 from tox since magnum already drop support python 2.7
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
I6e713b51cf9fac87e696fdfce8156f656a0f1df5
--
Change-Id: I53800a688fae3ba9cc551b0ceffe96938f2df59d
For some reason if sitepackages is enabled, tox does not install
tempest in py2. Do not use sitepackages since we install tempest from
pip anyway.
Change-Id: I7c2fa70e03e6478ddc8d640ca0f117a7b88d2207
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: Ia66a3bc2341f3468cbd7d327af0dd7fab07275d5
Closes-Bug: #1801657
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I70a1bce31c7ca9b40ae84f450386e1a775826ae1
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: I2b8f1127f4203223bdb879171d6a6978b652a27b
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: Iebd624bd0ec71a1bdadf62b7e93853bfb3bfff73
* It provides proper directory structure and cleanup of
magnum tempest plugin tests.
* Added tools/pretty_tox.sh to trigger functional api tests
Change-Id: Ibdddd26da9cfb0d08c2977660320b2c052d7261b
This tempest plugin is being split out of the main magnum project in
accordance with Queens goal "Split Tempest Plugins into Separate
Repos/Projects"[1]. This patch applies the standard boilerplate files
for OpenStack projects so that it can stand on its own.
[1] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html