Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: I1e3c52de2d0923902d75e850593de320f65612cd
This commit adds a new tox target to build PDF documentation.
It's a part of community goal, see storyboard for more
information.
Change-Id: I58b1fb537c3758bba5a57d3cf7ce4cf10625bd89
Story: 2006076
Task: 34817
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I34c1e80513b3896627144cae1748207d640c6495
This commit adds support for py36 in tox.ini by default. When tox
command is executed by developer it will run py36 tests.
Change-Id: Ifc15cd8913edd9c86ed6196f1393d40d7563429c
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: I56099c2e073fdba3830ae53fa053c2daded8ada0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I65df598a852fdb75cebc0bb49c7aa7a0e7d7ab8c
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I26b56d4e02fc70ab62c2a08afe634367b403738a
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove python-congressclient.
Change-Id: I2cd4172044bdfe1d7549ba603926af45b55cd3aa
As part of the first community-wide goal [1], teams were asked
to remove the openstack/common package of their projects
if one existed. This was a byproduct of the old oslo-incubator
form of syncing common functionality.
- Most of the apiclient package was not actually used in code,
only the exceptions were. So remove most of it.
- Copy the exceptions from apiclient to an existing top level
location.
- Create an i18n module to remove the gettextutils dependency,
this creates a new requirement - oslo.i18n.
- Remove a test (test_base) since it was testing the
functionality of apiclient.base, which was not used in
congressclient.
- General cleanup to other openstack/common references
[1] http://governance.openstack.org/goals/ocata/remove-incubated-oslo-code.html
Change-Id: I2f7f5d2d43e6a5c2e4dfe35266951efb4293093d
Delete python bytecode before every test run.
Because python creates pyc files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.
Change-Id: I21ef6bf79fe5af41d3714e1d990898b267ae1fab
Closes-Bug: #1368661
This commit updates tox.ini to support py27 and py34 versions
which are gate tested and also fixes the issue of
'db type could not determined' thrown while running tox.
Change-Id: I77cb87c6f7ba6eaa609e40e83eb9bdab3b8b0283