summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2020-05-12 09:23:42 -0500
committerGhanshyam Mann <gmann@ghanshyammann.com>2020-05-12 20:52:40 +0000
commit774bc9264bb4907a7caa9830c19339644dcfad59 (patch)
tree7c09edaeb3e04257eec4dd66f8d051da4a998f12 /test-requirements.txt
parent855986c0244d31f02cc6712b4669b2069ae3bcc1 (diff)
downloadironic-774bc9264bb4907a7caa9830c19339644dcfad59.tar.gz
Cap pycodestyle explicitly to be < 2.6.0
The 2.6.0 version introduces some checks that cause failures with the current code. hacking and flake8 cap could have solve the pycodestyle compatible version but flake8-import-order which does not cap the pycodestyle pulled its latest version and break things. Also remove the flake8 from test-requirements and let hacking handle the flake8 version otherwise ironic will still pull the latest flake8 which can break things in future. To make it work, we need to explicitly cap pycodestyle itself so that no other package pull the new checks in. Change-Id: Ia4b6f5aa8fe45d08a1563160e585947f35501ef2
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 8cc4db205..c9ca34998 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -15,7 +15,7 @@ psycopg2>=2.7.3 # LGPL/ZPL
testtools>=2.2.0 # MIT
WebTest>=2.0.27 # MIT
bashate>=0.5.1 # Apache-2.0
-flake8>=3.7.0 # MIT
+pycodestyle>=2.0.0,<2.6.0 # MIT
flake8-import-order>=0.17.1 # LGPLv3
Pygments>=2.2.0 # BSD
bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0