Fix requirements (bandit, sphinx, jsonschema) and jobs
Requirements: - bandit 1.6.0 contains a regression in the handling of patterns. A fix is in place in bandit master, but newer versions introduces more checks so they are not working as well. The version is excluded there because is not handled by global requirements. Remove the separate requirement file for bandit, because bandit has been part of test-requirements.txt in the last 3 years. There is noneed for a separate requirements file anymore. Even more, the bandit tox environment could be probably removed. - synchronize the requirements for sphinx and jsonschema with the current values from the requirements repository to make the requirements-check job happy. Jobs: - temporarily disable the scenario-py3 job until a new stestr (>2.3.1) is tagged. Change-Id: Ief8e392fcd2d66a73593abcfda06fc7dbe2e53a6
This commit is contained in:
parent
8c941ed187
commit
c5aafbc3ed
|
@ -19,7 +19,8 @@
|
|||
- openstack-tox-cover:
|
||||
voting: false
|
||||
- sahara-grenade
|
||||
- sahara-tests-scenario-py3
|
||||
- sahara-tests-scenario-py3:
|
||||
voting: false
|
||||
gate:
|
||||
queue: sahara
|
||||
jobs:
|
||||
|
@ -28,7 +29,6 @@
|
|||
- sahara-tests-tempest
|
||||
- sahara-tests-tempest-v2
|
||||
- sahara-grenade
|
||||
- sahara-tests-scenario-py3
|
||||
|
||||
experimental:
|
||||
jobs:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
openstackdocstheme>=1.18.1 # Apache-2.0
|
||||
os-api-ref>=1.6.0 # Apache-2.0
|
||||
reno>=2.5.0 # Apache-2.0
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
|
||||
sphinxcontrib-httpdomain>=1.3.0 # BSD
|
||||
whereto>=0.3.0 # Apache-2.0
|
||||
|
|
|
@ -12,7 +12,7 @@ eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
|
|||
Flask>=1.0.2 # BSD
|
||||
iso8601>=0.1.11 # MIT
|
||||
Jinja2>=2.10 # BSD License (3 clause)
|
||||
jsonschema<3.0.0,>=2.6.0 # MIT
|
||||
jsonschema>=2.6.0 # MIT
|
||||
keystoneauth1>=3.4.0 # Apache-2.0
|
||||
keystonemiddleware>=4.17.0 # Apache-2.0
|
||||
microversion-parse>=0.2.1 # Apache-2.0
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
bandit==0.17.3
|
|
@ -5,7 +5,7 @@
|
|||
hacking>=1.1.0 # Apache-2.0
|
||||
|
||||
PyMySQL>=0.7.6 # MIT License
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
bandit>=1.1.0,<1.6.0 # Apache-2.0
|
||||
bashate>=0.5.1 # Apache-2.0
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
doc8>=0.6.0 # Apache-2.0
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -114,7 +114,7 @@ commands = oslo_debug_helper -t sahara/tests/unit {posargs}
|
|||
|
||||
[testenv:bandit]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements-bandit.txt
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = bandit -c bandit.yaml -r sahara -n5 -p sahara_default -x tests
|
||||
|
||||
[flake8]
|
||||
|
|
Loading…
Reference in New Issue