Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mistralclient for
openSUSE:Factory checked in at 2026-08-09 21:35:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mistralclient (Old)
and /work/SRC/openSUSE:Factory/.python-mistralclient.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mistralclient"
Sun Aug 9 21:35:18 2026 rev:23 rq:1370133 version:6.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-mistralclient/python-mistralclient.changes
2026-03-24 18:51:38.789335804 +0100
+++
/work/SRC/openSUSE:Factory/.python-mistralclient.new.16738/python-mistralclient.changes
2026-08-09 21:37:44.035134210 +0200
@@ -1,0 +2,5 @@
+Thu Aug 6 21:23:53 UTC 2026 - Dirk Müller <[email protected]>
+
+- add 0001-Fix-unit-test-failure-caused-by-osprofiler-4.4.0.patch
+
+-------------------------------------------------------------------
New:
----
0001-Fix-unit-test-failure-caused-by-osprofiler-4.4.0.patch
----------(New B)----------
New:
- add 0001-Fix-unit-test-failure-caused-by-osprofiler-4.4.0.patch
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mistralclient.spec ++++++
--- /var/tmp/diff_new_pack.TyhOE8/_old 2026-08-09 21:37:44.467148921 +0200
+++ /var/tmp/diff_new_pack.TyhOE8/_new 2026-08-09 21:37:44.467148921 +0200
@@ -25,6 +25,7 @@
Group: Development/Languages/Python
URL: https://docs.openstack.org/python-mistralclient
Source0:
https://files.pythonhosted.org/packages/source/p/python_mistralclient/python_mistralclient-%{version}.tar.gz
+Patch1: 0001-Fix-unit-test-failure-caused-by-osprofiler-4.4.0.patch
BuildRequires: %{python_module PyYAML >= 3.13}
BuildRequires: %{python_module fixtures}
BuildRequires: %{python_module openstackclient}
++++++ 0001-Fix-unit-test-failure-caused-by-osprofiler-4.4.0.patch ++++++
>From 4cee2bb25a4d15e7dd1802f3e7e75520177446db Mon Sep 17 00:00:00 2001
From: Takashi Kajinami <[email protected]>
Date: Tue, 30 Jun 2026 03:07:44 +0900
Subject: [PATCH] Fix unit test failure caused by osprofiler 4.4.0
osprofiler 4.4.0 fixed the X-Trace-Info header value and now it sends
a string rather than a byte string[1].
[1] https://review.opendev.org/c/openstack/osprofiler/+/979501
Change-Id: If44df628878c6079f063fdd37ed17f94ae92cb9c
Signed-off-by: Takashi Kajinami <[email protected]>
---
mistralclient/tests/unit/test_httpclient.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/mistralclient/tests/unit/test_httpclient.py
b/mistralclient/tests/unit/test_httpclient.py
index 78b5ab9..46ee2e4 100644
--- a/mistralclient/tests/unit/test_httpclient.py
+++ b/mistralclient/tests/unit/test_httpclient.py
@@ -112,16 +112,11 @@ class HTTPClientTest(base.BaseClientTest):
data = {'base_id': PROFILER_TRACE_ID, 'parent_id': PROFILER_TRACE_ID}
signed_data = osprofiler_utils.signed_pack(data, PROFILER_HMAC_KEY)
- headers = {
- 'X-Trace-Info': signed_data[0],
- 'X-Trace-HMAC': signed_data[1]
- }
-
self.client.get(API_URL)
self.assertTrue(m.called_once)
headers = self.assertExpectedAuthHeaders()
- self.assertEqual(signed_data[0], headers['X-Trace-Info'])
+ self.assertEqual(signed_data[0].decode(), headers['X-Trace-Info'])
self.assertEqual(signed_data[1], headers['X-Trace-HMAC'])
def test_get_request_options_with_headers_for_get(self):
--
2.55.0