Commit Graph

78 Commits

Author SHA1 Message Date
Takashi Kajinami 5a2c000557 Bump hacking
hacking 3.0.x is too old.

Change-Id: I1fa5bf30150c4d6fa38d4103f652fb6b82963cf3
2024-01-27 23:27:41 +09:00
Stephen Finucane 617a93d0b6 requirements: Bump python-openstackclient version
Allows us to resolve a long-standing TODO by removing
mock in the process.

Change-Id: If9688c121f57822bb17559d8fe580fabf2d08af3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2022-08-17 13:33:51 -07:00
Stephen Finucane 5f56bff001 requirements: Add stestr
We've been using stestr as our test runner du jour for a while now, but
our test-requirements.txt indicated that we were still using os-testr.
Correct this discrepancy.

Change-Id: I52d33028ef646c36ee13e48cdb6128370f2f964d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-08-11 11:22:37 -07:00
Goutham Pacha Ravi 2d4df937d5 Use unittest.mock instead of third party lib
mock was adopted into standard python
in version 3.3 [1]. Since python-manilaclient
no longer supports python2.7, we can use the inbuilt
mock package rather than the third party
lib.

Also fix some issues with imports that
weren't following our import conventions
of grouping imports [3]

[1] https://docs.python.org/3/library/unittest.mock.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-March/013281.html
[3] https://docs.openstack.org/hacking/latest/user/hacking.html#imports

Change-Id: I3e199e1a117ddf7739fce8858694a801a26ed08f
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-06-22 17:26:26 -07:00
Ghanshyam Mann 96ef4f5cf1 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Ibe524fb12fe41de8a825e7b06647afb6c463deba
2020-05-12 19:32:36 -05:00
Andreas Jaeger 7cf94c6527 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix found problems.

Change-Id: I78ee32da2b158abda1ca4438c23c5245dd8849b2
2020-03-30 10:04:29 +00:00
junboli 73315f2a89 Switch to use stestr instead of testr
os-testr has moved over to use stestr instead of testr. While this
is usually compatible with existing settings, there is a warning
that is emitted when .stestr.conf is not present. It is usually
able to fall back to parsing the .testr.conf file, but to be more
correct and to prevent future problems we should update the config.

Change-Id: I10446c539aaf9edd8b52b17776e08c12757def31
Depends-On: I98a296d009e64d6afab02a53bd1af878f78c4321
2018-05-07 22:24:34 +08:00
Nguyen Hai eec6024f10 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

Change-Id: Id830b5206728b102e9da2ede6e894a6375e02e75
2018-03-22 14:50:42 +09:00
Thomas Bechtold a4dadb8bfd Drop unused test-requirement
oslotest is unused so drop it.

Change-Id: I541544b894cea28b68a9365eb6608d9c8c406597
2018-03-21 19:36:55 +00:00
OpenStack Proposal Bot d14ab17a77 Updated from global requirements
Change-Id: I65e908e6a180703b179391e3d01c984f32f29a38
2018-03-21 04:46:30 +00:00
Tom Barron 946993c0b0 add os-testr to test-requirements
Unit tests are failing without it.

Trivial-Fix

