Commit Graph

17 Commits

Author SHA1 Message Date
Hervé Beraud f3692d124f Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I4bbbd504e7be70e1a02b308c5e7b2a761e9d124f
2021-01-07 14:43:08 +01:00
Andreas Jaeger 7752b4c912 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I5ebcd8f2cfa9f44830279679e3d6bcd24212bd93
2020-05-31 19:50:12 +02:00
Ghanshyam Mann 08e45ac2f1 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Iea7d54b523130f0e3b251db0bacd3421ec7f99f6
2020-05-12 19:30:25 -05:00
Zuul e9f69f468b Merge "Update docs building" 2020-04-23 10:53:27 +00:00
Andreas Jaeger e26e00897e Update docs building
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
  python 3
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.

Change-Id: I5678058e43df7e708c7aefd7c06431ab21415e34
2020-04-19 09:51:25 +02:00
Andreas Jaeger 1ddfa88fec Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

The tempest plugin is used on older branches as well.
We really only need hacking on master anyways,
where we no longer support python 2, so here we
make the requirement specific to python 3.

Change-Id: I39f95e4ce193c1435c4901825bed949cdaaba72e
2020-04-04 09:25:09 +02:00
Ghanshyam 34a5bdff42 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-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: I27c82c48541291553141c197cb9c227720cc6dbb
2020-01-24 14:46:04 +00:00
pengyuesheng e8db39351c 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.

Change-Id: I5d405167c73b6e2409d6673e116475c67b18b96e
2019-08-01 10:39:07 +08:00
pengyuesheng 8284146887 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/

Change-Id: Icb34c67de5f3015800650bc50b04eff1b1974c25
2019-07-29 15:06:02 +08:00
poothia 15857dfe91 Update hacking version to 1.1.x
This commit updates hacking version in test-requirements

Change-Id: If88575d4fdb16b2f5f4acc71f750414e4ce423fb
Story: 2004930
Task: 35690
2019-07-05 15:14:53 +05:30
akhiljain23 f3696e3818 Update sphinx version in test-requirement.txt
Update sphinx dependency to avoid gate failure.
Global requirement link [1]

[1] 23ff2adcec/global-requirements.txt (L455)

Change-Id: I619562474501922fd3fa250da0835cc5e3ff42cd
2019-07-01 13:13:04 +00:00
OpenStack Proposal Bot feb520754b Updated from global requirements
Change-Id: Iffc7c3f009e72c08641fc8e612c29df69d6c5fea
2018-03-15 07:13:05 +00:00
OpenStack Proposal Bot e8ca307e97 Updated from global requirements
Change-Id: I3ddbeea184e09620e0fb08f48db340cec4952186
2018-03-13 07:01:39 +00:00
OpenStack Proposal Bot 7ef3ef38a5 Updated from global requirements
Change-Id: Ie45581990e8fbd2616795015df7a45db8389ea93
2018-03-10 13:22:29 +00:00
OpenStack Proposal Bot 8ce398a465 Updated from global requirements
Change-Id: If8016a09e35bade52e294764ad004516934d647d
2018-01-24 01:03:28 +00:00
OpenStack Proposal Bot 46d37727b1 Updated from global requirements
Change-Id: I5937e024a8f46247e1d7ccb854051b82fdf96023
2018-01-22 10:58:34 +00:00
Chandan Kumar f68f2e0925 Apply cookiecutter to newly split project monasca-tempest-plugin
This tempest plugin is being split out of the main monasca 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-12-09 19:00:30 +05:30