Fix broken pep8 and requirements jobs

This patch solves 2 issues in gate jobs:

1. Failing pep8 job due to wrong bandit version,
   To fix that we cap bandit in test-requirements.txt
   for stable/stein release.
   As in neutron and other repositories, this patch cap
   bandit version used for stable/stein release to be lower
   than 1.6.0

2. Requirements job failing on sphinx,
   To fix that we sphinx requirements in doc/requirements.txt file

Change-Id: I31c6c0596831d4445f11984b0b3ceee434a74664
This commit is contained in:
Slawek Kaplonski
2019-06-06 12:15:21 +02:00
committed by Bernard Cafarelli
parent a57eaff6c1
commit 08a26a00f2
2 changed files with 3 additions and 2 deletions

View File

@@ -3,4 +3,5 @@
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.18.1 # 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,>=1.6.2;python_version>='3.4' # BSD

View File

@@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
hacking>=1.1.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
bandit>=1.1.0,<1.6.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
flake8-import-order==0.12 # LGPLv3