Bump hacking to 7.0.0

Also remove outdated warning about package order.

Change-Id: Iad12d27585a3e72fcfa66300941530f1cd749fb6
This commit is contained in:
Pierre Riteau 2025-02-18 09:01:03 +01:00
parent 9d67839585
commit 28156db70a
2 changed files with 6 additions and 17 deletions

View File

@ -97,7 +97,7 @@ def blazarclient(request):
def lease_list(request):
"""List the leases."""
leases = blazarclient(request).lease.list()
return [Lease(l) for l in leases]
return [Lease(lease) for lease in leases]
def lease_get(request, lease_id):

View File

@ -1,19 +1,8 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Order matters to the pip dependency resolver, so sorting this file
# changes how packages are installed. New dependencies should be
# added in alphabetical order, however, some dependencies may need to
# 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
#
coverage!=4.4,>=4.0 # Apache-2.0
nodeenv>=0.9.4 # BSD
pytest>=5.3.5 # MIT
testtools>=2.2.0 # MIT
# bandit is not included in upper-constraints, so we need to pin it here to a
# known working version
bandit==1.6.2 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
hacking>=7.0.0,<7.1.0 # Apache-2.0
nodeenv>=0.9.4 # BSD
pytest>=5.3.5 # MIT
testtools>=2.2.0 # MIT