Commit Graph

29 Commits

Author SHA1 Message Date
Hervé Beraud aa10eb7bcb Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I8e91b4b19d6d71e052061074ad927623a2892830
2020-05-26 22:03:14 +02:00
Sean McGinnis bc96c23a9c
Use unittest.mock instead of third party mock
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>
2020-03-13 13:50:53 -05:00
Sean McGinnis c7bb5d65ab Uncap jsonschema
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>
2020-03-13 13:50:14 -05:00
jacky06 81e30a2c2f Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I360c621d313b76bf88e91ff8be9e759d8367c847
2019-03-06 22:18:14 +08:00
OpenStack Proposal Bot fb7006374f
Updated from global requirements
Change-Id: I6f0d1ff2c139d77511937326d0d050135b97e0e2
2018-01-31 11:36:56 -06:00
Monty Taylor 5dbfc60fde
Split docs requirements and update tox.ini
Get ourselves up to date with the latest in PTI hotness.

Change-Id: Ied98273dcfa0b9622d603a8e9a8e2146fb1e081f
2018-01-31 11:34:57 -06:00
OpenStack Proposal Bot eca5f69f11 Updated from global requirements
Change-Id: I760104d4a94f67da4677e1ecf8f47150605d4d33
2017-12-05 03:26:19 +00:00
OpenStack Proposal Bot 94ace709e2 Updated from global requirements
Change-Id: I1bbda934cc65d508f1cece8c5adc714e9f464707
2017-09-16 23:21:20 +00:00
OpenStack Proposal Bot 3fb4fec1d6 Updated from global requirements
Change-Id: I6ecb4e80d2944bf592a2cbd41695643bc49f832d
2017-09-13 13:00:03 +00:00
OpenStack Proposal Bot b5af1ae936 Updated from global requirements
Change-Id: I805c30c0a522c03721a97118594030b9c8dfcd51
2017-08-18 11:39:22 +00:00
OpenStack Proposal Bot 15a83dab9a Updated from global requirements
Change-Id: Iad6eba535f48d0f09e5507db32399623f63a4f88
2017-08-12 11:50:13 +00:00
OpenStack Proposal Bot 1d4c124bb1 Updated from global requirements
Change-Id: I611163aecdc4810e6fd1d7e47e60171d72db0ea3
2017-07-27 20:30:31 +00:00
Dirk Mueller 623593a693 Manually sync with g-r
Change-Id: I4298bb7c2d66632b716b0dbeae64c9dca2b3434d
2017-07-24 21:46:26 +02:00
Doug Hellmann 30c8729f78 switch from oslosphinx to openstackdocstheme
Change-Id: Ie45909df0b5a118d0200a1ee71277f4dbfe41d08
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-22 15:26:16 -04:00
Jenkins 8acef660cd Merge "modify test-requirement according to requirements project" 2017-03-09 14:58:23 +00:00
xhzhf 0a956c1d28 modify test-requirement according to requirements project
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
2017-03-09 11:33:54 +08:00
Jenkins d6908f93a7 Merge "Remove the keystoneclient auth fallback" 2017-03-04 17:10:54 +00:00
ricolin 40c416cbad [Fix gate]Update test requirement
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
2017-03-02 22:27:07 +08:00
Monty Taylor e6755872ad
Remove the keystoneclient auth fallback
OSC doesn't use this codepath anyway (to my knowledge) and it masks
errors in exceptionally strange ways.

Change-Id: I15ec5aacb037813a98ac9ea8e9504a5d1cc90837
2017-02-15 10:30:12 -06:00
Steve Martinelli e2d1008aed Add docutils contraint on 0.13.1 to fix building
See:
http://lists.openstack.org/pipermail/openstack-dev/2016-December/108742.html

Change-Id: Id183b0d3a6339e10f2f1f4a5dc78352d5c3f27ed
2016-12-15 12:34:48 -05:00
Thomas Bechtold 1028f5ad7e Remove discover from test-requirements.txt
discover is only needed for python 2.6 which is
no longer supported.

Change-Id: I8faeb05def94ac4adb2fe870fe141678dbd412ae
2016-04-11 10:31:11 +02:00
LiuNanke cfd29196fe Clean up removed hacking rule from [flake8] ignore lists
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
2016-01-19 21:54:17 +08:00
Monty Taylor 594e31a4c2 Use reno for release notes
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
2015-12-30 13:35:40 -06:00
Monty Taylor a494b31b85 Add methods for getting Session and Client objects
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
2015-11-03 12:01:06 -05:00
Monty Taylor 796bfad22d Use json for in-tree cloud data
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
2015-11-03 10:38:17 -05:00
Monty Taylor 2ac9258563 Add keystoneclient to test-requirements
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
2015-04-11 13:35:59 -04:00
Clint Byrum e483abccbb More comprehensive unit tests for os-client-config
This includes ensuring that yaml of a sane format can be loaded.

Change-Id: I698b3139b7e44f000d2a413d17e79914ef542a22
2015-02-27 11:23:16 -08:00
Monty Taylor 9bbb4f30f4 Remove babel and add pyyaml 2014-09-21 12:20:55 -07:00
Monty Taylor edadf145f3 Initial Cookiecutter Commit. 2014-09-20 16:16:13 -07:00