mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
pythonPackages.scikitlearn: disable doctests
fixes https://github.com/NixOS/nixpkgs/issues/35436
This commit is contained in:
parent
bc9dc2ccf1
commit
cc305174e2
@ -21,8 +21,9 @@ buildPythonPackage rec {
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
# Disable doctests on OSX: https://github.com/scikit-learn/scikit-learn/issues/10213
|
||||
# Disable doctests everywhere: https://github.com/NixOS/nixpkgs/issues/35436
|
||||
checkPhase = ''
|
||||
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests ${stdenv.lib.optionalString stdenv.isDarwin "--doctest-options=+SKIP"} $out/${python.sitePackages}/sklearn/
|
||||
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests --doctest-options=+SKIP $out/${python.sitePackages}/sklearn/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user