aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/fastparquet/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/fastparquet/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/fastparquet/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/fastparquet/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/fastparquet/default.nix
index 07922ee19efa..dc25759afe39 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/fastparquet/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/fastparquet/default.nix
@@ -1,5 +1,5 @@
-{ lib, buildPythonPackage, fetchFromGitHub, numba, numpy, pandas, pytestrunner,
-thrift, pytest, python-snappy, lz4, zstd }:
+{ lib, buildPythonPackage, fetchFromGitHub, numba, numpy, pandas, pytestrunner
+, thrift, pytestCheckHook, python-snappy, lz4, zstandard, zstd }:
buildPythonPackage rec {
pname = "fastparquet";
@@ -12,15 +12,13 @@ buildPythonPackage rec {
sha256 = "17i091kky34m2xivk29fqsyxxxa7v4352n79w01n7ni93za6wana";
};
- postPatch = ''
- # FIXME: package zstandard
- # removing the test dependency for now
- substituteInPlace setup.py --replace "'zstandard'," ""
- '';
-
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ numba numpy pandas thrift ];
- checkInputs = [ pytest python-snappy lz4 zstd ];
+ checkInputs = [ pytestCheckHook python-snappy lz4 zstandard zstd ];
+
+ # E ModuleNotFoundError: No module named 'fastparquet.speedups'
+ doCheck = false;
+ pythonImportsCheck = [ "fastparquet" ];
meta = with lib; {
description = "A python implementation of the parquet format";