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: Ieb1746b1ad7571cb87f5b1e7a6876ce72e6b76c3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
jsonschema was uncapped in the global requirements. We need to uncap it
locally now too.
Change-Id: Ia6ad2c7e62aebc81386610e9d16c8bb8a162d70f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
the OpenStack requirements project has modify version requirement of docutils/oslosphinx.
The link is below
https://review.openstack.org/#/c/418772/
So modify test-requirement like other project
Closes-Bug: #1666149
Change-Id: I145ba596926cac0efab75fb4a1548eea338a2d5a
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: I09ae994782889aae05250a8e5bf9f5b630b2d502
OSC doesn't use this codepath anyway (to my knowledge) and it masks
errors in exceptionally strange ways.
Change-Id: I15ec5aacb037813a98ac9ea8e9504a5d1cc90837
We bump hacking>=0.10.2, and hacking removed some rules, for
the full list of rules please see [1]. So don't need them any more.
Hacking related commits:
Remove H904 in commit b1fe19ebebe47a36b905d709467f5e82521bbd96
Remove H803 in commit f01ce4fd822546cbd52a0aedc49184bddbfe1b10
Remove H307 in commit ec4833b206c23b0b6f9c6b101c70ab925a5e9c67
Remove H305 in commit 8f1fcbdb9aa4fc61349e5e879153c722195b1233
[1]https://github.com/openstack-dev/hacking/blob/master/setup.cfg#L30
Change-Id: I24b82c1913d3d42cc5228b1db700b787623fcdc5
The OpenStack Release team has created a great release notes management
tool that integrates with Sphinx. Start using it. For reference on how
to use it, see http://docs.openstack.org/developer/reno/
Change-Id: I8153ec7861b508297a28a1916771776dee2deafe
These come originally from the shade library, but are helpful for
things like the client libs themselves. Once one has a CloudConfig,
there is really one and only one correct way to get both a session
and a Client.
Change-Id: I1b4d4321828864fddab85a127fbf63f4c8384ab9
In preparation for sharing the default and vendor data with other
projects, potentially even non-python ones, move the data into json
format, which is slighly less exciting to read, but has more widespread
standard library support. The user-facing config file will still be in
yaml format, because that's easier on the eyes and it's expected to be
read and edited by humans.
Continue to accept yaml everywhere, because an end user may have dropped
a yaml config file into a dir somewhere, and that's fine.
Change-Id: I269d31e61da433ac20abb39acdde0f9f9fe12837
The auth parameter name validation requires keystoneclient and can't be
tested if it's not there.
While we're at it - update the current requirements to be inline with
global requirements.
Change-Id: I6da62476f3851670545143184f9f29479f1caaca