Commit Graph

79 Commits

Author SHA1 Message Date
Andreas Jaeger 8054a326d1 Small cleanups
- Remove Babel from requirements, it's not needed for running.
- remove unused file setup.sh
- Update to hacking 3.1.0; fix problems found.
- Remove hacking and friends from lower-constraints, they are not
  needed there at all.

Depends-On: https://review.opendev.org/736382
Change-Id: I8b2a8c06de0282f797fab51d90aeac1ca2eef9c4
2020-06-18 09:43:43 +02:00
Ghanshyam Mann 2be7ebacfc 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: I9adead178db749a857745e2aff5827f0bf04ab4c
2020-05-12 19:33:34 -05:00
Sean McGinnis 8c1ca89062
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: I96f66e103313c5ba4eb9cc04ed1e813ab3fb0532
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:58:55 -05:00
Andreas Jaeger fb2209b9d7 Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: I8ab9c22b3db6ffac3d1946edc6e64cbfcc3b37a4
2020-03-30 17:44:44 +02:00
Andreas Jaeger 787a6ac607 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Change-Id: I5cb9b15a3391bf32bb6e43958f8f6ffbcd6bcf07
2020-03-30 08:19:47 +02:00
Vu Cong Tuan a90ede0d6c Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I9a52c912ef5ad19fe24e9294f573a2770436d5e3
2018-07-13 07:57:12 +07:00
malei c742bfa73b 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
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: Icc5ea5aeafaa517f910620c75f9d401e4fd06b05
2018-04-13 23:25:38 +09:00
Nguyen Hai 921bb218fd Fix incompatible requirement
Fix lower-constraints don't match the lower bounds
in the requirements file(s). It may cause fail in
requirements-check.

A fail example: https://review.openstack.org/#/c/554702/

Reference:
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html

Change-Id: Ic36fe9cb828d1b7cbe1cc7887f009eb2caeebb6c
2018-04-12 12:45:23 +09:00
OpenStack Proposal Bot 476e350744 Updated from global requirements
Change-Id: I73da69d87e8905737ad52e5d49233969020d0dec
2018-03-23 01:49:28 +00:00
OpenStack Proposal Bot 44ef7bd88d Updated from global requirements
Change-Id: Id22f7494e1cbea925fb3748a8a4eef3cdef450b0
2018-03-15 08:00:26 +00:00
zhurong 50c28a2a30 Add os-testr to test-requirements.txt
Change-Id: I8d76e8b28858350b0afe14d8f8a8602cdfed0142
2018-03-06 10:29:37 +00:00
OpenStack Proposal Bot 06be69a099 Updated from global requirements
Change-Id: I38fe22ab3f28420ed2640c88c10f9b6e94ee6c04
2018-01-24 01:30:39 +00:00
OpenStack Proposal Bot 294480075d Updated from global requirements
Change-Id: Ie654e4ceec62db6e4026c7f05bf9b8e37da24a03
2018-01-18 03:29:46 +00:00
OpenStack Proposal Bot 280e90ba71 Updated from global requirements
Change-Id: Ic9c6a796af9ee9c33b30b0811928717532e54995
2018-01-16 04:31:25 +00:00
OpenStack Proposal Bot d9f935fd43 Updated from global requirements
Change-Id: I1797ed45c454a87a12dfc2f2424f6849f7c8dc56
2017-11-16 11:25:05 +00:00
OpenStack Proposal Bot 3fed287919 Updated from global requirements
Change-Id: Iefa291dd62b03081b222174aac227317187412c9
2017-11-15 18:29:27 +00:00
OpenStack Proposal Bot aee30ad679 Updated from global requirements
Change-Id: I66c727bf003aa22aa61844fbec34e48c99a3384f
2017-09-21 03:49:45 +00:00
OpenStack Proposal Bot 8cff957d51 Updated from global requirements
Change-Id: Ib68c1dbcf2119aee1c4ea9562e6f89883139e5bf
2017-08-18 11:41:51 +00:00
OpenStack Proposal Bot ff3daa0ff0 Updated from global requirements
Change-Id: Iaa8227b7ffee77f6f7894553df444808da7ba7f9
2017-08-18 04:51:52 +00:00
OpenStack Proposal Bot d27da46f40 Updated from global requirements
Change-Id: I66b54b7d9ca8827633a82f7d9d2a0ee2b0a9ff4c
2017-07-27 19:21:24 +00:00
OpenStack Proposal Bot a4cfbcb992 Updated from global requirements
Change-Id: I77eff153481432313a0d9b70c335e1bf720d9485
2017-07-13 14:24:17 +00:00
OpenStack Proposal Bot 2f90eb119d Updated from global requirements
Change-Id: I58a9a989eea1484e905cf934ae7fd57a0157627b
2017-06-27 12:22:01 +00:00
zhurong e98ad87c78 switch to openstackdocstheme
Change-Id: I6e019f7efe7c8bc5680b41e6e09a9ef9174f0a05
2017-06-24 10:15:45 +08:00
OpenStack Proposal Bot cae67a4c1e Updated from global requirements
Change-Id: I9999f835255bd881d8ec4bc697db9b23e84dc76a
2017-06-03 12:57:50 +00:00
OpenStack Proposal Bot e4de9942f7 Updated from global requirements
Change-Id: I652b3be0710efedcaf5cfa65ad1473554b12ab45
2017-05-18 12:54:51 +00:00
OpenStack Proposal Bot cd8ee15761 Updated from global requirements
Change-Id: I40ae3b3f523256e26dc68915b9f21548482c409a
2017-05-15 00:54:31 +00:00
OpenStack Proposal Bot b49e06d596 Updated from global requirements
Change-Id: I8c2b88881a73345c41db40fe16a621a5ef491379
2017-03-06 01:18:37 +00:00
ricolin 3e485d7f13 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
Depends-On: Id77e0cc59f33fdf394e2dc25a9fda0fd13c5b4fa

