python312Packages.fastparquet: 2024.2.0 -> 2024.5.0

Diff: https://github.com/dask/fastparquet/compare/refs/tags/2024.2.0...2024.5.0

Changelog: https://github.com/dask/fastparquet/blob/2024.5.0/docs/source/releasenotes.rst
(cherry picked from commit 5799862064)
This commit is contained in:
Fabian Affolter 2024-05-23 19:46:36 +02:00 committed by github-actions[bot]
parent cb0e3947ca
commit 95f30a8834

View File

@ -1,62 +1,61 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
python,
cython,
oldest-supported-numpy,
setuptools,
setuptools-scm,
numpy,
pandas,
cramjam,
cython,
fetchFromGitHub,
fsspec,
thrift,
python-lzo,
pytestCheckHook,
pythonOlder,
git,
numpy,
oldest-supported-numpy,
packaging,
pandas,
pytestCheckHook,
python-lzo,
python,
pythonOlder,
setuptools-scm,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "fastparquet";
version = "2024.2.0";
version = "2024.5.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "dask";
repo = "fastparquet";
rev = "refs/tags/${version}";
hash = "sha256-e0gnC/HMYdrYdEwy6qNOD1J52xgN2x81oCG03YNsYjg=";
hash = "sha256-YiaVkpPzH8ZmTiEtCom9xLbKzByIt7Ilig/WlmGrYH4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"pytest-runner"' ""
sed -i \
-e "/pytest-runner/d" \
-e '/"git", "status"/d' setup.py
--replace-fail "numpy>=2.0.0rc1" "oldest-supported-numpy"
'';
nativeBuildInputs = [
cython
oldest-supported-numpy
build-system = [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = [
nativeBuildInputs = [
cython
git
oldest-supported-numpy
];
dependencies = [
cramjam
fsspec
numpy
pandas
thrift
packaging
pandas
];
passthru.optional-dependencies = {
@ -82,7 +81,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Implementation of the parquet format";
homepage = "https://github.com/dask/fastparquet";
license = with licenses; [ asl20 ];
changelog = "https://github.com/dask/fastparquet/blob/${version}/docs/source/releasenotes.rst";
license = licenses.asl20;
maintainers = with maintainers; [ veprbl ];
};
}