From 71092348b3e5b387c72485d44131eb5c2ff79fe8 Mon Sep 17 00:00:00 2001 From: Daniel Gafni Date: Thu, 28 Aug 2025 15:04:22 +0200 Subject: [PATCH] :arrow_up: bump polars to >=1.32.0 --- .gitignore | 3 ++- polars_hash/Cargo.toml | 8 ++++---- polars_hash/pyproject.toml | 2 +- polars_hash/src/lib.rs | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index c91baaa..f8de3d2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +polars_hash/target /pyo3-polars/target rust-toolchain.toml *.pyc @@ -106,4 +107,4 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb -# End of https://www.toptal.com/developers/gitignore/api/linux,rust,python,osx \ No newline at end of file +# End of https://www.toptal.com/developers/gitignore/api/linux,rust,python,osx diff --git a/polars_hash/Cargo.toml b/polars_hash/Cargo.toml index c6c5de9..dc5375b 100644 --- a/polars_hash/Cargo.toml +++ b/polars_hash/Cargo.toml @@ -8,10 +8,10 @@ name = "polars_hash" crate-type = ["cdylib"] [dependencies] -polars = { version = "0.44.2", features = ["dtype-struct"] } -polars-arrow = { version = "0.44.2" } -pyo3 = { version = "0.21", features = ["extension-module", "abi3-py38"] } -pyo3-polars = { version = "0.18.0", features = ["derive", "dtype-struct"] } +polars = { version = "0.45", features = ["dtype-struct"] } +polars-arrow = { version = "0.45" } +pyo3 = { version = "0.22", features = ["extension-module", "abi3-py38"] } +pyo3-polars = { version = "0.19", features = ["derive", "dtype-struct"] } serde = { version = "1", features = ["derive"] } wyhash = { version = "0.5.0" } geohash = { version = "0.13.1" } diff --git a/polars_hash/pyproject.toml b/polars_hash/pyproject.toml index e877bec..e768695 100644 --- a/polars_hash/pyproject.toml +++ b/polars_hash/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "maturin" name = "polars-hash" requires-python = ">=3.8" dependencies = [ - 'polars >= 1.5.0' + 'polars >= 1.32.0' ] classifiers = [ "Programming Language :: Rust", diff --git a/polars_hash/src/lib.rs b/polars_hash/src/lib.rs index 216e813..4850770 100644 --- a/polars_hash/src/lib.rs +++ b/polars_hash/src/lib.rs @@ -5,7 +5,7 @@ mod murmurhash_hashers; mod sha_hashers; mod xxhash_hashers; -use pyo3::types::PyModule; +use pyo3::types::{PyModule, PyModuleMethods}; use pyo3::{pymodule, Bound, PyResult, Python}; use pyo3_polars::PolarsAllocator;