Commit Graph

73 Commits

Author SHA1 Message Date
Erik Olof Gunnar Andersson b391859cf9 Fixed lower-constraints job and updated constraints
This patch brings some pip packages up to date
and also introduces changes to tox to make sure
that constraints are always respected.

Change-Id: I7f794386b47ae9fd43db2278ee214e015d5b335b
2020-12-15 21:11:30 -08:00
Ghanshyam Mann 6ffcd010b1 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.

Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.

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

Change-Id: Idd108d9575b276f3d78a7c3c6dbc5f3ed3205411
2020-05-15 10:28:41 -05:00
Sean McGinnis 1fa7b5ed6e
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: Ie841dc9738ed029ef01add3681ed76112e2cdca3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 12:00:29 -05:00
Andreas Jaeger 30e5a90552 Fix requirements, update hacking
hacking already pins flake8, so do not add it, especially in conflict
with the hacking version. hacking also pins pycodestyle, so remove that
as well.

The repo is Python 3 now, so update hacking for a python3 version.

Blacklist new failures or fix them.

Convert own hacking checks to new flake8 API, update lower-constraints
for this.

Change-Id: I2928b9d764f61a53a549a9eb850c7809bdbb6f74
2020-03-30 10:51:45 +00:00
zhulingjie 70645ff727 Update hacking version to latest
Change-Id: I91282c381c3f112d918c7a2cab10c4d158ac27b7
2019-08-11 14:07:02 +00:00
Charles Short 1c663223e7 Switch to using stestr from ostestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

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

