Unverified Commit 931899f5 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

python313Packages.oslo-log: fix test failure

parent 96d2e75d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,

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

  patches = [
    # remove removed alias from tests
    (fetchpatch {
      url = "https://github.com/openstack/oslo.log/commit/69a285a8c830712b4b8aafc8ecd4e2d7654e1ffe.patch";
      hash = "sha256-e0kRSHJPHITP/XgPHhY5kGzCupE00oBnCJYiUCs3Yks=";
    })
  ];

  # Manually set version because prb wants to get it from the git upstream repository (and we are
  # installing from tarball instead)
  PBR_VERSION = version;