Merge pull request #74853 from veprbl/pr/fastparquet_0_3_2

pythonPackages.fastparquet: 0.2.1 -> 0.3.2
This commit is contained in:
Dmitry Kalinkin 2019-12-07 21:08:35 -05:00 committed by GitHub
commit ebf645e8e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch, numba, numpy, pandas, { lib, buildPythonPackage, fetchFromGitHub, numba, numpy, pandas, pytestrunner,
pytestrunner, thrift, pytest, python-snappy, lz4 }: thrift, pytest, python-snappy, lz4 }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "fastparquet"; pname = "fastparquet";
version = "0.2.1"; version = "0.3.2";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "dask";
sha256 = "183wdmhnhnlsd7908n3d2g4qnb49fcipqfshghwpbdwdzjpa0day"; repo = pname;
}; rev = version;
sha256 = "142kmyddaq6mvmca23abwns1csn8f3lk9c8mbxwxrg4wa1dh0lb4";
# Fixes for recent pandas version
# See https://github.com/dask/fastparquet/pull/396
patches = fetchpatch {
url = https://github.com/dask/fastparquet/commit/31fb3115598d1ab62a5c8bf7923a27c16f861529.patch;
sha256 = "0r1ig4rydmy4j85dgb52qbsx6knxdwn4dn9h032fg3p6xqq0zlpm";
}; };
postPatch = '' postPatch = ''
@ -27,9 +22,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ numba numpy pandas thrift ]; propagatedBuildInputs = [ numba numpy pandas thrift ];
checkInputs = [ pytest python-snappy lz4 ]; checkInputs = [ pytest python-snappy lz4 ];
# test_data/ missing in PyPI tarball
doCheck = false;
meta = with lib; { meta = with lib; {
description = "A python implementation of the parquet format"; description = "A python implementation of the parquet format";
homepage = https://github.com/dask/fastparquet; homepage = https://github.com/dask/fastparquet;