From 57b2a0b13cd1c43239ebd9634fa43fb477fe8485 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 21 Dec 2025 23:15:32 +0000 Subject: [PATCH 1/2] python3Packages.parquet: cleanup --- .../python-modules/fastparquet/default.nix | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/fastparquet/default.nix b/pkgs/development/python-modules/fastparquet/default.nix index 6f530dee5980..e4478f4d3134 100644 --- a/pkgs/development/python-modules/fastparquet/default.nix +++ b/pkgs/development/python-modules/fastparquet/default.nix @@ -1,21 +1,29 @@ { lib, buildPythonPackage, - cramjam, - cython, fetchFromGitHub, + + # build-system + cython, + setuptools, + setuptools-scm, + + # nativeBuildInputs + gitMinimal, + + # dependencies + cramjam, fsspec, - git, numpy, packaging, pandas, - pytestCheckHook, + + # optional-dependencies python-lzo, + + # tests + pytestCheckHook, python, - pythonOlder, - setuptools-scm, - setuptools, - wheel, }: buildPythonPackage rec { @@ -23,8 +31,6 @@ buildPythonPackage rec { version = "2025.12.0"; pyproject = true; - disabled = pythonOlder "3.10"; - src = fetchFromGitHub { owner = "dask"; repo = "fastparquet"; @@ -33,15 +39,13 @@ buildPythonPackage rec { }; build-system = [ + cython setuptools setuptools-scm - wheel ]; nativeBuildInputs = [ - cython - git - numpy + gitMinimal ]; dependencies = [ From bcae4aab3a39327f85f5d6420496babadb363382 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 21 Dec 2025 23:17:24 +0000 Subject: [PATCH 2/2] python3Packages.parquet: fix hash --- pkgs/development/python-modules/fastparquet/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/fastparquet/default.nix b/pkgs/development/python-modules/fastparquet/default.nix index e4478f4d3134..45932a9181b2 100644 --- a/pkgs/development/python-modules/fastparquet/default.nix +++ b/pkgs/development/python-modules/fastparquet/default.nix @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "dask"; repo = "fastparquet"; tag = version; - hash = "sha256-saTKmS0lhPvsxwNxTYwHtR7d85esPUyxzXYheVbaZsI="; + hash = "sha256-cebu3E2sbVWRUYbSeuslCZhaF+zWV7E56iSwB7Ms3ts="; }; build-system = [