Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/wallaby branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I8700ff293c06504ab72a27e0d96460ac0a2cab78
When using 0 as the cost, the `create_threshold` method
throws an exception. That happens because 0 (zero) is evaluated
to False. Therefore, we need to change the validation method to
check if the values are None.
Change-Id: Iedd541c0ad16db0d11d6e6de332eddf880af1698
hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new
version with new checks.
bumping the min version for hacking so that any older hacking versions
which auto adopt the new checks are not used.
Change-Id: I5875f1c0261ff6039773d7daf412102f2c02651f
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: Ifdc6cb5adbb2139a2437d220b231c1c61526e648
Sem-Ver: feature
Support for the ``GET /v2/dataframes`` endpoint has been added
to the client. A new ``dataframes get`` CLI command is also available.
Story: 2005890
Task: 36384
Depends-On: https://review.opendev.org/#/c/679636
Change-Id: Idfe93025e0f740906d0f53f33547c7746fc15169
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I8fed95ecb736e0b6d7c4b63a55553de1539139be
These translation sections are not needed anymore, Babel can
generate translation files without them.
Change-Id: I6559348831b9277b70834556adbd9445c5982c79
New theme of docs (Victoria+) respects pygments_style.
Since we starts using Victoria reqs while being on Ussuri,
this patch ensures proper rendering both in Ussuri and Victoria.
Change-Id: If42b2154a5a28f92d89dde9882afa31f01bc5ac3
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I9bf0a8fbb7b4f22aa2f5b5ed0836d11cac27552b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I26f6e1f91faec1ce661ecfe2570c524b64687da9
Sem-Ver: feature
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
Change-Id: I79e3c540b56b024c7d01e4c916cdd79da9000331
This drops python2.7 support for cloudkittyclient. Even if this should be
done between milestone-1 and milestone-2, zuul jobs running on python2 are
currently broken since nova dropped python2.7 support.
Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I7615601540419e45259291a7bfce1cc038c27986
Work items:
* Removed the globale-requirements constraint. Since python-cloudkittyclient
is now part of the global requirements, the upstream requirements
file can't be used anymore.
* Add cliff to docs requirements.
* Change cloudkittyclient namespace names: Having a dot in a namespace
name causes the "autoprogram-cliff" to use the "application mode".
Change-Id: I8020d816b3397550fbcbd42cc14a9861bca7ae80
This improves formatting for HTTP errors. keystoneauth's HttpErrors
are now caught an re-formatted to include the body of the http response.
Work items:
* Introduce the "http_error_formatter" function decorator, which catches
an re-formats keystoneauths HttpErrors.
* Introduce the "format_http_errors" class decorator, which applies the
"http_error_formatter" to all functions of a class.
* Add an "HttpDecoratorMeta" to the "BaseManager" class. This will decorate
all functions of classes inheriting from "BaseManager" with the
"http_error_formatter" decorator.
Change-Id: I6735f1fa8d876a87e2b7d4aaa533d5a32b085735
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: Ie373018aafc05f7ea859a73c55163840dee60b56
A test looking for a regex in an argparse error message is failing when ran
on python3. Since this is now the default python runtime for devstack-based
jobs, this updates the message.
Change-Id: Id3372998715f13f7641d11a4a1d9d16629acfd18
Story: 2006896
Task: 37530
This adds support for the new v2 API rating modules endpoints. Unit tests included.
Change-Id: Ie116c518f30128b49c3991f36101db7535af7db1
Story: 2006572
Task: 36680
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: Ia9a85597ccd963eb69f5e04eb1d28d9346f4c31d
Sem-Ver: feature
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: I6e4f6372ff026a9eb379ee06c683451f58a99976
Story: 2006075
Task: 34812
Support for the ``/v2/dataframes`` endpoint has been added to the client.
A new ``dataframes add`` CLI command is also available.
Change-Id: I7fe9072d7280f251edc865a653a0b9ed2ab26c90
Story: 2005890
Task: 35970
This adds test jobs for the v2 client, in python2 and python3.
Work items:
* Remove the "functional" tox environment and introduce the "functional-v1"
and "functional-v2" environments.
* Add zuul base jobs for python2 and python 3 testing. Two jobs inherit from
each of these new jobs: one for the v1 client and one for the v2 client.
* Add "OS_ENDPOINT" to the list of environment variables forwarded to the
functional test environments in order to ease local testing.
Change-Id: I54a43a1e844e92730afbf87316b9efe73a08d850
create a tox environment for running the unit tests against the lower
bounds of the dependencies.
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: Iae676c4bbd00836cc6dce0f083f7aa308bbfc372
This allows to reset the state of one or several scopes through the API via
the client library and cli tool.
Change-Id: I69ce9a1c2ee0d8a6dd191a39e5c843e0baa1290f
Story: 2005395
Task: 30794
This allows to get a summary through the v2 API endpoint via the client
library and cli tool.
Depends-On: https://review.opendev.org/#/c/660608/
Change-Id: Id63f2419fe3a1eb518a0ffa7ea5fa572b18df651
Story: 2005664
Task: 30960