Commit Graph

16 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
caoyuan d558880e77 Replace git.openstack.org URLs with opendev.org URLs
1. Replace git.openstack.org URLs with opendev.org URLs
2. Update some urls to latest

Change-Id: I802feec03e5c0e93854266c51b596043bf3f4c45
2019-10-13 09:00:29 +00:00
Jake Yip 575b756321 Do not use sitepackages for functional tests
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
2019-05-21 09:33:45 +10:00
Zuul 159b575cb0 Merge "Add python 3.6 unit test job" 2019-01-09 09:27:08 +00:00
qingszhao 041ea927fd fix tox python3 overrides
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
2019-01-09 08:57:43 +00:00
Zuul 92025dfb65 Merge "fix tox python3 overrides" 2019-01-09 08:47:45 +00:00
98k 11d24d9ebb Add python 3.6 unit test job
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
2018-11-09 04:16:42 +00:00
Doug Hellmann f9af7b65d1 fix tox python3 overrides
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>
2018-09-26 18:55:38 -04:00
Jake Yip 81fbaba599 fix typo
tox -e py27 still doesn't work, but this is a start

Change-Id: I7b60570117fad47e44d9074f7766eceffeac544a
2018-08-30 15:51:45 +10:00
Erik Olof Gunnar Andersson cc0647ce1a Switch to stestr and fixing gate
Change-Id: I04097dbb59197a519051f1f5c88f0890ba76c48e
2018-08-12 13:00:55 -07: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
yatin 418c238b59 Add find and bash to whitelist_externals
We are using find and bash in the tox env, this
patch adds them to whitelist_externals.

Change-Id: Ie8a45d9877d734797213507418161b22b1f06c4a
2018-01-08 12:06:56 +05:30
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