python314Packages.python-mistralclient: fix unit test failure caused by osprofiler 4.4.0

This commit is contained in:
Sandro Jäckel
2026-08-05 16:20:12 +02:00
parent 3830532deb
commit 1d0c2f1378

View File

@@ -3,6 +3,7 @@
buildPythonPackage,
cliff,
fetchFromGitHub,
fetchpatch,
keystoneauth1,
openstackdocstheme,
openstacksdk,
@@ -36,6 +37,14 @@ buildPythonPackage rec {
hash = "sha256-FNfee7d8gTcsTdv7lxqDbniUiKQvUXHRSkAlNOCn/k4=";
};
patches = [
# Fix unit test failure caused by osprofiler 4.4.0
(fetchpatch {
url = "https://github.com/openstack/python-mistralclient/commit/4cee2bb25a4d15e7dd1802f3e7e75520177446db.patch";
hash = "sha256-H8JSvPFcHZJsnIWpV0WPvkqyvmg8SBbpsUzqcZeFBwA=";
})
];
env.PBR_VERSION = version;
nativeBuildInputs = [
@@ -83,7 +92,7 @@ buildPythonPackage rec {
meta = {
description = "OpenStack Mistral Command-line Client";
homepage = "https://opendev.org/openstack/python-mistralclient/";
homepage = "https://github.com/openstack/python-mistralclient";
license = lib.licenses.asl20;
mainProgram = "mistral";
teams = [ lib.teams.openstack ];