nixpkgs/pkgs/development/python-modules/pyarrow
Dmitry Kalinkin 6ae3cb4d36
pythonPackages.pyarrow: fix running tests on hydra
This replaces standard checkPhase using setup.py that uses pytest-runner
with an explicit call to pytest. One reason to do that is because
setup.py triggers another rebuild when asked to do "test". Another
reason is that there seems to be a conflict between possible imports for
pyarrow: `pwd`/pyarrow vs $out/pyarrow. By some unknown reason this
triggers an import error on hydra and ofborg, but not on my machine. The
solution here is to remove `pwd`/pyarrow, keep the tests and use direct
call to pytest (setup.py needs `pwd`/pyarrow). The added benefit is that
we are now testing what is installed in $out.
2018-10-25 23:12:16 -04:00
..
default.nix pythonPackages.pyarrow: fix running tests on hydra 2018-10-25 23:12:16 -04:00