From ead8ceb20bfeee5e23f3eaa86719e53a081b3226 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 16 Nov 2024 15:42:40 +0900 Subject: [PATCH] Bump hacking hacking 3.0.x is too old. Bump it to the version currently used in tempest repo. Also remove the note about old pip's behavior because recent pip does not require specific order. Depends-on: https://review.opendev.org/c/openstack/tempest/+/906634 Change-Id: I9a7760dcbcba15213deaa03e3c2a5f42446905d1 --- .../tests/rbac/v3/test_policy_association.py | 2 +- keystone_tempest_plugin/tests/scenario/keycloak.py | 2 +- requirements.txt | 6 +++--- test-requirements.txt | 6 +----- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/keystone_tempest_plugin/tests/rbac/v3/test_policy_association.py b/keystone_tempest_plugin/tests/rbac/v3/test_policy_association.py index a3cf76d..c1a1807 100644 --- a/keystone_tempest_plugin/tests/rbac/v3/test_policy_association.py +++ b/keystone_tempest_plugin/tests/rbac/v3/test_policy_association.py @@ -157,7 +157,7 @@ class IdentityV3RbacPolicyAssociationTests(rbac_base.IdentityV3RbacBaseTests, This test must check * whether the persona can delete a policy association for a region and service - """ + """ # noqa: E501 pass diff --git a/keystone_tempest_plugin/tests/scenario/keycloak.py b/keystone_tempest_plugin/tests/scenario/keycloak.py index 50c3495..ef2b01d 100644 --- a/keystone_tempest_plugin/tests/scenario/keycloak.py +++ b/keystone_tempest_plugin/tests/scenario/keycloak.py @@ -26,7 +26,7 @@ class KeycloakClient(object): @property def url_base(self): - return self.keycloak_url + f'/admin/realms' + return self.keycloak_url + '/admin/realms' @property def token_endpoint(self): diff --git a/requirements.txt b/requirements.txt index 67f303d..24faa8c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -# 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. +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. pbr!=2.1.0,>=2.0.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 9c7d865..3d2e1c5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1 @@ -# 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. - -hacking>=3.0,<3.1.0;python_version>='3.5' # Apache-2.0 +hacking>=6.1.0,<6.2.0 # Apache-2.0