From 28156db70a42581fcd14d1a40b799ebc4b715bd7 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 18 Feb 2025 09:01:03 +0100 Subject: [PATCH] Bump hacking to 7.0.0 Also remove outdated warning about package order. Change-Id: Iad12d27585a3e72fcfa66300941530f1cd749fb6 --- blazar_dashboard/api/client.py | 2 +- test-requirements.txt | 21 +++++---------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/blazar_dashboard/api/client.py b/blazar_dashboard/api/client.py index 21e5cb8..9378a43 100644 --- a/blazar_dashboard/api/client.py +++ b/blazar_dashboard/api/client.py @@ -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): diff --git a/test-requirements.txt b/test-requirements.txt index 6b97fd6..3770d8d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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