From 56ec5a25774196473d3773e2a16a7f416b022098 Mon Sep 17 00:00:00 2001 From: Tobias Mayer Date: Sun, 29 Mar 2020 18:03:18 +0200 Subject: [PATCH] pythonPackages.pyarrow: fix test --- pkgs/development/python-modules/pyarrow/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix index ab05f49ac38..6d51729e0c3 100644 --- a/pkgs/development/python-modules/pyarrow/default.nix +++ b/pkgs/development/python-modules/pyarrow/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, python, isPy3k, arrow-cpp, cmake, cython, futures, hypothesis, numpy, pandas, pytest, pytest-lazy-fixture, pkgconfig, setuptools_scm, six }: +{ lib, fetchpatch, buildPythonPackage, python, isPy3k, arrow-cpp, cmake, cython, futures, hypothesis, numpy, pandas, pytest, pytest-lazy-fixture, pkgconfig, setuptools_scm, six }: let _arrow-cpp = arrow-cpp.override { inherit python; }; @@ -9,6 +9,16 @@ buildPythonPackage rec { inherit (_arrow-cpp) version src; + patches = [ + # Remove when updating pkgs.arrow-cpp to 0.17 + (fetchpatch { + name = "ARROW-8106-fix-conversion-test"; + url = "https://github.com/apache/arrow/commit/af20bbff30adc560d7e57dd921345d00cc8b870c.patch"; + sha256 = "0ihpw589vh35va31ajzy5zpx3bqd9gdn3342rghi03r245kch9zd"; + stripLen = 1; + }) + ]; + sourceRoot = "apache-arrow-${version}/python"; nativeBuildInputs = [ cmake cython pkgconfig setuptools_scm ];