summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanchandavishal <manchandavishal143@gmail.com>2020-12-23 13:10:54 +0000
committermanchandavishal <manchandavishal143@gmail.com>2020-12-23 14:49:33 +0000
commit55bc44e939aa71906d3d9767e07828705c607cf8 (patch)
tree067d2a05484dafd680868187e03769f9af5d7003
parent6c208edf323ced07b15ec4bc3879bddb91d398bc (diff)
downloadhorizon-55bc44e939aa71906d3d9767e07828705c607cf8.tar.gz
Cap bandit for python 2.7 env
bandit 1.6.3 supports only python>=3.5 and train jobs with python 2.7 are broken when bandit 1.6.3 is being installed. bandit <1.6.3 supports python 2.7. We have no constraint for test only libraries so we need to cap it. doc/requirements.txt and lower-constraints.txt also needs to be updated to pass the requirements-check and lower-constarints-job respectively. Change-Id: Ia8c69501a1362cb08344aa50d00ed184e9f3d49f
-rw-r--r--doc/requirements.txt4
-rw-r--r--lower-constraints.txt8
-rw-r--r--test-requirements.txt2
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 27ac1acd6..d7700e1cc 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -7,8 +7,8 @@
# be installed in a specific order.
openstackdocstheme>=1.20.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0
-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
+sphinx>=1.6.2,!=1.6.6,!=1.6.7,<2.0.0;python_version=='2.7' # BSD
+sphinx>=1.6.2,!=1.6.6,!=1.6.7;python_version>='3.4' # BSD
# The below is rewquired to build testing module reference
mock>=2.0.0 # BSD
diff --git a/lower-constraints.txt b/lower-constraints.txt
index 4f9460fa6..2603f6b31 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -30,11 +30,11 @@ eventlet==0.18.2
extras==1.0.0
fasteners==0.7.0
fixtures==3.0.0
-flake8==2.5.5
+flake8==2.6.2
flake8-import-order==0.12
futurist==1.2.0
greenlet==0.4.10
-hacking==0.12.0
+hacking==1.1.0
idna==2.6
imagesize==0.7.1
iso8601==0.1.11
@@ -83,9 +83,9 @@ pika-pool==0.1.3
Pint==0.5
positional==1.2.1
prettytable==0.7.2
-pycodestyle==2.3.1
+pycodestyle==2.0.0
pycparser==2.18
-pyflakes==0.8.1
+pyflakes==1.2.3
Pygments==2.2.0
pyinotify==0.9.6
pymongo==3.0.2
diff --git a/test-requirements.txt b/test-requirements.txt
index ab6d9949b..55f248a02 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10,7 +10,7 @@
hacking>=1.1.0,<2 # Apache-2.0
#
astroid==2.1.0;python_version>='3.0' # LGPLv2.1
-bandit!=1.6.0,>=1.4.0 # Apache-2.0
+bandit!=1.6.0,>=1.4.0,<1.6.3 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
flake8-import-order==0.12 # LGPLv3