Commit Graph

49 Commits

Author SHA1 Message Date
Takashi Kajinami 11f5b251de Bump hacking
hacking 3.0.x is too old.

Change-Id: I0ee959e9bf74f95e76ac5d1a58a44d21b7182b63
2024-01-28 17:01:32 +09:00
Hervé Beraud c40f0cc32b Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I95e8d9564cda2e6a06a3f40b0de6991acb07dd4c
2024-01-27 00:26:23 +09:00
Andreas Jaeger d7c3cb9799 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I3062215fcfc2e448e0f29402104496f80945aeee
2020-04-28 07:45:21 +02:00
Pavlo Shchelokovskyy 32c5ad3b06 Comply with Python PTI
as described in
https://governance.openstack.org/tc/reference/pti/python.html
projects should use 'stestr' as unit tests runner.

This patch moves unit and coverage tests to use stestr as test runner
instead of nose.

Change-Id: I8508caa6ea08c5c98b67f34be7f61417df2d7c1e
2018-06-18 14:07:34 +03:00
Nguyen Hai a38a7ecb63 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Remove [build_sphinx] section as described in:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Ief4342133f5b2f094feb9816f154c6d17a2d028e
2018-03-30 00:04:19 +09:00
OpenStack Proposal Bot d7d84676e2 Updated from global requirements
Change-Id: I3450dc743bbb5b6435a6d0dc8948e41af883566b
2018-03-26 04:46:25 +00:00
Zuul edc322ec46 Merge "Cleanup test-requirements" 2018-02-13 03:11:13 +00:00
OpenStack Proposal Bot ca207dae4a Updated from global requirements
Change-Id: If9b7fc7f18fb57f1a3a8a8fc2d8e711a7eed0237
2018-01-27 18:38:58 +00:00
melissaml 8333f29953 Cleanup test-requirements
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)

