12 # TODO: uncomment when tensorflow-probability gets fixed.
13 # , tensorflow-probability
16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.9";
24 inherit version pname;
25 hash = "sha256-Um8LFVGAlMeOaN9uMwycHJzqEnTaxp8FYXIk+m2VTug=";
28 propagatedBuildInputs = [
39 # TODO: uncomment when tensorflow-probability gets fixed.
40 # tensorflow-probability
43 pythonImportsCheck = [
48 # AssertionError due to tolerance issues
49 "test_beta_binomial_log_prob"
55 "test_kl_dirichlet_dirichlet"
58 # Tests want to download data
61 # RuntimeWarning: overflow encountered in cast
62 "test_zero_inflated_logits_probs_agree"
63 # NameError: unbound axis name: _provenance
64 "test_model_transformation"
67 # TODO: remove when tensorflow-probability gets fixed.
69 "test/test_distributions.py"
73 description = "Library for probabilistic programming with NumPy";
74 homepage = "https://num.pyro.ai/";
75 changelog = "https://github.com/pyro-ppl/numpyro/releases/tag/${version}";
76 license = licenses.asl20;
77 maintainers = with maintainers; [ fab ];