python311Packages.crate: 0.34.0 -> 0.35.2

Changelog: https://github.com/crate/crate-python/blob/0.35.2/CHANGES.txt

Closes #291423.
This commit is contained in:
Doron Behar 2024-03-02 22:27:09 +02:00
parent 7a1b97825b
commit 848f5533fa

View File

@ -1,9 +1,12 @@
{ lib
, fetchPypi
, buildPythonPackage
, fetchpatch
, dask
, urllib3
, geojson
, verlib2
, pueblo
, pandas
, pythonOlder
, sqlalchemy
@ -13,20 +16,35 @@
buildPythonPackage rec {
pname = "crate";
version = "0.34.0";
version = "0.35.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-nEWrfCd2MQCcIM6dLkVYc/cWT5wcT/pvYaY2V3wfuto=";
hash = "sha256-4hGACtsK71hvcn8L9ggID7zR+umtTwvskBxSHBpLyME=";
};
patches = [
# Fix a pandas issue https://github.com/crate/crate-python/commit/db7ba4d0e1f4f4087739a8f9ebe1d71946333979
(fetchpatch {
url = "https://github.com/crate/crate-python/commit/db7ba4d0e1f4f4087739a8f9ebe1d71946333979.patch";
hash = "sha256-20g8T0t5gPMbK6kRJ2bzc4BNbB1Dg4hvngXNUPvxi5I=";
name = "python-crate-fix-pandas-error.patch";
# Patch doesn't apply due to other changes to these files
excludes = [
"setup.py"
"docs/by-example/sqlalchemy/dataframe.rst"
];
})
];
propagatedBuildInputs = [
urllib3
sqlalchemy
geojson
verlib2
pueblo
];
nativeCheckInputs = [