From d399fe717b9185da06d9f3dd42117294aaf3f2cc Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 15 Sep 2020 11:59:24 +0200 Subject: [PATCH] Update hacking for Python3 The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Remove hacking and friends from lower-constraints, they are not needed to be installed at run-time. Change-Id: I347d6b24bb66bbe9ff11ab9eb3a59a730bcca539 --- lower-constraints.txt | 4 ---- test-requirements.txt | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 62a4c2f..d777714 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -27,10 +27,8 @@ eventlet==0.20.0 extras==1.0.0 fasteners==0.14.1 fixtures==3.0.0 -flake8==2.5.5 futurist==1.6.0 greenlet==0.4.13 -hacking==0.12.0 idna==2.6 imagesize==1.0.0 iso8601==0.1.12 @@ -90,7 +88,6 @@ paramiko==2.4.1 Paste==2.0.3 PasteDeploy==1.5.2 pbr==3.1.1 -pep8==1.5.7 pika-pool==0.1.3 pika==0.10.0 prettytable==0.7.2 @@ -99,7 +96,6 @@ pyasn1-modules==0.2.1 pyasn1==0.4.2 pycadf==2.7.0 pycparser==2.18 -pyflakes==2.1.1 Pygments==2.2.0 pyinotify==0.9.6 PyNaCl==1.2.1 diff --git a/test-requirements.txt b/test-requirements.txt index d9978b3..76c52e2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=3.0.1,<3.1.0 # Apache-2.0 # remove this pyflakes from here once you bump the # hacking to 3.2.0 or above. hacking 3.2.0 takes # care of pyflakes version compatibilty.