pythonPackages.pymc3: fix build

This commit is contained in:
Robert Scott 2020-10-03 23:50:03 +01:00 committed by Jon
parent 9a09285f5a
commit 3c3295a02d

View file

@ -14,6 +14,8 @@
, pytest , pytest
, nose , nose
, parameterized , parameterized
, fastprogress
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -41,6 +43,8 @@ buildPythonPackage rec {
h5py h5py
arviz arviz
packaging packaging
fastprogress
typing-extensions
]; ];
checkInputs = [ checkInputs = [
@ -52,6 +56,7 @@ buildPythonPackage rec {
# The test suite is computationally intensive and test failures are not # The test suite is computationally intensive and test failures are not
# indicative for package usability hence tests are disabled by default. # indicative for package usability hence tests are disabled by default.
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pymc3" ];
# For some reason tests are run as a part of the *install* phase if enabled. # For some reason tests are run as a part of the *install* phase if enabled.
# Theano writes compiled code to ~/.theano hence we set $HOME. # Theano writes compiled code to ~/.theano hence we set $HOME.