mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
python314Packages.python-mistralclient: fix unit test failure caused by osprofiler 4.4.0
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user