arrow-cpp: 15.0.0 -> 16.0.0

This commit is contained in:
Tobias Mayer 2024-04-27 20:31:36 +02:00
parent 26170245b0
commit a79cf570c1
No known key found for this signature in database
GPG key ID: F8657E90819A1298
2 changed files with 8 additions and 20 deletions

View file

@ -64,26 +64,26 @@ let
name = "arrow-testing";
owner = "apache";
repo = "arrow-testing";
rev = "ad82a736c170e97b7c8c035ebd8a801c17eec170";
hash = "sha256-wN0dam0ZXOAJ+D8bGDMhsdaV3llI9LsiCXwqW9mR3gQ=";
rev = "25d16511e8d42c2744a1d94d90169e3a36e92631";
hash = "sha256-fXeWM/8jBfJY7KL6PVfRbzB8i4sp6PHsnMSHCX5kzfI=";
};
parquet-testing = fetchFromGitHub {
name = "parquet-testing";
owner = "apache";
repo = "parquet-testing";
rev = "d69d979223e883faef9dc6fe3cf573087243c28a";
hash = "sha256-CUckfNjfDW05crWigzMP5b9UynviXKGZUlIr754OoGU=";
rev = "74278bc4a1122d74945969e6dec405abd1533ec3";
hash = "sha256-WbpndtAviph6+I/F2bevuMI9DkfSv4SMPgMaP98k6Qo=";
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "arrow-cpp";
version = "15.0.0";
version = "16.0.0";
src = fetchurl {
url = "mirror://apache/arrow/arrow-${finalAttrs.version}/apache-arrow-${finalAttrs.version}.tar.gz";
hash = "sha256-Ad0/cOhdm1uTPsksDbik71BKUQX3jS2GIuhCeftFwl0=";
hash = "sha256-n0BRrpRzyXmR2a+AHi+UrjRVBncZyn+QuBN/nppwC40=";
};
sourceRoot = "apache-arrow-${finalAttrs.version}/cpp";
@ -116,8 +116,8 @@ stdenv.mkDerivation (finalAttrs: {
ARROW_SUBSTRAIT_URL = fetchFromGitHub {
owner = "substrait-io";
repo = "substrait";
rev = "v0.27.0";
hash = "sha256-wptEAXembah04pzqAz6UHeUxp+jMf6Lh/IdyuIhy/a8=";
rev = "v0.44.0";
hash = "sha256-V739IFTGPtbGPlxcOi8sAaYSDhNUEpITvN9IqdPReug=";
};
nativeBuildInputs = [

View file

@ -34,15 +34,6 @@ buildPythonPackage rec {
sourceRoot = "apache-arrow-${version}/python";
postPatch = ''
substituteInPlace pyproject.toml setup.py \
--replace "setuptools_scm < 8.0.0" "setuptools_scm"
'' + lib.optionalString (pythonAtLeast "3.12") ''
substituteInPlace ./cmake_modules/FindPython3Alt.cmake --replace-fail \
"from distutils import sysconfig" \
"import sysconfig"
'';
nativeBuildInputs = [
cmake
cython_0
@ -78,8 +69,6 @@ buildPythonPackage rec {
PYARROW_WITH_HDFS = zero_or_one true;
PYARROW_WITH_PARQUET = zero_or_one true;
PYARROW_WITH_PARQUET_ENCRYPTION = zero_or_one true;
# Plasma is deprecated since arrow 10.0.0
PYARROW_WITH_PLASMA = zero_or_one false;
PYARROW_WITH_S3 = zero_or_one arrow-cpp.enableS3;
PYARROW_WITH_GCS = zero_or_one arrow-cpp.enableGcs;
PYARROW_BUNDLE_ARROW_CPP_HEADERS = zero_or_one false;
@ -172,7 +161,6 @@ buildPythonPackage rec {
"feather"
"flight"
"fs"
"hdfs"
"json"
"parquet"
];