Change-Id: Ib11281434ac9c4d33aeb2603f5d65b446b73f5fb
2018-03-20 15:17:00 -04:00
OpenStack Proposal Bot e4ea631550 Updated from global requirements
Change-Id: Iddb491b1fe9e13871a1fa4007fed05636b9ca0db
2018-01-27 18:32:39 +00:00
OpenStack Proposal Bot 0e911fa9fb Updated from global requirements
Change-Id: I8b966981c907b37fb5676fb33995af8e73e3eda9
2017-11-16 11:24:31 +00:00
OpenStack Proposal Bot aba12d2a98 Updated from global requirements
Change-Id: I6ac6d38899d35fc4b5ba5f1a88bc5b778f9d4498
2017-11-15 18:28:50 +00:00
OpenStack Proposal Bot 3623f5137a Updated from global requirements
Change-Id: Ief241cb6334bf49a462d06b67481c1390d90ef53
2017-09-20 03:43:54 +00:00
OpenStack Proposal Bot 72331f0142 Updated from global requirements
Change-Id: I751605fbffc7f04cd2f7f19de7e5aa003771d53f
2017-08-18 11:41:37 +00:00
OpenStack Proposal Bot 6b3fbc71fb Updated from global requirements
Change-Id: Ib7426d55f04b99feb9d95715dff19934eb739042
2017-07-27 19:21:11 +00:00
OpenStack Proposal Bot ce2f74b89b Updated from global requirements
Change-Id: I05193ddfb56d3faa9fd9449636090d31e09d3bf0
2017-07-18 01:56:13 +00:00
Jenkins de87f6378d Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-13 06:24:15 +00:00
luke.li 7378896225 Switch from oslosphinx to openstackdocstheme
Use the new style of setting of openstackdocstheme according to follow.
https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I67b7082d9a21f39cb5b62b753f39dd56f81860cb
2017-07-06 16:27:45 +08:00
OpenStack Proposal Bot 79f5d6fccd Updated from global requirements
Change-Id: I65b5e2c4b0901a6f82e4e131cef38107030a1d5c
2017-06-27 12:21:47 +00:00
OpenStack Proposal Bot a708363e4f Updated from global requirements
Change-Id: Ie36a9e9e8b4468b89fb0ed64f7e1debafb8da672
2017-06-02 22:06:52 +00:00
OpenStack Proposal Bot 3229914644 Updated from global requirements
Change-Id: Id58f8a62a11d8eed3d734edacbfdaf50139378ee
2017-05-23 11:59:18 +00:00
OpenStack Proposal Bot 5d8f5e3324 Updated from global requirements
Change-Id: I520b1312c3be7b48734fd0ae4fc674efe8926e86
2017-05-15 00:54:19 +00:00
OpenStack Proposal Bot 635c9799a6 Updated from global requirements
Change-Id: Ice05af50c80c221fdab51338897ff81fded17829
2017-05-04 13:30:37 +00:00
OpenStack Proposal Bot b8654fcb5e Updated from global requirements
Change-Id: Id1404029f1d758b8c82e29457b809f6d88000a21
2017-03-03 00:04:17 +00:00
Tom Barron eb4b7e77ca Fix gate breakage
It's no longer allowed to use both localrc and local.conf
so our dsvm jobs were failing very early. See:
http://lists.openstack.org/pipermail/openstack-dev/2017-February/112872.html

Adusts hacking test requirements for PBR issue.

Fix functional tests given server changes fixing bug #1664370.

Partial-Bug: #1668848
Closes-Bug: #1669441

Change-Id: Ie14a48b5f174db29bfeac98b28adeeb19292ac22
2017-03-02 12:47:35 -05:00
OpenStack Proposal Bot a58fb5779f Updated from global requirements
Change-Id: I3d0a52552197ee4682dad676202d43ae214ece9e
2017-02-10 05:59:00 +00:00
OpenStack Proposal Bot 490d19e0ee Updated from global requirements
Change-Id: I91ca3d4f1518553b731f79c865752f1ed99195ae
2016-11-06 02:06:56 +00:00
OpenStack Proposal Bot a78a626a5d Updated from global requirements
Change-Id: I181b8565317e98e22035ff0485ad0fc5e648090e
2016-10-27 12:22:19 +00:00
OpenStack Proposal Bot e0574961a6 Updated from global requirements
Change-Id: I2d1f4e4b4a31d58fdca43d6d871b6d851a97e864
2016-10-07 05:36:49 +00:00
Thomas Bechtold 59aaf8c421 Remove ordereddict from test-requirements.txt
It's python 2.6 only and this is no longer supported.