Change-Id: I084752510b24d07e8f7e0ec83f51795d808be7a0
2017-03-03 04:01:17 +00:00
OpenStack Proposal Bot a6dfb39974 Updated from global requirements
Change-Id: Iec51881af5c99f8afdee60f60a563bd5f8c5c2f4
2017-02-11 17:51:46 +00:00
zhurong 8be8fd8faa Add debug to tox enviroment
We can simply run `tox -e debug <test_name>` to debug test.

Change-Id: Ib5fe98014dc91fa81809f336264856cd0f86e950
2017-01-17 11:09:05 +08:00
OpenStack Proposal Bot c01fbffd3c Updated from global requirements
Change-Id: Ie1eab098a95358ee4389f37a349be6edf25bbf9a
2016-11-06 02:07:03 +00:00
OpenStack Proposal Bot b15fb1a2cc Updated from global requirements
Change-Id: I0bfd36838fa45c07f158a18e8fccf29af840198a
2016-10-22 01:27:15 +00:00
OpenStack Proposal Bot 8cb8003b7e Updated from global requirements
Change-Id: Ie3e6da694d96e5be32a60f3488cd77b1a2b8d43a
2016-09-28 17:00:43 +00:00
OpenStack Proposal Bot 00c21bc27c Updated from global requirements
Change-Id: Id8e0d4dcb4e6364093ad43c032e1da9f786927cb
2016-09-27 10:07:27 +00:00
OpenStack Proposal Bot 96665ae96d Updated from global requirements
Change-Id: I1de56590639ceb0be29f2eedbb207f57245ed523
2016-09-26 04:27:01 +00:00
Swapnil Kulkarni (coolsvap) 517c8b8d76 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I9ba3acda0f37eadf8041633ec3ce0c6307175a3b
2016-07-22 04:06:16 +00:00
OpenStack Proposal Bot 315622722a Updated from global requirements
Change-Id: Ic310b420d1a7b9bd3a397b4f94d691ebdce719d6
2016-07-01 04:24:29 +00:00
Jenkins adb0a90c25 Merge "Use osc-lib instead of openstackclient" 2016-06-24 14:09:24 +00:00
Tang Chen e3a2b68f61 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.

Targets: blueprint openstack-client-plugin-support

Change-Id: I4b998cea5c901436e3934d77f2d3a227eb5d1d9d
2016-06-24 12:49:50 +00:00
OpenStack Proposal Bot 29a882b19c Updated from global requirements
Change-Id: I39c448b93ccc12b463d36e19ddc1f311b5bec403
2016-06-24 03:17:30 +00:00
OpenStack Proposal Bot 2bbf433359 Updated from global requirements
Change-Id: Ifec4d0e4b58c4ae31cae0ff4e1cef799a52c28e9
2016-06-21 18:05:25 +00:00
Jenkins c3489ad6fd Merge "Replace tempest_lib with tempest.lib" 2016-06-17 16:53:11 +00:00
bhagyashris 92cc13d456 Replace tempest_lib with tempest.lib
As the tempest_lib is deprecated and the code has been moved into
tempest. We should use tempest.lib instead of tempest_lib.

Related-Bug: #1589713

Change-Id: I141455236fccfc5deed4b39151a8581cbaa76f0e
2016-06-17 13:52:53 +00:00
OpenStack Proposal Bot 100d0ce956 Updated from global requirements
Change-Id: I7f5439c10426fd0e22bee6a601618cb5c5bdcb3c
2016-06-02 21:11:36 +00:00
OpenStack Proposal Bot 5eb90b3fa7 Updated from global requirements
Change-Id: I92b2def3cbd7e14c22b3a17110ca012d46cf0784
2016-05-26 17:05:12 +00:00
Jenkins 7855de6028 Merge "Move OpenStack client to test-requirements" 2016-05-23 18:14:58 +00:00
OpenStack Proposal Bot 5ae1c25363 Updated from global requirements
Change-Id: Iba5d5d5c2544d43e1152db43491271f0d7172ebf
2016-04-08 00:33:06 +00:00
Oleksii Chuprykov 517feebba5 Move OpenStack client to test-requirements
OpenStack client is not a runtime dependency of muranoclient,
and having it in requirements just brings in many unneeded dependencies.
Move it to test-requirements so unit tests for osc plugin work.

Change-Id: I3365bf8435345a93259aa4320c4507b76836d451
Closes-Bug: #1562023
2016-03-30 16:10:44 +00:00
OpenStack Proposal Bot ee33aa40d4 Updated from global requirements
Change-Id: I80f05e60041fb05a1e85d7e9ed72027c592b466d
2016-02-08 02:43:52 +00:00
OpenStack Proposal Bot 7637e80212 Updated from global requirements
Change-Id: I90a2a50e2a2824314dc5be8686d884b600ca706a
2016-01-16 03:32:15 +00:00