From e788188f2387dfd40775f83d88eeb9c62b828965 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Thu, 15 Oct 2020 16:06:40 +0200 Subject: [PATCH] Set safe version of hacking Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed to require a safe version of flake8, so besides normale issues related to minor version upgrades, we can safely use those versions. Also forcing pycodestyle versions to be compatible with flake8 installed by hacking. Change-Id: I4612e84ee88c21121d97e31c9ab22d776f4fb5bc --- test-requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 03e9602c..2097f91f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,8 +4,10 @@ coverage!=4.4,>=4.0 # Apache-2.0 flake8-import-order>=0.17.1 # LGPLv3 -hacking>=3.1.0,<3.2.0 # Apache-2.0 +hacking>=3.1.0,<4.0.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0 +pycodestyle>=2.0.0,<2.7.0 # MIT Pygments>=2.2.0 # BSD +