Skip to content

Commit

Permalink
python3Packages.pomegranate: 0.13.5 -> 0.14.8
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed May 29, 2022
1 parent 58fa3c3 commit 1700364
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions pkgs/development/python-modules/pomegranate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1700364

Please sign in to comment.