From 393f2b6d6130a66de88066c7d554379019f4bee6 Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Thu, 26 Mar 2020 18:02:34 +0000 Subject: [PATCH] Bump hacking to 3.0.0 This patch update hacking version to 3.0.0. It also drop flake8 and hacking from lower-constraints.txt and update mccabe, pycodestyle, pyflakes package version to fix error in lower-constraints job [1]. [1] https://zuul.opendev.org/t/openstack/build/b11dcae1771d4d9ab7d30c40848bd2ff/log/tox/lower-constraints-1.log#354-356 Change-Id: Idd32fc49cb7c8d9823385eee7b42e8e6e769c108 --- lower-constraints.txt | 9 +++------ test-requirements.txt | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index d49f82cef8..6f311aa9b9 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -29,11 +29,8 @@ eventlet==0.18.2 extras==1.0.0 fasteners==0.7.0 fixtures==3.0.0 -flake8==2.5.5 -flake8-import-order==0.12 futurist==1.2.0 greenlet==0.4.10 -hacking==0.12.0 idna==2.6 imagesize==0.7.1 iso8601==0.1.11 @@ -46,7 +43,7 @@ keystoneauth1==3.4.0 kombu==4.0.0 linecache2==1.0.0 MarkupSafe==1.0 -mccabe==0.2.1 +mccabe==0.6.0 monotonic==0.6 msgpack-python==0.4.0 munch==2.1.0 @@ -79,9 +76,9 @@ pika==0.10.0 pika-pool==0.1.3 positional==1.2.1 prettytable==0.7.2 -pycodestyle==2.3.1 +pycodestyle==2.5.0 pycparser==2.18 -pyflakes==0.8.1 +pyflakes==2.1.0 Pygments==2.2.0 pyinotify==0.9.6 pymongo==3.0.2 diff --git a/test-requirements.txt b/test-requirements.txt index 425b50751b..a0dfa67f89 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>=2.0.0 # Apache-2.0 +hacking>=3.0.0,<3.1.0 # Apache-2.0 # astroid==2.1.0 # LGPLv2.1 bandit!=1.6.0,>=1.4.0 # Apache-2.0