Move tacker-horizon to new hacking 4.0.0

New rule enforcement has been enabled in the latest hacking code.

This patch bumps new version of hacking in test-requirements file,
for early detection and to avoid code breakage later when hacking
changes are released.

Additionally addresses dependencies,
flake8 3.8.4 depends on mccabe==0.6.0 and pyflakes==2.1.1.
These Dependencies mccabe==0.6.0 and pyflakes==2.1.1. are internal
requirement for hacking which is managed by hacking itself[1],
removing those from tacker-horizon so that they can be pulled by
hacking as per compatible version.

[1] https://github.com/openstack/hacking/blob/4.0.0/lower-constraints.txt

Change-Id: I4a83f8a783380475071f2e4b62e3c5b7dd9bca2b
This commit is contained in:
Manpreet Kaur 2020-12-07 07:54:18 +00:00
parent 15fe713eba
commit b34d7cdb16
2 changed files with 1 additions and 3 deletions

View File

@ -38,7 +38,6 @@ jsonschema==2.6.0
keystoneauth1==3.6.2
linecache2==1.0.0
MarkupSafe==1.0
mccabe==0.2.1
monotonic==1.4
msgpack==0.5.6
msgpack-python==0.4.0
@ -67,7 +66,6 @@ pep8==1.5.7
Pint==0.5
positional==1.2.1
prettytable==0.7.2
pyflakes==0.8.1
Pygments==2.2.0
pyinotify==0.9.6
pymongo==3.0.2

View File

@ -7,7 +7,7 @@
# be installed in a specific order.
#
# Hacking should appear first in case something else depends on pep8
hacking>=3.0.1,<3.1.0 # Apache-2.0
hacking>=4.0.0,<4.1.0 # Apache-2.0
#
coverage!=4.4,>=4.0 # Apache-2.0
nodeenv>=0.9.4 # BSD