Change-Id: I4c6e6804114dc97bb5895f479b12d338d5938736
2016-08-19 06:59:07 +02:00
OpenStack Proposal Bot 947989952a Updated from global requirements
Change-Id: I2b6081b1e9804e9034cc5307af655c715f8b5c83
2016-07-01 04:24:22 +00:00
OpenStack Proposal Bot 0859cbad41 Updated from global requirements
Change-Id: I5d6deec91aaa252e9cdfff9ce44be71863146f51
2016-06-25 20:26:14 +00:00
Thomas Bechtold 98e2c9e484 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I8b5582919f68faaf71528be4a0fba788e2c647f2
2016-06-10 10:45:49 +02:00
OpenStack Proposal Bot 0468689b2a Updated from global requirements
Change-Id: Ief6e2ce69ef0140d19e79546fc96fb8e732bf45f
2016-05-30 00:39:06 +00:00
Goutham Pacha Ravi 0b9a1dd83d Add support for releasenotes
Create the releasenotes directory and add the requisite
conf.py file to generate python-manilaclient's release notes.

project-config change: I522ba76263a6597026f6dd7b03ec51bb05bfb15a

Change-Id: I6b0fa6016781a252a71649a7cac85f02b0a019e8
2016-05-25 17:45:16 +00:00
OpenStack Proposal Bot 822df93c1e Updated from global requirements
Change-Id: Ic98e0641b694b9937e7e01996aedda3900603d6a
2016-05-10 00:04:58 +00:00
David Sariel cfa9f4b2bc Hacking version update and pep8 issues fix
Updated the version of hacking to match global requirements [1] and
fixed several pep8 issues exposed with the new version.

The list of fixed issues:
    - W292 no newline at end of file
    - H238  old style class declaration

[1] https://github.com/openstack/requirements/blob/master/global-requirements.txt

Change-Id: I2de0d2ed9d6e0a893290053998877ba30093f636
2016-05-08 16:59:26 +03:00
Daniel Gonzalez 9e3d321cdf Replace tempest-lib with tempest.lib
tempest-lib is deprecated, so replace it with tempest.lib.

Change-Id: Ic09aad7ca2dd517e63b6d7f9a7714ef1a2a64f1d
2016-04-28 01:53:07 -05:00
OpenStack Proposal Bot 895f991a8b Updated from global requirements
Change-Id: I632c33ec6cd56d96cbdc068bf7c0b9f14805be03
2016-04-13 12:48:18 +00:00
OpenStack Proposal Bot 7a6ae66a1c Updated from global requirements
Change-Id: I0a5eb94098045d5935ffbac775b1f41cff451c37
2016-02-26 01:53:13 +00:00
OpenStack Proposal Bot 9bd98e6210 Updated from global requirements
Change-Id: I0614c7e2d0bb156cd916156403a8d59af519ff17
2016-02-14 01:14:39 +00:00
OpenStack Proposal Bot 8726bf5dda Updated from global requirements
Change-Id: I66780f945758f9ed9683b5e2f96ec914e8527e59
2016-01-26 23:28:47 +00:00
Jenkins fe7cfcd8aa Merge "Updated from global requirements" 2016-01-15 05:05:06 +00:00
OpenStack Proposal Bot cf8148b853 Updated from global requirements
Change-Id: I415bf8c8e1ae653f670905785548720d844f6209
2016-01-13 15:56:40 +00:00
ting.wang 53e50c04ee Add debug testenv in tox
Once we add debug testenv, we can use "tox -e debug -- --debug"
to debug test cases when tox is running.

Change-Id: Ia52506cfe130b5abd867519337bcaedd589a98d4
2016-01-12 14:44:10 +08:00
OpenStack Proposal Bot f6665c0771 Updated from global requirements
Change-Id: I6ab6665474355fa9ed095be543d9318fc741d710
2016-01-08 06:55:20 +00:00
OpenStack Proposal Bot 31c0ddb99f Updated from global requirements
Change-Id: I83c7dbdff21cd5abc4d8a55a15dffa1a317b0cda
2015-12-15 18:59:57 +00:00
OpenStack Proposal Bot a313b700b9 Updated from global requirements
Change-Id: I346c6fd1a4717ef599f9fdebe263d99a686299ee
2015-12-09 18:18:02 +00:00