Skip to content

Commit 931899f

Browse files
python313Packages.oslo-log: fix test failure
1 parent 96d2e75 commit 931899f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/development/python-modules/oslo-log/default.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
stdenv,
44
buildPythonPackage,
55
fetchFromGitHub,
6+
fetchpatch,
67

78
# build-system
89
setuptools,
@@ -35,6 +36,14 @@ buildPythonPackage rec {
3536
hash = "sha256-ybWrNwP9L7iOzft10TgRFxA4mCRDVozVC2ZAopgITqo=";
3637
};
3738

39+
patches = [
40+
# remove removed alias from tests
41+
(fetchpatch {
42+
url = "https://github.com/openstack/oslo.log/commit/69a285a8c830712b4b8aafc8ecd4e2d7654e1ffe.patch";
43+
hash = "sha256-e0kRSHJPHITP/XgPHhY5kGzCupE00oBnCJYiUCs3Yks=";
44+
})
45+
];
46+
3847
# Manually set version because prb wants to get it from the git upstream repository (and we are
3948
# installing from tarball instead)
4049
PBR_VERSION = version;

0 commit comments

Comments
 (0)