* Replace .testr.conf by .stestr.conf for migration and update
.gitignore, test-requirements.txt and lower-constraints.txt
files accordingly
* Use py3 as the default runtime for tox and 3.18.0 as the
minversion for tox
* Add a new job, openstack-cover-jobs, to run the coverage in Zuul
Change-Id: If6fa3f2f861d5eb6787743edcc6333e5aacef7d0
pep8 job is failing because the version of flake8
(flake8<2.7.0,>=2.6.0) requested by hacking<1.2.0 is not
compatible with pyflakes>=2.1.1. Therefore the patch increases
the max version of hacking.
Also the patch fixes a few pep8 errors.
Change-Id: Ib9f1cb5a77947cfb1ab28a7f26e97edba007466c
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Iebf119fe20e8767d3d8f088d889eb5a8d38a81b2
1. 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.
2. pbr hasn't need the hook configuration since forever [2]
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
[2] c84876dc0f
Change-Id: I22e930f9876ca29750093a78e4bf3a7d4a479eb9
Python 2 is no longer supported. Python 3 is required.
This patch stops testing with Python 2 and issues the release note.
Change-Id: I7dc416927ea23d581dbee366d54a733ee53498cf
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I1b9cc38fceb099e30c46d8c5f2ac84fbffabaf76
Story: #2002586
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: I059cec653a686413dda48f67eacee41bd3677ddf
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: I214404165597acc35f3b107d462d51bdeef813e3
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: Iaf2172c3bd84e11ba11b9995cce92b5c80eebc33
The python-blazarclient repository has been using the climateclient
namespace.
This patch converts the climateclient namespace to the blazarclient
namespace. Additionally, some classes, methods and variables that
include 'climate' in their name are also changed to 'blazar'.
Change-Id: Ibf900f9a8a7a7bfb0b6b213545b9cbf121ce0df7
Closes-Bug: #1662735
Closes-Bug: #1311746
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-climateclient.
Change-Id: I48d55899c999f56d4a018aff9a10d50c336dd483
The Blazar code base is not yet compatible with Python 3. Having tox
environments for them is a first step towards fixing it.
Change-Id: I2bc764bd57f09ecaa4575628735ff68791b867cd
Move over to the fancy new oslo testing library.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Also removed all openstack/common references throughout codebase.
Change-Id: Ib5c8a1f7a00eae883308fe77ca379dd1e0ea9b6b
Move over to the fancy new oslo i18n library.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Change-Id: I6ec6252b01f04f211602369a6ce6a86bf75e77ad
Move over to the fancy new oslo utils library.
Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.
Deleted files that were no longer used.
Removed reference to lockutils in tox.ini.
Change-Id: I4e588a6cac86d954a5bb2c10e825de88cf06a777
Update hacking version so that it works with newer pbr releases, other
requirements depend on newer pbr and this causes a conflict.
Add pbr to requirements since it's needed.
Add pep8 ignore for those tests that currently fail.
Rename oslo.config to oslo_config in imports.
Change-Id: I23c0afa855be4773a8799d09d1cda011e85367bd
Add oslo modules which we will need for tests implementation. Also
add base class for tests, tox instruction for coverage and changes
to dot files.
Change-Id: Ia105f1e5e088ee91ce4b30149d4721df81d28368