90 Commits

Author SHA1 Message Date
wu.shiming
b3f609d165 Update doc8 version
doc8 only supports python version less than 3.4

[1] https://pypi.org/project/doc8/0.8.0/

Change-Id: I065a83788bb051c2505ae6ad985b649ecc191f23
2020-12-14 15:27:09 +00:00
Renat Akhmerov
1c44a2b1db Fix constraints
* Due to the recent PIP version update requirements checks are
  now more rigorous. This patch fixes another issue that originally
  started with an incompatibility in the "mistral-lib -> eventlet" and
  the "oslo.service -> eventlet" dependencies, so the version of
  "oslo.service" had to be bumped up. But then it also went on to having
  to bump up versions of "oslo.utils" and "tempest" to avoid conflicts.

Change-Id: Idfc2ae6db344cc788ddf7f0b3883b678af213621
2020-12-14 12:23:08 +07:00
Ghanshyam Mann
c6503b2c79 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: Ic3c5416af0a2a90847e32979d96ed3a531c2e498
2020-05-12 19:28:48 -05:00
Sean McGinnis
545a34c751
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: I6a4524c3e0458747646995615535e85cde2e155f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:54:27 -05:00
Andreas Jaeger
2c99ddc3ef Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, they are not
needed in installations.

Change-Id: Ia4740a1dc343d7a4a303674d9377bc64f6df762b
2020-04-01 20:01:29 +02:00
Eyal
5aa1c70452 Fix requirements
Make sure lower constraints supports python37 (async is a reserved word)

Change-Id: Ic706d7a7ecb28d86bff034a2f9227c63705edcae
2020-02-26 10:12:27 +02:00
Eyal
8bdf341af7 Remove OpenStack actions from mistral
Depends-on: https://review.opendev.org/#/c/703296/
Depends-On: https://review.opendev.org/#/c/704280/
Change-Id: Id62fdabe7699e7c3b2977166e253cfc77779e467
2020-02-26 10:12:01 +02:00
Eyal
a0663305e5 Update hacking and fix warnings
Change-Id: I47a17e140f1686e901c67c034105eeec1c421ae7
2020-01-02 17:18:38 +02:00
ali
7e7f1cb92b moved generic util functions from mistral to mistral-lib
Depends-On: I780c270e4b1a184d7d4dcc580d23697ba75edab1
Closes-bug: #1815183
Change-Id: I5a1d402baa3f69c37f9347c8b3d02a83b8f60423
2019-09-13 04:06:27 +00:00
Eyal
d8a127abe2 Upgrade hacking
Added some pep exclusion to tox
Change in test the import from pep8 to pycodestyle
needed by the new version of hacking

Change-Id: I61fca207f375f3d43241da59d7c9213ac9401a21
2019-08-06 15:49:13 +03:00
Hervé Beraud
831162ac0a Constraint networkx to <2.3 for Python 2
NetworkX released 2.3, dropping support for Python 2.

 https://github.com/networkx/networkx/blob/master/doc/news.rst

 Also see I0a9700926c9a0db93e782c853c33f1aaee3d4876

 fixed sphinx requirements also according to global requirements
 
 jsonschema should be uncaped also according to global requirements
 but there are conflicts with zakarclient designateclient and irconicclient
 
 so for now I put it in remark

Change-Id: Iea3dbcfa1f6ddf2c413ede5e73fa076c6edccfdf
2019-05-23 09:10:07 +00:00
Brad P. Crochet
0085d08baa Stop using deprecated keystone_authtoken/auth_uri
keystone_authtoken/auth_uri is deprecated [1]. Use www_authenticate_uri
instead.

keystonemiddleware in requirements and lower constraints should be increased
because www_authenticate_uri was introduced in keystonemiddleware 4.18.0.

[1] https://review.openstack.org/#/c/508522/

Change-Id: I99b0ee941d702a28fb4f392d9747d0e2257a42c8
Closes-Bug: #1788174
2019-02-19 10:37:23 +00:00
Nguyen Van Trung
69d34b2e85 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

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I4dd494a46011aa8547f52b442f9cba4d402fb91a
2018-07-09 14:54:23 +07:00
Brad P. Crochet
9883814cdc Switch to using stestr
When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're
supposed to invoke stestr rather than testr so lets do that

Change-Id: Icd303c37d2371d44726d55c947bbc8b9e99f2a1c
2018-05-30 14:46:25 -04:00
Lingxian Kong
4fe4198ac8 Support Qinling actions in Mistral
An example can be found in the task description.

