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
This commit is contained in:
zhangbailin 2020-05-18 08:36:54 +08:00
parent 99a7f13724
commit 21572b0c73
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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