Merge pull request #280132 from happysalada/update_polars

python310Packages.polars: 0.19.12 -> 0.20.7
This commit is contained in:
Yt 2024-02-11 13:55:38 +00:00 committed by GitHub
commit c8442cab45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2084 additions and 501 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,12 +13,12 @@
}:
let
pname = "polars";
version = "0.19.12";
version = "0.20.7";
rootSource = fetchFromGitHub {
owner = "pola-rs";
repo = "polars";
rev = "refs/tags/py-${version}";
hash = "sha256-6tn3Q6oZfMjgQ5l5xCFnGimLSDLOjTWCW5uEbi6yFZY=";
hash = "sha256-R3by/e28HE+1xq+HQd9wYy/iK+fDM6/IfKuc563atX4=";
};
rust-jemalloc-sys' = rust-jemalloc-sys.override {
jemalloc = jemalloc.override {
@ -48,7 +48,7 @@ buildPythonPackage {
};
};
sourceRoot = "source/py-polars";
buildAndTestSubdir = "py-polars";
# Revisit this whenever package or Rust is upgraded
RUSTC_BOOTSTRAP = 1;
@ -57,6 +57,10 @@ buildPythonPackage {
typing-extensions
];
# trick taken from the polars repo since there seems to be a problem
# with simd enabled with our stable rust (instead of nightly).
maturinBuildFlags = [ "--no-default-features" "--features=all" ];
dontUseCmakeConfigure = true;
nativeBuildInputs = [