Commit Graph

8 Commits

Author SHA1 Message Date
Andreas Jaeger 6bb7b82275 Update docs building, cleanup
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
2020-05-03 11:41:00 +02:00
pengyuesheng 599a7c392d Updated from global requirements
--

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
2020-04-29 14:03:36 +00:00
Ghanshyam 0655f1a2cb [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

magnum-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I58baf3f7361468de98fc43a1aed036af9c4e5051
2020-01-23 15:54:57 -06:00
Jake Yip c27242a022 Cap sphinx on py2
Fix the test-requirements.txt which was broken by
https://review.opendev.org/657890 adding a cap on Sphinx on Python 2.

Change-Id: I1971495e9ebcebfd5950da4da17b555ddafe56c4
2019-05-20 23:38:28 +00:00
inspurericzhang 9314b7f6fb Update hacking version to latest
Change-Id: I522dd224e9d407f51d5ba2d654cafef36fdba18c
2019-01-09 10:15:11 +08:00
Vu Cong Tuan f69ba5b7c6 Switch to stestr
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
2018-07-24 15:27:32 +07:00
Chandan Kumar 4f8af5f2f8 Refactored magnum tempest plugin
* 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
2017-12-11 18:35:24 +05:30
Chandan Kumar ba5a104754 Apply cookiecutter to newly split project
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
2017-09-06 16:04:40 +05:30