From 5c150c8cf46f14ac8d5cf2d2d4ecde49062b56df Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 27 Jan 2024 23:34:44 +0900 Subject: [PATCH] Bump hacking hacking 3.1.x is too old. Change-Id: I111e9aabea6470611b1eb1a83cbdc34d2f1e1c59 --- manila_ui/tests/dashboards/admin/share_types/test_forms.py | 4 ++-- requirements.txt | 5 ----- test-requirements.txt | 6 +----- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/manila_ui/tests/dashboards/admin/share_types/test_forms.py b/manila_ui/tests/dashboards/admin/share_types/test_forms.py index 01b31f5c..b2018469 100644 --- a/manila_ui/tests/dashboards/admin/share_types/test_forms.py +++ b/manila_ui/tests/dashboards/admin/share_types/test_forms.py @@ -53,8 +53,8 @@ class ManilaDashboardsAdminSharesUpdateShareTypeFormTests(base.APITestCase): for expected_extra_spec in extra_specs_str_output: self.assertIn(expected_extra_spec, form.initial['extra_specs']) self.assertIn('extra_specs', list(form.fields.keys())) - self.assertTrue( - isinstance(form.fields['extra_specs'], horizon_forms.CharField)) + self.assertIsInstance(form.fields['extra_specs'], + horizon_forms.CharField) @mock.patch('horizon.messages.success') def test_handle_success_no_changes(self, mock_horizon_messages_success): diff --git a/requirements.txt b/requirements.txt index 4e4f3e82..a4955be0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,6 @@ # 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. - -# 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. - pbr>=5.5.0 # Apache-2.0 # Horizon Core Requirements django-compressor>=2.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index a5a507c2..3af3249a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,8 +1,4 @@ -# 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.1.0,<3.2.0 # Apache-2.0 +hacking>=6.1.0,<6.2.0 # Apache-2.0 coverage>=5.2.1 # Apache-2.0 ddt>=1.4.1 # MIT python-subunit>=1.4.0 # Apache-2.0/BSD