From 0d8a63d5ba75d055019da9fdc8ff107528ac7f9b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 27 Feb 2024 17:30:02 +0100 Subject: [PATCH] python311Packages.fastparquet: 2023.7.0 -> 2024.2.0 Diff: https://github.com/dask/fastparquet/compare/refs/tags/2023.7.0...2024.2.0 --- .../python-modules/fastparquet/default.nix | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/fastparquet/default.nix b/pkgs/development/python-modules/fastparquet/default.nix index 9105fbd40612..1ceeecafb638 100644 --- a/pkgs/development/python-modules/fastparquet/default.nix +++ b/pkgs/development/python-modules/fastparquet/default.nix @@ -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 ];