Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6fc7d8a15e35
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0eb2c1927e07
Choose a head ref
  • 4 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 26, 2019

  1. pythonPackages.pyarrow: fix build

    Setting setupPyBuildFlags makes builder add an additional target
    "build_ext" to setup.py arguments in addition to "bdisst_wheel".
    pyarrow's setup.py recently started to try to redo build_ext again which
    broke the build.
    veprbl committed Mar 26, 2019
    Copy the full SHA
    49e9194 View commit details
  2. Copy the full SHA
    55223a8 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2645454 View commit details
  4. Merge pull request #58326 from veprbl/pr/pyarrow_fix_2

    pythonPackages.pyarrow: fix build
    veprbl authored Mar 26, 2019
    Copy the full SHA
    0eb2c19 View commit details
Showing with 9 additions and 2 deletions.
  1. +9 −2 pkgs/development/python-modules/pyarrow/default.nix
11 changes: 9 additions & 2 deletions pkgs/development/python-modules/pyarrow/default.nix
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ buildPythonPackage rec {
checkInputs = [ hypothesis pandas pytest ];

PYARROW_BUILD_TYPE = "release";
PYARROW_WITH_PARQUET = true;
PYARROW_CMAKE_OPTIONS = [
"-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib"

@@ -24,6 +25,10 @@ buildPythonPackage rec {
"-DCMAKE_POLICY_DEFAULT_CMP0025=NEW"
];

preBuild = ''
export PYARROW_PARALLEL=$NIX_BUILD_CORES
'';

preCheck = ''
rm pyarrow/tests/test_jvm.py
rm pyarrow/tests/test_hdfs.py
@@ -43,13 +48,15 @@ buildPythonPackage rec {
# when it is not intended to be imported at all
rm pyarrow/tests/deserialize_buffer.py
substituteInPlace pyarrow/tests/test_feather.py --replace "test_deserialize_buffer_in_different_process" "_disabled"
# Fails to bind a socket
# "PermissionError: [Errno 1] Operation not permitted"
substituteInPlace pyarrow/tests/test_ipc.py --replace "test_socket_" "_disabled"
'';

ARROW_HOME = _arrow-cpp;
PARQUET_HOME = _arrow-cpp;

setupPyBuildFlags = ["--with-parquet" ];

checkPhase = ''
mv pyarrow/tests tests
rm -rf pyarrow