Remove the cap on networkx library according to:
13644d63c6 (diff-d7d5c6fa7118ea10d88f3afeaef4da77)

Depends-On: https://review.openstack.org/#/c/567971/
Change-Id: I168a32b8c73b4b30224ce8f27bcde9cfa2b8d2ad
Story: 2002014
Task: 19654
2018-05-16 21:27:42 +12:00
Doug Hellmann
b8db6c6bc4 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

Update the lower-bounds for a few dependencies to make the tests pass,
including eventlet and greenlet.

Remove the duplicate dependency on pecan.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I74c7cae0ceccd5aff77d5955c69ca842c598d633
Depends-On: https://review.openstack.org/555034
Depends-On: https://review.openstack.org/555402
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-18 09:54:55 -04:00
Doug Hellmann
f14f507fd5 uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

This change also removes the redundant entry for eventlet from
test-requirements.txt.

Change-Id: I810741a01614609f86cb792629a253d128029c80
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-11 11:00:46 -04:00
OpenStack Proposal Bot
9b47758e5f Updated from global requirements
Change-Id: I27f7876c9f7ad350af4494df55469f0427d4950f
2018-03-23 01:08:00 +00:00
Zuul
34cdee8bf2 Merge "Update test-requirements" 2018-03-20 08:40:55 +00:00
pengdake
4e772174fd Update test-requirements
There are some tests about keystone actions need oauthlib.

Closes-Bug: #1757036

Change-Id: I91cd0e69454132613feafa82acacc96ac13803bb
Signed-off-by: pengdake <19921207pq@gmail.com>
2018-03-17 08:03:29 +08:00
OpenStack Proposal Bot
8cb4ff06bd Updated from global requirements
Change-Id: I358a21092b88936cafe94407a62e46dac5da8c24
2018-03-16 07:27:17 +00:00
OpenStack Proposal Bot
55990f386e Updated from global requirements
Change-Id: I5d802d66da3aa099d9c4d5fb9ef622468aeae007
2018-03-13 06:59:51 +00:00
OpenStack Proposal Bot
4ae3b1e145 Updated from global requirements
Change-Id: I03f6584d10caae1771fc9631007fe071f51a5d33
2018-03-10 13:20:51 +00:00
OpenStack Proposal Bot
1b5d92cb1d Updated from global requirements
Change-Id: I50090a88464dc06f19cbadb8275c4a62b89158d0
2018-01-25 05:20:37 +00:00
OpenStack Proposal Bot
631144bf38 Updated from global requirements
Change-Id: I515330149758751d9902dba6dbb04126a08f4c5c
2018-01-17 20:40:22 +00:00
OpenStack Proposal Bot
96f4d3f2d0 Updated from global requirements
Change-Id: Id46e6720f4840b758e4ab387084f0aee11d4253f
2018-01-16 12:33:17 +00:00
OpenStack Proposal Bot
bc686f3e04 Updated from global requirements
Change-Id: Ia9006dee7e75554a3ab55f70495edaffe8155e9c
2017-12-07 13:28:09 +00:00
OpenStack Proposal Bot
97d4eec253 Updated from global requirements
Change-Id: I7c66f1318bf501f7378ac07572a04d344bb143ac
2017-11-16 11:10:31 +00:00
OpenStack Proposal Bot
4bf3e1eb94 Updated from global requirements
Change-Id: Iaa09a92fa1834b83eb7df116fa661db518c5f4d5
2017-11-15 18:13:08 +00:00
Dirk Mueller
330ebfe2d4 Drop pyflakes from the test requirements
pyflakes is being pulled in in the right version by hacking,
so let that one be installed upfront and remove explicit
dependencies on pyflakes (which is anyway only called via
flake8 which is pulled in by hacking)

