This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Fix problems found by sphinx-build
Change-Id: I258ba61fb3c2c5e83e71109dab941e304dde3f76
Move some specs that didn't get completed in Train but which are
being worked on for delivery in ussuri to the appropriate directory,
and set up redirects so that train URLs for the specs will redirect
to the current location.
Change-Id: Ic73f4801b8307ad2a0c9be0f3ab6c12b4019e0e7
OpenStack is dropping the py2.7 support in ussuri cycle.
specs repo has py2 specific requirement which is removed
or tox optimization.
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: I3792543bc58fa21c33c34cf09972a74b9a039208
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: Ibae0008d0a3473311decee198d518f14385a72ff
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: Ia6c3379991095d616f1c57d694a7300ee323ed75
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This patch does two things to clean up gate package requirements,
adding a bindep file and moving packages to the right location.
Bindep controls which system packages are installed. If a project
does not have a bindep.txt file present, the gate jobs will fall
back to a common list of packages. These include things like
mariadb and various clients that are not needed for specs repos.
Added a basic bindep.txt file with just the things we need to
ensure are present for building the docs in specs.
There are also plans to stop looking at requirements.txt for specs
since these repos do not install Python code. The two locations
that are looked at are test-requirements.txt for running included
tests, and doc/requirements.txt for anything needed for doc builds
such as sphinx and plugins.
Change-Id: I3a222d7eec32b0d5ae6ef4ad20b34603931e13d6
Spec repos do not have code to unit test. The gate job definition for
the py27 and py35 jobs skip if there doc only changes, which is all we
will ever have in the specs repo. Therefore the one "test" we had will
never be run.
We were using this unit test as a check for formatting issues with the
rst files. This was done before doc8 was available. Now that we can use
doc8, we should just switch to running that as part of the pep8 jobs.
Also fixes all the errors caught by doc8 that were not caught by our
unit test check.
Change-Id: Ida20764edde3a07c89703d82b41958c96548b239
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: Iec20a052df14c3a6c882012488c36ea3eb0a939a
In hacking >=0.10.0,there is not H803,and in this project there have
not directory openstack/common,so we should delete them to improve
performance!
Change-Id: Ie39175fa16fa488d3e6066df25ebfcaa0a0fc4e2
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.
Activating this check did not flag any violations.
Change-Id: I92383d91de5feffbe587c285655e5df36901b687
This patch does 2 things:
1) it fixes the broken formatting of all of the rst files, so they
render correctly through sphinx
2) Fix tox so that it runs cleanly against the corrected rst files.
Change-Id: I3b3689c61054f051075dc6bc519c02e4c63626f7