From 17003648fec3f0723844df68900b38670f835248 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 29 May 2022 19:16:21 +0100 Subject: [PATCH] python3Packages.pomegranate: 0.13.5 -> 0.14.8 --- .../python-modules/pomegranate/default.nix | 20 ++++--------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/pomegranate/default.nix b/pkgs/development/python-modules/pomegranate/default.nix index cb87f352154c..02b0a340c9ee 100644 --- a/pkgs/development/python-modules/pomegranate/default.nix +++ b/pkgs/development/python-modules/pomegranate/default.nix @@ -15,28 +15,16 @@ buildPythonPackage rec { pname = "pomegranate"; - version = "0.13.5"; + version = "0.14.8"; src = fetchFromGitHub { repo = pname; owner = "jmschrei"; - rev = "v${version}"; - sha256 = "1hbxchp3daykkf1fa79a9mh34p78bygqcf1nv4qwkql3gw0pd6l7"; + # no tags for recent versions: https://github.com/jmschrei/pomegranate/issues/974 + rev = "0652e955c400bc56df5661db3298a06854c7cce8"; + sha256 = "16g49nl2bgnh6nh7bd21s393zbksdvgp9l13ww2diwhplj6hlly3"; }; - patches = lib.optionals (lib.versionOlder version "13.6") [ - # Fix compatibility with recent joblib release, will be part of the next - # pomegranate release after 0.13.5 - (fetchpatch { - url = "https://github.com/jmschrei/pomegranate/commit/42d14bebc44ffd4a778b2a6430aa845591b7c3b7.patch"; - sha256 = "0f9cx0fj9xkr3hch7jyrn76zjypilh5bqw734caaw6g2m49lvbff"; - }) - ] ++ [ - # Likely an upstream test bug and not a real problem: - # https://github.com/jmschrei/pomegranate/issues/939 - ./disable-failed-on-nextworkx-2.6.patch - ] ; - propagatedBuildInputs = [ numpy scipy cython networkx joblib pyyaml ]; checkInputs = [ pandas nose ]; # as of 0.13.5, it depends explicitly on nose, rather than pytest.