Change-Id: Ia63e48a8ffee765a2d0ae43ff0054e3c5f61c992
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-05-30 15:55:57 -04:00
wangqi 28045a919a 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 detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I8191c349c027dfe9a55720d204e5cda8655e7ffa
2018-03-11 16:39:21 +00:00
OpenStack Proposal Bot 7b8e0126c2 Updated from global requirements
Change-Id: I37ef161c70c1330e801707a6edefa63857d1525a
2018-03-10 13:54:11 +00:00
OpenStack Proposal Bot 1558bdc5b9 Updated from global requirements
Change-Id: Id59dc079f7df342300205b727073ef4506846c20
2018-01-24 01:35:58 +00:00
OpenStack Proposal Bot 44c97c9da4 Updated from global requirements
Change-Id: I238120664088644bcc282516a63fa72ce53d92e3
2018-01-18 03:34:28 +00:00
OpenStack Proposal Bot 04f044a8b2 Updated from global requirements
Change-Id: Id804aac3d81669b37f356689d267e449ea084a40
2017-11-16 11:28:21 +00:00
OpenStack Proposal Bot c60a159e1b Updated from global requirements
Change-Id: I1fae7ab2a65e3d25659da7a8d68747b5db35cdcb
2017-11-15 00:45:36 +00:00
OpenStack Proposal Bot 8591aa76dc Updated from global requirements
Change-Id: I818a9ca7c00bc15772a8ba32d09ca659cdcc0823
2017-09-13 13:04:12 +00:00
OpenStack Proposal Bot 13df64e437 Updated from global requirements
Change-Id: I49b04618bcc62a0a057db3b9cfe40ba60fb0619f
2017-08-18 11:43:18 +00:00
OpenStack Proposal Bot 3108aff185 Updated from global requirements
Change-Id: I109231bd6790b6ef4d44db6e20a99969cefcf251
2017-08-18 04:53:22 +00:00
OpenStack Proposal Bot 08515a55e1 Updated from global requirements
Change-Id: I8f49e659f1bc1f3bf324f855cf17a83207102ce7
2017-07-27 20:34:23 +00:00
OpenStack Proposal Bot 7dd10ad0fd Updated from global requirements
Change-Id: I49a8ce114bffa7a940e0e651b59456bf2f236cf7
2017-07-22 16:40:12 +00:00
rajat29 81f33f806a 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: Ia8551b45c1d7b4d67368e493e143c3893d07df61
2017-07-13 05:20:17 +00:00
OpenStack Proposal Bot 3c0b3574de Updated from global requirements
Change-Id: I67551892a4d7c21a447b67d15dec3739df0553e0
2017-07-06 02:26:13 +00:00
OpenStack Proposal Bot aa5c3ede47 Updated from global requirements
Change-Id: Id883d44da27c535958fbf6e370bd0dcac285ac4c
2017-06-03 13:16:37 +00:00
OpenStack Proposal Bot a5cb56dc6d Updated from global requirements
Change-Id: Iad6f324faeec70286ca740b12b78a522a5cc658d
2017-05-17 13:50:52 +00:00
OpenStack Proposal Bot 38e8ee8175 Updated from global requirements
Change-Id: I5ccf97a324e0c426944eee84e08ff8d68e09f95b
2017-05-15 00:55:55 +00:00
OpenStack Proposal Bot a7672cca09 Updated from global requirements
Change-Id: I3e50f2952a00016be366b812d1bb6ea1e25144ce
2017-03-03 03:09:26 +00:00
ricolin c9a2853b86 [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: I0a9069ad1c71051df69d0c7e89da9121785ea6f6
2017-03-02 20:12:27 +08:00
OpenStack Proposal Bot 79ae0b2c68 Updated from global requirements
Change-Id: I6f77635c69de31219cd14a20010c3eba35050c07
2017-02-11 17:52:56 +00:00
OpenStack Proposal Bot f03f6b88e3 Updated from global requirements
Change-Id: I97f9edebcf0869f901735ae966205f961f55b2b2
2016-12-23 04:17:18 +00:00
OpenStack Proposal Bot 5ba7512c61 Updated from global requirements
Change-Id: I95ec0f3ae1301b66cadc58b5eab1133ddc18068a
2016-11-16 15:45:48 +00:00
OpenStack Proposal Bot ef6db86d06 Updated from global requirements
Change-Id: I0f1307efa7a93e63120e7409318be10dd00a7e6c
2016-11-02 15:41:29 +00:00
Jeremy Liu c914eb14d7 Add a bandit environment to tox
This change is being proposed as part of the OpenStack Security Project
working session at the Austin 2016 summit. It adds support for running
the bandit[1] security linting tool against the Senlin codebase.
This change adds a targeted environment for bandit.

The bandit configuration has been tailored to exclude tests that are
currently producing warning against the codebase. These issues will be
followed up with bug reports and patches.

At the time of submission, Senlin passes all Bandit tests configured
in tox.

[1]: https://wiki.openstack.org/wiki/Security/Projects/Bandit

Change-Id: I54ef7329b9d6f6429838afdc5319f48bcc2e9f33
2016-10-31 03:30:24 +00:00
OpenStack Proposal Bot 213a1beb84 Updated from global requirements
Change-Id: I8d67af3c9ee409c9e4dbaeb313a52ddc63db7bbb
2016-10-22 01:28:15 +00:00
OpenStack Proposal Bot 188c496a50 Updated from global requirements
Change-Id: Ib2d22c1c357ebfbf914eaf51cdea86b401748d81
2016-09-30 20:06:51 +00:00
OpenStack Proposal Bot 6a74b1ae45 Updated from global requirements
Change-Id: I362a2c6bed0d893530bb51976b62bda9faebe627
2016-09-28 17:01:39 +00:00
OpenStack Proposal Bot 73c3f562fd Updated from global requirements
Change-Id: Ic5ff3084d9044ac43f71cdb9743e8f73820774e2
2016-08-31 18:31:51 +00:00
OpenStack Proposal Bot 1f0771c98c Updated from global requirements
Change-Id: I801fb7130b88b225a245d0a8a80cd3337fc1b969
2016-08-26 09:18:13 +00:00
tengqm 3d4a0cae5b Remove usage of mox/mox3
This patch attempts a removal of the usage of mox or mox3 package in
unit tests. We are all about using mock package now.

Change-Id: I587595a449722f2da90654276b55dccae2a02219
2016-08-21 23:40:01 -04:00
OpenStack Proposal Bot 5d2667e9c2 Updated from global requirements
Change-Id: I45fffe4f4b178fd172e7e34cecbf3135c8b113d2
2016-08-06 05:48:46 +00:00
qinchunhua a035db2047 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported.

Change-Id: I387bf5545d9a34ab4d8c0eab840da0460f0ff8a1
2016-08-01 01:27:27 +00:00
OpenStack Proposal Bot e8e6261c74 Updated from global requirements
Change-Id: Ifddc780df67b46f7ec9292fd20a88fa8b23f029e
2016-07-21 13:44:39 +00:00
OpenStack Proposal Bot ba73a1e06b Updated from global requirements
Change-Id: Ie1bc5fad588fa7c417c9fd2429209025a8d6c163
2016-07-05 18:20:20 +00:00
OpenStack Proposal Bot caf565498c Updated from global requirements
Change-Id: Id93d3dc90fc60b2731f08ef8e9f5b3fbc34fa502
2016-06-25 20:27:08 +00:00
OpenStack Proposal Bot b86bee2607 Updated from global requirements
Change-Id: Id88dcab6504d9c16b615f682a04b0532acbf4e40
2016-06-22 05:48:37 +00:00
OpenStack Proposal Bot 5aa0d57ab4 Updated from global requirements
Change-Id: I87e8be6f8b5c60d512a090798b5d30757bf3eb17
2016-05-30 02:30:19 +00:00
OpenStack Proposal Bot ee96afa32f Updated from global requirements
Change-Id: I7f407227aad8f28771a3f82fb32206d078891e30
2016-05-26 17:06:23 +00:00
Sean Dague dcd2ef6a53 Migrate to os-api-ref upstream library
This migrates to the common upstream os-api-ref library. This patch
currently fails because the Senlin team isn't using the parameters
specification as expected. The 'in' field maps to swagger, and must be
one of 'header', 'path', 'query', 'body'.

Change-Id: I5998e4b4343965b24f827a43fed5bf0633200782
2016-05-18 23:41:33 +00:00
OpenStack Proposal Bot 1937b500c4 Updated from global requirements
Change-Id: I8f336b038c88134fd3079069d845e2d1a523ba4b
2016-04-10 18:28:25 +00:00
Jenkins 17b99b9ce9 Merge "Initial tempest plugin framework" 2016-04-08 05:14:54 +00:00
Ethan Lynn d1668339fc Initial tempest plugin framework
Tempest plugin framework provides more flexibility for projects.
With this plugin, it's not requiring the tests live in the tempest
tree.

Blueprint: tempest-plugin-interface
Change-Id: Iaa3ee3aa3bf5d1d42912a97693ab60e8c81c3085
2016-04-08 11:53:07 +08:00
OpenStack Proposal Bot bac99f7adb Updated from global requirements
Change-Id: Ifef34369663a696685b4671e8f0f9d04aeeedbf6
2016-04-07 17:34:03 +00:00
Chaozhe.Chen 3ae0b03765 Remove unused `paramiko`
As `paramiko` is not needed in our test code, better remove it from
requirements to reduce dependency.

Change-Id: I77d191cdc249a19fa7aaf1f55ebfdbbd06927692
2016-02-24 00:51:55 +08:00
OpenStack Proposal Bot e2f580cb12 Updated from global requirements
Change-Id: I3163efa0f8e4543f7a7366c957cfecf49831ab6c
2016-02-11 14:52:05 +00:00