Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arrow-cpp: 0.9.0 -> 0.10.0 #47832

Merged
merged 1 commit into from Oct 4, 2018
Merged

arrow-cpp: 0.9.0 -> 0.10.0 #47832

merged 1 commit into from Oct 4, 2018

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Oct 3, 2018

pythonPackages.pyarrow: 0.9.0 -> 0.10.0
parquet: 1.4.0 -> 1.5.0

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: arrow-cpp

Partial log (click to expand)

-- Installing: /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib/pkgconfig/arrow-python.pc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0
shrinking /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib/libarrow.so.10.0.0
shrinking /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib/libarrow_python.so.10.0.0
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib
patching script interpreter paths in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0
checking for references to /build in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0...
/nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: arrow-cpp

Partial log (click to expand)

-- Installing: /nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0/lib/pkgconfig/arrow-python.pc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0
shrinking /nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0/lib/libarrow_python.so.10.0.0
shrinking /nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0/lib/libarrow.so.10.0.0
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0/lib
patching script interpreter paths in /nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0
checking for references to /build in /nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0...
/nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: arrow-cpp

Partial log (click to expand)

-- Installing: /nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0/include/arrow/python/python_to_arrow.h
-- Installing: /nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0/include/arrow/python/platform.h
-- Installing: /nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0/include/arrow/python/pyarrow.h
-- Installing: /nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0/include/arrow/python/type_traits.h
-- Installing: /nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0/lib/pkgconfig/arrow-python.pc
post-installation fixup
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0/lib
patching script interpreter paths in /nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0
/nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0

@veprbl
Copy link
Member Author

veprbl commented Oct 4, 2018

@GrahamcOfBorg build arrow-cpp parquet-cpp python2Packages.pyarrow python3Packages.pyarrow

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: arrow-cpp, parquet-cpp, python2Packages.pyarrow, python3Packages.pyarrow

Partial log (click to expand)

    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/nix/store/rpyns4fjgvdwc2v81xjkyv6d0mz3q6ay-python3-3.6.6/lib/python3.6/unittest/loader.py", line 219, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/nix/store/rpyns4fjgvdwc2v81xjkyv6d0mz3q6ay-python3-3.6.6/lib/python3.6/unittest/loader.py", line 153, in loadTestsFromName
    module = __import__(module_name)
  File "/private/tmp/nix-build-python3.6-pyarrow-0.10.0.drv-0/apache-arrow-0.10.0/python/pyarrow/__init__.py", line 50, in <module>
    import pyarrow.compat as compat
AttributeError: module 'pyarrow' has no attribute 'compat'
builder for '/nix/store/b5jyxmqadhkg07r750nwqvam4caac026-python3.6-pyarrow-0.10.0.drv' failed with exit code 1
error: build of '/nix/store/7fzs8059v77pwkrn996vbmqp6c75i87g-python2.7-pyarrow-0.10.0.drv', '/nix/store/b5jyxmqadhkg07r750nwqvam4caac026-python3.6-pyarrow-0.10.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: arrow-cpp, parquet-cpp, python2Packages.pyarrow, python3Packages.pyarrow

Partial log (click to expand)

('Moving built C-extension', 'release/_parquet.so', 'to build path', '/build/apache-arrow-0.10.0/python/pyarrow/_parquet.so')
release/_orc.so
Cython module _orc failure permitted
release/_plasma.so
Cython module _plasma failure permitted
pytestcachePhase
/nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0
/nix/store/mscc8a8xrmvmn596hnfgddkzcb586j7x-parquet-cpp-1.5.0
/nix/store/g8c36lpyksrl73zqxmw58kr9d0rs8rn9-python2.7-pyarrow-0.10.0
/nix/store/yawpixc3wa6492jzg3hkw0jd1p15dq00-python3.6-pyarrow-0.10.0

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: arrow-cpp, parquet-cpp, python2Packages.pyarrow, python3Packages.pyarrow

Partial log (click to expand)

  /nix/store/3pwdm1xqvyqj2y9hb0rvszj4jqjpdr2f-python3.6-pandas-0.23.4/lib/python3.6/site-packages/pandas/core/internals.py:312: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
    return self.values[slicer]
  /nix/store/3pwdm1xqvyqj2y9hb0rvszj4jqjpdr2f-python3.6-pandas-0.23.4/lib/python3.6/site-packages/pandas/core/indexes/datetimelike.py:428: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
    result = getitem(key)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
 5 failed, 16897 passed, 1027 skipped, 11896 deselected, 37 xfailed, 2 xpassed, 10 warnings in 590.84 seconds
builder for '/nix/store/62v3rqb77cqxjrx6r7ln3fl3ii8yz885-python3.6-pandas-0.23.4.drv' failed with exit code 1
cannot build derivation '/nix/store/iaf499nwxn18hshaz09c4f6667d1ps97-python3.6-pyarrow-0.10.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/iaf499nwxn18hshaz09c4f6667d1ps97-python3.6-pyarrow-0.10.0.drv', '/nix/store/zfd2syn1hvazx6j13yr2c2q6rhxkbz92-python2.7-pyarrow-0.10.0.drv' failed

@veprbl
Copy link
Member Author

veprbl commented Oct 4, 2018

Failure on darwin is an old problem. I was never able to reproduce it on my machine, so for now I won't try to fix it.

@@ -1,16 +1,19 @@
{ stdenv, symlinkJoin, fetchurl, boost, brotli, cmake, flatbuffers, gtest, gflags, lz4, python, rapidjson, snappy, zlib, zstd }:
{ stdenv, fetchpatch, symlinkJoin, fetchurl, boost, brotli, cmake, flatbuffers, gtest, gflags, lz4, python, rapidjson, snappy, zlib, zstd }:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the patch is inlined and not actually retrieved via fetchpatch; leftover from development?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I had a private overlay with a bugfix that I never made a PR for. Now fixed.

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, numpy, pandas, pytest, pytestrunner, parquet-cpp, pkgconfig, setuptools_scm, six }:
{ lib, fetchpatch, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, JPype1, numpy, pandas, pytest, pytestrunner, parquet-cpp, pkgconfig, setuptools_scm, six }:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto here.

pythonPackages.pyarrow: 0.9.0 -> 0.10.0
parquet: 1.4.0 -> 1.5.0
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: arrow-cpp

Partial log (click to expand)

/nix/store/rmfwmnww0cf4lj1h4ax2r0wr50qpw7i9-arrow-cpp-0.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: arrow-cpp

Partial log (click to expand)

/nix/store/i0cg7wi8bakvxnv1ll25y4gxlcsfbr2q-arrow-cpp-0.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: arrow-cpp

Partial log (click to expand)

-- Installing: /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib/pkgconfig/arrow-python.pc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0
shrinking /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib/libarrow.so.10.0.0
shrinking /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib/libarrow_python.so.10.0.0
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0/lib
patching script interpreter paths in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0
checking for references to /build in /nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0...
/nix/store/wycy9msx7v14lfmmbn7s2vkar58230b0-arrow-cpp-0.10.0

@Mic92 Mic92 merged commit a363ed1 into NixOS:master Oct 4, 2018
@veprbl veprbl deleted the pr/arrow_0.10.0 branch December 1, 2020 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants