Commit Graph

14 Commits (master)

Author SHA1 Message Date
HeroicHitesh 1e3b5a1cd4 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore, tox.ini and test-requirements.txt files accordingly
* Use py3 as the default runtime for tox

Signed-off-by: HeroicHitesh <>
Change-Id: Ibeb39fd9293ad037b038857507eeb498856036e3
2021-11-17 16:53:42 -05:00
Hervé Beraud ad31a40211 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].
Removed 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.


Change-Id: I9b10cd04a98d4ec2899962c53bda16ec860b2c4d
2021-01-05 10:53:18 +01:00
Andreas Jaeger cc4338c747 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.

Disable openstackdocs_auto_name to use 'project' variable as name.

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

Change-Id: I29bd46cb0d134f85ab6e8260339a943240a50568
2020-06-03 20:38:58 +02:00
zhangboye fc075f924f Fix hacking min version to 3.0.1
Change-Id: Ic3d68af0db3444c5fbdb22fb52c06fc8aa94eb83
2020-05-22 11:38:16 +08:00
Andreas Jaeger 276d2cf9b6 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- 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 requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Remove babel.cfg, it's not needed
- move basepython into testenv

Change-Id: I4c0e3b9b12c6b46c3b6b6a2f8f96e6996421dd8d
2020-05-03 17:12:48 +02:00
Andreas Jaeger 4f2cac2277 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Change-Id: I03c6ac2aeb96e75af8b689ddd2a412570e2967c8
2020-03-31 13:09:25 +00:00
gujin 583a788cd4 tox: Keeping going with docs
Change-Id: I8351af94c728a26ac3c2d67176c3279348264922
2019-11-03 02:55:08 +08:00
pengyuesheng d155a90890 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: I6e7c0b0ce266d359fc6db595b0201c43b3b40fc3
2019-08-09 15:59:56 +08:00
pengyuesheng 8cff8a664b Blacklist sphinx 2.1.0 (autodoc bug)
See for upstream details

Change-Id: If431fce391f669c483c7fd1efa97bb3b640ed2a1
2019-07-30 17:04:25 +08:00
James Slagle ed7857afb2 Update test-requirements.txt
The py27 job is failing, adding testrepository fixes it.

The pep8 job is failing, updating versions for hacking fixes it.

Change-Id: I59f8015a3609ca362094b63faed5819e27e271c2
Closes-Bug: #1782005
2018-07-17 10:59:46 -04:00
Emilien Macchi 6a9d83d8cd Update test-requirements to work with reno
Change-Id: Id92e056ae4ebb07e38976968b5734a8f3f5fbc0f
2017-12-13 01:42:08 +00:00
Emilien Macchi 0df6e75da7 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the


Change-Id: Iffe8047944add2d8f63cb8031a633c1fe8fff09c
2017-07-06 19:39:47 +00:00
Emilien Macchi 84b39187ae Add reno support
Change-Id: I2d69a6ab7cefe3935c56024234ecda17fa506cb6
2017-01-27 10:58:48 -05:00
Emilien Macchi 917b05d9d6 Basic structure imported from tripleo-image-elements
Imported from tripleo-image-elements, this is the basic structure.

Signed-off-by: Emilien Macchi <>
2014-09-08 18:58:08 -04:00