Skip to content

Commit

Permalink
pythonPackages.pyro-ppl: fix build, unmark as broken
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewhewell authored and Jonathan Ringer committed Nov 23, 2020
1 parent 9f2cc6f commit 5ee22ce
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions pkgs/development/python-modules/pyro-ppl/default.nix
@@ -1,15 +1,17 @@
{ buildPythonPackage, fetchPypi, lib, pytorch, contextlib2
, graphviz, networkx, six, opt-einsum, tqdm }:
, graphviz, networkx, six, opt-einsum, tqdm, pyro-api }:

buildPythonPackage rec {
version = "1.4.0";
version = "1.5.1";
pname = "pyro-ppl";

src = fetchPypi {
inherit version pname;
sha256 = "e863321bee141fb8d20d621aedc5925c472e06c08988447490115f54a31487ad";
sha256 = "00mprgf8pf9jq3kanxjldj00cg3nbfkb5yg0mdfbdi0b1rx3vnsa";
};

propagatedBuildInputs = [
pyro-api
pytorch
contextlib2
# TODO(tom): graphviz pulls in a lot of dependencies - make
Expand All @@ -22,18 +24,19 @@ buildPythonPackage rec {
];

# pyro not shipping tests do simple smoke test instead
checkPhase = ''
python -c "import pyro"
python -c "import pyro.distributions"
python -c "import pyro.infer"
python -c "import pyro.optim"
'';
pythonImportsCheck = [
"pyro"
"pyro.distributions"
"pyro.infer"
"pyro.optim"
];

doCheck = false;

meta = {
description = "A Python library for probabilistic modeling and inference";
homepage = "http://pyro.ai";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ teh ];
broken = true;
maintainers = with lib.maintainers; [ teh georgewhewell ];
};
}

0 comments on commit 5ee22ce

Please sign in to comment.