deltalake: 0.25.5 -> 1.1.2 (#440208)

This commit is contained in:
h7x4
2025-09-10 23:16:40 +00:00
committed by GitHub

View File

@@ -3,8 +3,8 @@
buildPythonPackage,
fetchPypi,
rustPlatform,
arro3-core,
pyarrow,
pyarrow-hotfix,
openssl,
stdenv,
libiconv,
@@ -14,30 +14,32 @@
pytest-benchmark,
pytest-cov-stub,
pytest-mock,
pytest-timeout,
pandas,
deprecated,
azure-storage-blob,
}:
buildPythonPackage rec {
pname = "deltalake";
version = "0.25.5";
version = "1.1.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-Fz5Lg/z/EPJkdK4RcWHD8r3V9EwwwgRjwktri1IOdlY=";
hash = "sha256-s/iWYoh2zARl3M+0DPdur5d8a1URl+jinaMPBFeruEE=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-6SGVKJu01MzZxJv29PZKea+Z2YwAnvzbdDlnA4R6Az0=";
hash = "sha256-JYstNjd/KC9xp2h72vkQfin/LXNTXeb0hLpGUiGgRlE=";
};
env.OPENSSL_NO_VENDOR = 1;
dependencies = [
pyarrow
pyarrow-hotfix
arro3-core
deprecated
];
buildInputs = [
@@ -64,26 +66,19 @@ buildPythonPackage rec {
pytest-benchmark
pytest-cov-stub
pytest-mock
pytest-timeout
azure-storage-blob
pyarrow
];
preCheck = ''
# For paths in test to work, we have to be in python dir
cp pyproject.toml python/
cd python
# In tests we want to use deltalake that we have built
rm -rf deltalake
'';
pytestFlags = [
"--benchmark-disable"
];
disabledTestMarks = [
"integration"
];
meta = with lib; {
description = "Native Rust library for Delta Lake, with bindings into Python";
homepage = "https://github.com/delta-io/delta-rs";