From 82bc005071a7b29d3a29bc5c1712588494479d53 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 10 Jul 2025 11:48:46 +0100 Subject: [PATCH] Remove loop variable Ironic have changed an API response without a microversion :( We must also bump the lower-constraint of os-service-types, since we have a test that verifies that we are using the latest and greatest version. Change-Id: I1e7ac6fbf70519190f1e51c0d8651cc5f4a776fc Signed-off-by: Stephen Finucane --- .../functional/baremetal/test_baremetal_inspection_rules.py | 1 - openstack/tests/unit/test_utils.py | 5 ++--- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/openstack/tests/functional/baremetal/test_baremetal_inspection_rules.py b/openstack/tests/functional/baremetal/test_baremetal_inspection_rules.py index c7c75a597..c9d3e14c7 100644 --- a/openstack/tests/functional/baremetal/test_baremetal_inspection_rules.py +++ b/openstack/tests/functional/baremetal/test_baremetal_inspection_rules.py @@ -169,7 +169,6 @@ class TestBareMetalInspectionRule(base.BaseBaremetalTest): updated_actions = [ { "op": "set-attribute", - "loop": [], "args": ["/driver", "fake"], } ] diff --git a/openstack/tests/unit/test_utils.py b/openstack/tests/unit/test_utils.py index ee193b0e7..ea726039b 100644 --- a/openstack/tests/unit/test_utils.py +++ b/openstack/tests/unit/test_utils.py @@ -223,13 +223,12 @@ class TestMaximumSupportedMicroversion(base.TestCase): class TestOsServiceTypesVersion(base.TestCase): def test_ost_version(self): - ost_version = '2019-05-01T19:53:21.498745' + ost_version = '2022-09-13T15:34:32.154125' self.assertEqual( ost_version, os_service_types.ServiceTypes().version, "This project must be pinned to the latest version of " - "os-service-types. Please bump requirements.txt and " - "lower-constraints.txt accordingly.", + "os-service-types. Please bump requirements.txt accordingly.", ) diff --git a/requirements.txt b/requirements.txt index b2a10c619..5a531f3f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ iso8601>=0.1.11 # MIT jmespath>=0.9.0 # MIT jsonpatch!=1.20,>=1.16 # BSD keystoneauth1>=5.10.0 # Apache-2.0 -os-service-types>=1.7.0 # Apache-2.0 +os-service-types>=1.8.0 # Apache-2.0 pbr!=2.1.0,>=2.0.0 # Apache-2.0 platformdirs>=3 # MIT License psutil>=3.2.2 # BSD