diff --git a/pkgs/by-name/ar/arrow-cpp/package.nix b/pkgs/by-name/ar/arrow-cpp/package.nix index e675f1a55df8..3becc5f51f39 100644 --- a/pkgs/by-name/ar/arrow-cpp/package.nix +++ b/pkgs/by-name/ar/arrow-cpp/package.nix @@ -80,7 +80,7 @@ let hash = "sha256-Xd6o3RT6Q0tPutV77J0P1x3F6U3RHdCBOKGUKtkQCKk="; }; - version = "23.0.0"; + version = "24.0.0"; in stdenv.mkDerivation (finalAttrs: { pname = "arrow-cpp"; @@ -90,7 +90,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "apache"; repo = "arrow"; rev = "apache-arrow-${version}"; - hash = "sha256-BluUlbtGJwvlrpN/c/KziOfFh5dvzZyuCy4JZkkFea4="; + hash = "sha256-qTdkzZegANNvtO7nbqXVC8hc7BexvmeFF/0l5VzRb8g="; }; sourceRoot = "${finalAttrs.src.name}/cpp"; @@ -305,6 +305,8 @@ stdenv.mkDerivation (finalAttrs: { "arrow-flight-integration-test" # File already exists in database: orc_proto.proto "arrow-orc-adapter-test" + # missing test fixture + "parquet-encryption-test" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # https://github.com/NixOS/nixpkgs/issues/460687 diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix index 9f4366c6685d..f21dac9e39cc 100644 --- a/pkgs/development/python-modules/pyarrow/default.nix +++ b/pkgs/development/python-modules/pyarrow/default.nix @@ -11,14 +11,16 @@ cython, fsspec, hypothesis, + libcst, + ninja, numpy, pandas, pytestCheckHook, pytest-lazy-fixture, pkg-config, + scikit-build-core, setuptools, setuptools-scm, - oldest-supported-numpy, }: let @@ -32,18 +34,21 @@ buildPythonPackage rec { sourceRoot = "${src.name}/python"; - nativeBuildInputs = [ + build-system = [ + scikit-build-core cmake cython + libcst + ninja + numpy pkg-config setuptools setuptools-scm - oldest-supported-numpy ]; buildInputs = [ arrow-cpp ]; - propagatedBuildInputs = [ + dependencies = [ cffi numpy ]; @@ -134,6 +139,12 @@ buildPythonPackage rec { "pyarrow/tests/test_udf.py::test_scalar_input" "pyarrow/tests/test_udf.py::test_scalar_udf_context" "pyarrow/tests/test_udf.py::test_udf_array_unary" + # CSV pickle mismatches + "pyarrow/tests/test_csv.py::TestThreadedStreamingCSVRead::test_invalid_row_handler[" + "pyarrow/tests/test_csv.py::TestThreadedStreamingCSVRead::test_row_number_offset_in_errors" + "pyarrow/tests/test_csv.py::TestThreadedStreamingCSVRead::test_row_number_offset_in_errors" + # Does not raise NotImplementedError + "pyarrow/tests/test_table.py::test_table_group_by_first" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Requires loopback networking.