We don't rely on this ourselves and stestr will bring it in for us.
Change-Id: I51f305ac080c41463081e7039421d238b81f5d95
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints and requirements.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: I81e07cd68e370422675b939863138e23de444eef
Switch to openstackdocstheme 2.2.1 version. Using
this version 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
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I50caba24ba8d458e5061cf412b8f59e3815c58f7
Put these in place as a setup for the new versions of the doc build
jobs. Keep using them from the normal dep list until the jobs are
changed.
While we're here, update the docs env to use sphinx-build instead of
python setup.py build_sphinx. Also add python2.7 to the docs env, since
I accidentally tried building it with my python3 tox and it blew up
substantially.
Change-Id: I0fcc50c4c396758e839c329ce786a6f609bb1342
Add the bandit security scanner to the pep8 job.
Change-Id: I257529cabf0c4de2107783a6758d963ddc887ed9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
cliff is a library that is used outside of OpenStack, too. Having
a build requirement that needs something OpenStack specific makes
life in cases (eg. for downstream packagers) more difficult.
So let's make openstackdocstheme an optional requirement.
Change-Id: I0f94a431be083b8b4baec850b1885ba07b5bf5c2
Drop the use of nose in favor of testrepository. Set up the gitignore
rules for the output files.
Add coverage reporting to test jobs.
Update tox.ini so the default environments make sense so it is possible
to just run "tox" for local development.
Change-Id: Ieeffdde3bb8a1869af01f5be2bc682a1a834ba13
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Move the requirements definitions and documentation files to the
standard places used by other OpenStack projects so our doc publishing
jobs will work.
Remove the todo extension and all todo items from the documentation.
Change-Id: Iea630d827976fe517afacf4e373b3a125efff9c9
Run the tests of some consumers of cliff to ensure that changes
being made do not break the apps or downsteam libraries.
Change-Id: Ifded67608b49044cc6a0832389ad7fe825148a3c