27 # , pymc3 (circular dependency)
29 #, pystan (not packaged)
34 buildPythonPackage rec {
39 disabled = pythonOlder "3.9";
41 src = fetchFromGitHub {
44 rev = "refs/tags/v${version}";
45 hash = "sha256-kixWGj0M0flTq5rXSiPB0nfZaGYRvvMBGAJpehdW8KY=";
48 propagatedBuildInputs = [
70 # pymc3 (circular dependency)
72 # pystan (not packaged)
80 export HOME=$(mktemp -d);
84 "arviz/tests/base_tests/"
88 # Tests require network access
89 "test_plot_separation"
90 "test_plot_trace_legend"
92 # countourpy is not available at the moment
98 # The following two tests fail in a common venv-based setup.
99 # An issue has been opened upstream: https://github.com/arviz-devs/arviz/issues/2282
100 "test_plot_ppc_discrete"
101 "test_plot_ppc_discrete_save_animation"
106 pythonImportsCheck = [
111 description = "Library for exploratory analysis of Bayesian models";
112 homepage = "https://arviz-devs.github.io/arviz/";
113 changelog = "https://github.com/arviz-devs/arviz/blob/v${version}/CHANGELOG.md";
114 license = licenses.asl20;
115 maintainers = with maintainers; [ omnipotententity ];