Change-Id: I4c941c9f35865b70360b7ed0c42af8b2b042edfb
2017-10-26 13:07:28 +02:00
OpenStack Proposal Bot
987930c6e8 Updated from global requirements
Change-Id: I268166fef00a41d799e99aa5043dc7f21c5e4ccd
2017-10-12 21:55:51 +00:00
OpenStack Proposal Bot
c07f281116 Updated from global requirements
Change-Id: Ia947c164a699719a4fc79fe1ed4139d31d88f4cf
2017-09-26 03:28:03 +00:00
OpenStack Proposal Bot
e1d881c1fe Updated from global requirements
Change-Id: I3046c5bfeecdb378d387a3b0b01f89307e65f0d0
2017-09-21 13:30:47 +00:00
OpenStack Proposal Bot
d2fb3612e5 Updated from global requirements
Change-Id: Ia8cc08f84d0c38929bc93bc8441296d16e89f52e
2017-09-16 23:14:34 +00:00
OpenStack Proposal Bot
0b03640018 Updated from global requirements
Change-Id: I8fe4448be3551e43ddc641d714b7aa719d6b0b26
2017-09-13 12:52:59 +00:00
OpenStack Proposal Bot
af7a9153f4 Updated from global requirements
Change-Id: I56ec40c6df64df5625cf66c4edc908143b6c5042
2017-09-11 21:39:11 +00:00
csatari
bf3c423ab8 Adding doc8 to test-requirements
tox -e doc was failing due to missing doc8. With this
change doc8 is added to test-requirements.txt.

Change-Id: I5a88d2068c961245b4b9ed60948532f232b859a5
Signed-off-by: csatari <gergely.csatari@nokia.com>
2017-08-25 12:48:17 +02:00
OpenStack Proposal Bot
e379caf45c Updated from global requirements
Change-Id: I154115397f64cbac7e0e385b63765308566fd1c7
2017-08-18 11:32:32 +00:00
OpenStack Proposal Bot
60d3abf75e Updated from global requirements
Change-Id: Ib77351a435b55a2a43ae6c803a1a379efd6cbcd4
2017-07-27 19:12:06 +00:00
OpenStack Proposal Bot
6c98f311b3 Updated from global requirements
Change-Id: Ibcea0404a7114a12a1e5da12af71f46d5868c55d
2017-07-20 02:33:19 +00:00
OpenStack Proposal Bot
c8da76460f Updated from global requirements
Change-Id: Ia22d444daaca63551b7bdb1d3dee1143883d5bfd
2017-07-15 20:50:43 +00:00
OpenStack Proposal Bot
cdabd1f7b5 Updated from global requirements
Change-Id: I7e18e30bbac136c2c7b5a3fc46c49f7db7ec0009
2017-07-14 03:43:47 +00:00
OpenStack Proposal Bot
fc9aee69dd Updated from global requirements
Change-Id: Idf45020ff8c35fd81edee646d7c29d0e85e68bbb
2017-07-12 18:07:12 +00:00
csatari
a7cd611c78 Applying Pike document structure
This change aligns the Mistral documents folder structure to
the one specified for Pike [1].
Documents were move to thir appropriate folder, but the different
guides do not follow their cookie cutted structure yet.
Install guide is in a separate change [2], while I could not
found the cookie cutter for the rest of the guides.

test-requirements.txt updated with the missing modules.

tox_install.sh modified to do not pass $MODULE_NAME and -e parameter to
edit-constraints.

[1]: http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
[2]: https://review.openstack.org/#/c/476499/
[3]: https://etherpad.openstack.org/p/doc-migration-tracking

Change-Id: Ia1101fa2eada446d8eebfefa9bd15d8facd8b3b0
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: csatari <gergely.csatari@nokia.com>
2017-07-11 09:24:17 +02:00
Sharat Sharma
532bfaf600 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: Ic0686fc1f1128d52c2ffb195d3cedb30de6f9c73
2017-07-05 05:10:00 +00:00
OpenStack Proposal Bot
fe1a1e1518 Updated from global requirements
Change-Id: I6d1c303968c98631f164d750ce3e53498f8b286a
2017-06-27 12:12:37 +00:00
OpenStack Proposal Bot
0b7a084a6a Updated from global requirements
Change-Id: Ib609ca17d02fede55990867a63346cb9eea1d5c2
2017-06-03 13:06:15 +00:00
OpenStack Proposal Bot
1f9db4cd52 Updated from global requirements
Change-Id: If083e24215a852db740b673967fbeaefc8140a7f
2017-05-17 03:50:04 +00:00
OpenStack Proposal Bot
7375853e90 Updated from global requirements
Change-Id: I12a1dfeb82b21e96d755e8def0c6f0b6fc005b3f
2017-05-15 00:46:30 +00:00
Jeremy Liu
97ccad154a Add check for idempotent id in tempest tests
Idempotent id for tempest tests must be unique, as it's used to
trace tests even in the event of refactors. This patch adds a new
check using check-uuid tool from tempest to validate id uniqueness.

Change-Id: I415699d2349ee0c4becfb404c60a06f244f78ba0
2017-04-03 09:42:16 +00:00