From 21572b0c738ebc54f148c723c8c68e88f0b896cb Mon Sep 17 00:00:00 2001 From: zhangbailin Date: Mon, 18 May 2020 08:36:54 +0800 Subject: [PATCH] Bump hacking min version to 3.0.1 flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: Ib39f593616e2933ca5c1dbfa231691d6ced60e6c --- lower-constraints.txt | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index fec4e144..928bf06d 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -13,7 +13,7 @@ flake8==2.5.5 flake8-import-order==0.17.1 future==0.16.0 greenlet==0.4.10 -hacking==3.0.0 +hacking==3.0.1 ifaddr==0.1.6 iso8601==0.1.11 keystoneauth1==3.4.0 diff --git a/test-requirements.txt b/test-requirements.txt index 24f7c24d..9b3a3bcb 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,7 +5,7 @@ coverage!=4.4,>=4.0 # Apache-2.0 eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT flake8-import-order>=0.17.1 # LGPLv3 -hacking>=3.0.0,<3.1.0 # Apache-2.0 +hacking>=3.0.1,<3.1.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