... by the new TOX_CONSTRAINTS_FILE env, according to the changes made
in the OpenStack projects.
This also adds the constraints to the doc target, to avoid issues
caused by too new versions being pulled.
Change-Id: I3e99c1c24032cc3f4bc85ab07c28f830122beed4
Removed the functools partial from being mocked, as it is used
internally in the mocking implementation and generates unit test error.
Updated tox / unit test requirements according to new OpenStack gate
requirements.
Updating the tox requirements added a new set of flakes rules that had
to be skipped for now, which will be addressed in upcoming patches.
Change-Id: I231ca3b15313541e2c43785e80d9db5659aa1cc3
Changed docs theme to a better, mobile friendly one:
https://github.com/readthedocs/sphinx_rtd_theme
The duplicate labels were removed, as the sphinx extension
sphinx.ext.autosectionlabel requires unique titles (labels).
Change-Id: Ife17206c3b2370250388692a9330585f5193e450
Replace build-sphinx job with tox-docs (using template
build-openstack-docs-pti) job as best practice for building docs.
Update tox.ini for this and remove now obsolete section from setup.cfg.
Fix doc building: Remove option from doc/source/conf.py for an unused
directory.
The tox.ini file already contains python3 for releasenotes, update the
job now to do this as well.
Change-Id: I7552c802a99f0338ff6a5a3bba1f24902c55bed4
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: I6a4fb2fbd45b6292ee0222685211081289960726
The openstack-tox-cover job expects a coverage report at the end.
This patch updates the cover environment in tox.ini, bringing it
in line with the other repos.
This also adds stestr in test-requirements, which is needed by the
new coverage env.
Finally, removes the cloudbaseinit import from releasenotes.
According to [1], a project shouldn't necessarely be installed
in order to build its releasenotes.
[1] http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
Change-Id: I77dfe57f1190fc62f7bd19284e2c86d55bb1804a
The pylint target referenced a script that does not exist in the repo,
so obviously this tox target is not used.
This also cleans up an empty [hacking] section since we're cleaning up
tox.ini.
Change-Id: I6fcd1caecd84effdab2f4053821e7cb7933aae7a
If the requirements and test requirements are not pinned,
there can be failures when the pypi repos are updates with packages
that are not backwards compatible.
By using OpenStack's upper requirements, this issue is mitigated.
Change-Id: I96b7f810644c3179979057f7e1f137b12e487f16