mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #175628 from knl/pyarrow-on-darwin-enable
Fix: make pyarrow buildable on darwin
This commit is contained in:
commit
2ab46138fb
@ -83,12 +83,19 @@ buildPythonPackage rec {
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# Requires loopback networking
|
||||
"--deselect=pyarrow/tests/test_ipc.py::test_socket_"
|
||||
"--deselect=pyarrow/tests/test_flight.py::test_never_sends_data"
|
||||
"--deselect=pyarrow/tests/test_flight.py::test_large_descriptor"
|
||||
"--deselect=pyarrow/tests/test_flight.py::test_large_metadata_client"
|
||||
"--deselect=pyarrow/tests/test_flight.py::test_none_action_side_effect"
|
||||
];
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
preCheck = ''
|
||||
shopt -s extglob
|
||||
rm -r pyarrow/!(tests)
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
# OSError: [Errno 24] Too many open files
|
||||
ulimit -n 1024
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pyarrow" ] ++ map (module: "pyarrow.${module}") ([
|
||||
@ -104,7 +111,6 @@ buildPythonPackage rec {
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [ "plasma" ]);
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "A cross-language development platform for in-memory data";
|
||||
homepage = "https://arrow.apache.org/";
|
||||
license = licenses.asl20;
|
||||
|
Loading…
Reference in New Issue
Block a user