pythonPackages.pandas: minor fixes tests
This commit is contained in:
parent
a9cbac6322
commit
7fa72a7602
@ -56,7 +56,7 @@ in buildPythonPackage rec {
|
|||||||
|
|
||||||
# For OSX, we need to add a dependency on libcxx, which provides
|
# For OSX, we need to add a dependency on libcxx, which provides
|
||||||
# `complex.h` and other libraries that pandas depends on to build.
|
# `complex.h` and other libraries that pandas depends on to build.
|
||||||
patchPhase = optionalString isDarwin ''
|
postPatch = optionalString isDarwin ''
|
||||||
cpp_sdk="${libcxx}/include/c++/v1";
|
cpp_sdk="${libcxx}/include/c++/v1";
|
||||||
echo "Adding $cpp_sdk to the setup.py common_include variable"
|
echo "Adding $cpp_sdk to the setup.py common_include variable"
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
@ -71,12 +71,11 @@ in buildPythonPackage rec {
|
|||||||
|
|
||||||
# The flag `-A 'not network'` will disable tests that use internet.
|
# The flag `-A 'not network'` will disable tests that use internet.
|
||||||
# The `-e` flag disables a few problematic tests.
|
# The `-e` flag disables a few problematic tests.
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
# The flag `-w` provides the initial directory to search for tests.
|
# The flag `-w` provides the initial directory to search for tests.
|
||||||
# The flag `-A 'not network'` will disable tests that use internet.
|
# The flag `-A 'not network'` will disable tests that use internet.
|
||||||
nosetests -w $out/${python.sitePackages}/pandas --no-path-adjustment -A 'not slow and not network' --stop \
|
nosetests -w $out/${python.sitePackages}/pandas --no-path-adjustment -A 'not slow and not network' \
|
||||||
--verbosity=3
|
--verbosity=3
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user