summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2019-12-16 15:04:06 +0900
committerAkihiro Motoki <amotoki@gmail.com>2019-12-19 11:58:26 +0000
commit1f1ac980ef9ee288a2e8ff27fba2e80cdb12d611 (patch)
tree440cae8da5de5777c9c5950b4b4e00d44b6d1121
parent4b319012235f941aa0b6a4cac46f5e733473c55b (diff)
downloadhorizon-1f1ac980ef9ee288a2e8ff27fba2e80cdb12d611.tar.gz
Cap hacking version to <2
Hacking 2.0.0 and its dependencies like flake8 have incompatible changes and bumping to them leads to pep8 check failure. It is good to address pep8 warnings in the master branch, but in case of stable branches it is good to continue to use the same version of hacking. This commit is proposed to the master branch so that it can be backported. Change-Id: I2b174ef3231956037650eba19aebe5989dffa617 (cherry picked from commit 7a7558b0583fa84f73d5ecb81204cbb76b0ef0e5)
-rw-r--r--test-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 3e33d214d..7ccce5795 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -7,7 +7,7 @@
# be installed in a specific order.
#
# Hacking should appear first in case something else depends on pep8
-hacking>=1.1.0 # Apache-2.0
+hacking>=1.1.0,<2 # Apache-2.0
#
astroid==2.1.0;python_version>='3.0' # LGPLv2.1
bandit>=1.4.0 # Apache-2.0