Update tox min version to something more contemporary.
Default basepython to python3.
Update dependencies of docs and pdf-docs to include upper-constraints.
Move to stestrs and remote os-test from requirements.
Change-Id: I30313dda1a3f56eff2f54632c46cfbdd03aa3cb7
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Require newer pbr
- Remove install_command, the default is fine
Change-Id: I975a7012c42b8ee2c30d3a33fc63a083738d8007
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: I2fa51a8ae20ace445f270355264675ee5d63c767
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: Id703f49844230c8ee511d63bdf37e2d420488c36
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Since the documentation PTI job config was implemented
in zuul, the local docs builds no longer matched the builds
performed by zuul in terms of treating warnings as errors.
Adds flag to treat warnings as errors, and addresses the
numerous formatting issues that resulted in errors.
In some cases, the footnote no longer made sense to retain
and was as such removed.
Change-Id: Ie80d9c4480507c52fd0f3eee41fd6478e4c5c758
This commit switches the tox command to use ostestr instead of calling
testr through setup.py. The primary advantage here is that it uses the
subunit-trace output filter. ostestr primarily exists as a replacement
for pretty_tox.sh bash scripts which spread like a plague through
OpenStack projects after Nova copied it from Tempest. (although
ostestr also provides some other useful features) Granted ironic-specs
wasn't using that, but this commit makes the switch to enable getting
the subunit-trace output which is generally useful.
Note that this dramatically increases output while running tests.
However, test failures are still at the bottom of the output, so it
shouldn't cause much pain, if any.
Change-Id: I4e0241eea113f994cadf68bdfe647065856d3a6d
The default py27 job ignores the changes to *.rst files. The
linters jobs does not, and it makes more sense to include the
validation we do to the specs in it.
py27 is still left in the list of tox envs so that zuul does not
complain about it missing. It will be removed when we switch py27
to linters in project-config.
Change-Id: Ib14c2a3318dc171be8c8ed8207524ab9774c5ccd
The tox -edocs command do not work with Python3 becauseethe command
depends on a library called "feedformatter" which only supports Python
2 for now.
Partial-Bug: #1669466
Change-Id: Ie087df8843fee228325e88f20b248d96a88862a1
This patch is extending the doc8 check to also look at the .rst files
under the priorities/ directory.
Change-Id: Id9f7671e534c4d7c41dd4526f2134c1a0d566bf4
This uses the doc8 style checker to check that the documents
conform to certain requirements, as documented at
https://pypi.python.org/pypi/doc8.
In particular, we no longer need to check for these in our test code
since they are checked via doc8:
- lines don't exceed 79 chars
- there are no trailing spaces
- there are no carriage returns
Some existing specs were modified because they had tabs or no newlines
at the end of the file.
Change-Id: If27281c7efd60c9f15ca07c723dd94a7d086c325
This imports the structure, unit tests, and template from nova-specs, creating
a functional specs repository without any approved specs.
Some modifications were made to the template to make it more applicable to
Ironic, eg. by adding sections and comments to existing sections where relevant
to bare metal provisioning.
Change-Id: I0b1ccd4a283d1c670a6ce497677dea8f47457f00