Change-Id: Iee644bd52b4a0e2cd7157a7cc750e9bdb46686b2
2018-01-16 23:19:19 +08:00
OpenStack Proposal Bot a411366182 Updated from global requirements
Change-Id: I75dfc05f39913530ba5f45ffcd9fc51f13467f73
2017-11-16 11:27:28 +00:00
OpenStack Proposal Bot 05dd0f65cc Updated from global requirements
Change-Id: Ia914aed7f14daee8d99d5cdb01f2e82f7f5f4660
2017-11-01 00:56:00 +00:00
OpenStack Proposal Bot 9714d5b80f Updated from global requirements
Change-Id: Ib289b379a63d5fd2098297f1d65e39cc2549f107
2017-08-24 06:01:03 +00:00
OpenStack Proposal Bot abb1cfa1b2 Updated from global requirements
Change-Id: Ia13fab67a42322f151336b33ef8d97bbf5664dfd
2017-07-27 02:28:37 +00:00
lingyongxu 478b63046b Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I8aad9f2c5f610f8f5241fdddc21ea2a0536d1fd3
2017-07-25 14:44:00 +08:00
OpenStack Proposal Bot 405399f72b Updated from global requirements
Change-Id: I00dd3c98ff7ed55db93b074dae44840e71e15e58
2017-06-27 12:23:02 +00:00
OpenStack Proposal Bot 9004736dbc Updated from global requirements
Change-Id: I541c263b4508dc179fd8819f4e643d78eb93879b
2017-03-03 22:59:45 +00:00
ricolin 8a83838efc [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: Iaf1274dff9e41e562e5180ffdd8f526dca3243d3
2017-03-02 18:09:09 +08:00
wangxiyuan c9db6cc642 Add releasenotes for client
Change-Id: Icf5c7e7048ba9a13f88245d4eee60b8d24ecdc83
2016-12-21 14:12:00 +08:00
OpenStack Proposal Bot 2f0671dff8 Updated from global requirements
Change-Id: Ie78ab1a91323874b9b5fe11e877be17cc868bba2
2016-11-18 21:33:36 +00:00
Thomas Bechtold c22a7ab87e Remove unused openstack-doc-tools from test-requirements.txt
It's not used and pulls in a couple of extra test dependencies.

Change-Id: I393091ce49224de097e32f5553f8895b9d51669d
2016-09-06 14:33:25 +02:00
Jenkins 03fe685473 Merge "Remove discover from test-requirements" 2016-09-01 01:44:59 +00:00
OpenStack Proposal Bot d8e97bedf5 Updated from global requirements
Change-Id: I84f6de65c9a5079a60cccb1dbff3ec1a2f3e76d3
2016-09-01 00:52:37 +00:00
Swapnil Kulkarni (coolsvap) dda8ae7480 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I088cb89457f1a455d28fe7bea818f59fe0c3056b
2016-09-01 00:50:03 +00:00
OpenStack Proposal Bot e0d41b7286 Updated from global requirements
Change-Id: I58298877191a8596920b37a90d0d97a9faa57d41
2016-07-15 01:43:29 +00:00
Dan Prince 0bcc8ea09f Add requests-mock to test-requirements.txt
This resolves an issue running unit tests locally:
  ImportError (No module named requests_mock.contrib)

Change-Id: I030b3024b2866e3fe237b8d372eee87422faf889
Closes-bug: 1602620
2016-07-13 15:24:30 -04:00
Tang Chen cf7425be7e Use osc-lib instead of openstackclient
osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.

So use osc-lib instead of openstackclient.

Change-Id: Ic158ee6d74f73b4629f9f35f6f29e5a4e99b5258
2016-06-24 13:14:33 +08:00
OpenStack Proposal Bot c18c30085b Updated from global requirements
Change-Id: I2fc6ead27adc98dff8c3b15e988123ccbb4109a9
2016-05-17 14:10:33 +00:00
OpenStack Proposal Bot 2bd19bd570 Updated from global requirements
Change-Id: If7cb0cfd1e71abcf2a8567fe856de926897d5eff
2016-02-17 02:09:08 +00:00
OpenStack Proposal Bot 909d0c67e9 Updated from global requirements
Change-Id: I5edbb0a99eaaa7255906e714a394fe670d2910a1
2016-01-19 13:53:11 +00:00
OpenStack Proposal Bot c962a9c344 Updated from global requirements
Change-Id: I7fc8cfb5db2bd6ab702f15bf1ee1494978e12345
2016-01-06 23:19:49 +00:00
Jenkins d80f715edf Merge "Make sure queue create works for cli" 2015-12-18 00:03:51 +00:00
Fei Long Wang 74e29b1b73 Make sure queue create works for cli
This's a regression issue introduced by

I4f2f2f240404b2619ba0ee75a99fecd0ad10040e

Though we support lazy creation for queue, but it doesn't make
sense there's no result after creating the queue explicitly from cli.
So this patch introduces a new parameter named force_create to make
sure make sure the queue create is called each time when it's called
from command line interface.

Closes-Bug: #1517812

Change-Id: I72477f39da27bfa3e2bec3b876152a494b318744
2015-12-18 08:42:26 +13:00
OpenStack Proposal Bot a0b16699e4 Updated from global requirements
Change-Id: I1cd3bef37fa7e143b2e70fbab360dc946c03a126
2015-12-08 11:01:23 +00:00
OpenStack Proposal Bot c5e43aa10e Updated from global requirements
Change-Id: I343dcdb01e4a711c53794ee67ec35eb5f13ee013
2015-12-03 15:08:13 +00:00
Fei Long Wang 22d27d4505 Using clouds.yaml to get the credentials
Change-Id: Ibd1f72ad95515cbfbaef217677c7230662552661
2015-12-03 12:57:22 +13:00
OpenStack Proposal Bot a470f5159c Updated from global requirements
Change-Id: I35e0e85e9dae18c5b6139bc35cba7e3f09f1e9fc
2015-12-01 05:05:56 +00:00
OpenStack Proposal Bot 895aad2152 Updated from global requirements
Change-Id: Ic7e37b2b2da7ca9ccaab6753dba69e784d55b8b0
2015-08-27 23:26:17 +00:00
OpenStack Proposal Bot 8a81c44f14 Updated from global requirements
This change introduces new requirements and fixes new checks by
the `hacking` module.

Change-Id: I3b98d5038c516b3115d7247fa0f4ea1189b33dff
Co-Authored-By: Victoria Martinez de la Cruz <victoria@redhat.com>
2015-08-27 13:19:58 +02:00
OpenStack Proposal Bot e4af42476e Updated from global requirements
Change-Id: I7e527316b8eda102eda0aacb573f0f8f57e5790a
2014-11-18 11:37:13 +00:00
OpenStack Proposal Bot f96c73967f Updated from global requirements
Change-Id: I3e058564c85a96f412cc62f807790972d54177be
2014-10-27 12:21:48 +00:00
Flavio Percoco d8a50610ed Setup developer docs for zaqarclient
Zaqar's client library is lacking of any kind of documentation. This
needs to be fixed, hence this patch. The patch adds the docs'
infrastructure to start writing the required documentation for the
library.

Change-Id: Ife171e352da4ec977202efcb3f1dcf573edcdc27
2014-10-23 22:27:12 +02:00
Jenkins 823ffe0530 Merge "Start adding support for v1.1" 2014-09-16 15:44:50 +00:00
OpenStack Proposal Bot 5dca4b0b24 Updated from global requirements
Change-Id: I7fbc325ad8959038c755df1fbfe197dbc8286e4f
2014-09-11 00:31:28 +00:00
Flavio Percoco 0a125f7bc2 Start adding support for v1.1
This patch adds basic support for the API version 1.1. It basically
re-uses the specs and implementations from v1 since the API hasn't
really changed much.

Future patches will add support for the new methods and other changes.

Partially-Implements blueprint: api-v1.1

Change-Id: I40d02d6c2d3b932725f35204708d79785f59116b
2014-09-09 16:14:06 +02:00
OpenStack Jenkins c24d5114f2 Updated from global requirements
Change-Id: I7e507d79d908c2330741f0ec012053c13c7e0fee
2014-02-23 09:31:38 +00:00
Sascha Peilicke 40d070e277 Sync with global requirements
Change-Id: I838360abff8506682b11cbec82a6237b4956c874
2014-01-16 14:33:10 +01:00
Dirk Mueller 7609d7fcc7 Let Hacking choose the right dependencies on its own
Synchronize hacking with OpenStack requirements alongway.

Change-Id: I4a8f799baf5c747e8d3b7e33c8be5d6dbedc0cff
2014-01-14 10:39:46 +01:00
Brian Curtin cc3ea8613e Remove mox from test-requirements.txt
mox is a test requirement, but isn't being used. mock was recently named
the chosen mocking library, and it's already in use here in
marconiclient.

Change-Id: I24a73d57ad0ccac29db317e0f4e72efdeb8962d8
2013-09-19 16:51:34 -05:00
Alessio Ababilov 5b385d116a Rename requires files to standard names
Rename tools/pip-requires to requirements.txt and
tools/test-requires to test-requirements.txt.
These are standard files, and tools in the
general world are growing intelligence about them.

Fixes: bug #1179008

Change-Id: Iecf14056de51aed75f8ce46c6ef43f3167d7736d
2013-07-10 13:15:38 +03:00