python311Packages.fastparquet: 2023.7.0 -> 2024.2.0

Diff: https://github.com/dask/fastparquet/compare/refs/tags/2023.7.0...2024.2.0
This commit is contained in:
Fabian Affolter
2024-02-27 17:30:02 +01:00
parent 1616a48878
commit 0d8a63d5ba
@@ -20,18 +20,27 @@
buildPythonPackage rec {
pname = "fastparquet";
version = "2023.7.0";
format = "pyproject";
version = "2024.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "dask";
repo = pname;
rev = version;
hash = "sha256-pJ0zK0upEV7TyuNMIcozugkwBlYpK/Dg6BdB0kBpn9k=";
repo = "fastparquet";
rev = "refs/tags/${version}";
hash = "sha256-e0gnC/HMYdrYdEwy6qNOD1J52xgN2x81oCG03YNsYjg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"pytest-runner"' ""
sed -i \
-e "/pytest-runner/d" \
-e '/"git", "status"/d' setup.py
'';
nativeBuildInputs = [
cython
oldest-supported-numpy
@@ -40,15 +49,6 @@ buildPythonPackage rec {
wheel
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"pytest-runner"' ""
sed -i \
-e "/pytest-runner/d" \
-e '/"git", "status"/d' setup.py
'';
propagatedBuildInputs = [
cramjam
fsspec
@@ -85,7 +85,7 @@ buildPythonPackage rec {
];
meta = with lib; {
description = "A python implementation of the parquet format";
description = "Implementation of the parquet format";
homepage = "https://github.com/dask/fastparquet";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ veprbl ];