git: 3b7760cb880a - main - misc/py-polars{,-runtime}: update 1.44.2 → 2.0.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 11 Oct 2026 15:56:12 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b7760cb880adb58a8907f789fe708c3d439de45

commit 3b7760cb880adb58a8907f789fe708c3d439de45
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-11 15:33:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-11 15:56:08 +0000

    misc/py-polars{,-runtime}: update 1.44.2 → 2.0.0
    
    ChangeLog: https://github.com/pola-rs/polars/releases/tag/py-2.0.0
---
 misc/py-polars-runtime/Makefile                    | 10 +++++-----
 misc/py-polars-runtime/distinfo                    | 22 +++++++++++-----------
 misc/py-polars-runtime/files/patch-Cargo.lock      | 14 +++-----------
 .../patch-crates_polars-ooc_src_global__alloc.rs   |  6 +++---
 .../files/patch-crates_polars-sql_src_functions.rs | 14 +++++++-------
 misc/py-polars/Makefile                            |  4 ++--
 misc/py-polars/distinfo                            |  6 +++---
 7 files changed, 34 insertions(+), 42 deletions(-)

diff --git a/misc/py-polars-runtime/Makefile b/misc/py-polars-runtime/Makefile
index 2538ec07fdfb..0efce8fe77b6 100644
--- a/misc/py-polars-runtime/Makefile
+++ b/misc/py-polars-runtime/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	polars-runtime
 DISTVERSIONPREFIX=	py-
-DISTVERSION=	1.44.2
+DISTVERSION=	2.0.0
 CATEGORIES=	misc
 #MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -117,7 +117,7 @@ CARGO_CRATES=	adler2-2.0.1 \
 		cc-1.4.3 \
 		cfg-if-1.0.4 \
 		cfg_aliases-0.2.2 \
-		chacha20-0.10.1 \
+		chacha20-0.10.2 \
 		chrono-0.4.45 \
 		chrono-tz-0.10.4 \
 		clipboard-win-5.4.1 \
@@ -210,7 +210,6 @@ CARGO_CRATES=	adler2-2.0.1 \
 		halfbrown-0.4.0 \
 		hashbrown-0.15.5 \
 		hashbrown-0.16.1 \
-		hashbrown-0.17.1 \
 		heck-0.5.0 \
 		hex-0.4.3 \
 		hmac-0.12.1 \
@@ -302,6 +301,7 @@ CARGO_CRATES=	adler2-2.0.1 \
 		objc2-io-kit-0.3.2 \
 		objc2-io-surface-0.3.2 \
 		object-0.39.1 \
+		object_store-0.14.2 \
 		once_cell-1.21.4 \
 		openssl-probe-0.2.1 \
 		outref-0.5.2 \
@@ -377,7 +377,7 @@ CARGO_CRATES=	adler2-2.0.1 \
 		rustc_version-0.4.1 \
 		rustflags-0.1.7 \
 		rustix-1.1.4 \
-		rustls-0.23.43 \
+		rustls-0.23.45 \
 		rustls-native-certs-0.8.4 \
 		rustls-pki-types-1.15.1 \
 		rustls-platform-verifier-0.7.0 \
@@ -575,7 +575,7 @@ CARGO_CRATES=	adler2-2.0.1 \
 		zstd-0.13.3 \
 		zstd-safe-7.2.4 \
 		zstd-sys-2.0.16+zstd.1.5.7 \
-		object_store@git+https://github.com/apache/arrow-rs-object-store?rev=b07471e2bc341278f86e30cf80a850d56cbe2c67\#b07471e2bc341278f86e30cf80a850d56cbe2c67 \
+		hashbrown@git+https://github.com/pola-rs/hashbrown?rev=d76a6f81abd8f388676aff15068236a8d21c7e1a\#d76a6f81abd8f388676aff15068236a8d21c7e1a \
 		tikv-jemalloc-sys@git+https://github.com/pola-rs/jemallocator?rev=0d683dfb157097e2075d5e0eaf25f71f514a7552\#0d683dfb157097e2075d5e0eaf25f71f514a7552 \
 		color-backtrace@git+https://github.com/orlp/color-backtrace?rev=20f5eea183563bb4cfac9a4d65901d4a1002cde2\#20f5eea183563bb4cfac9a4d65901d4a1002cde2
 CARGO_TARGET_DIR=	${WRKSRC}/target
diff --git a/misc/py-polars-runtime/distinfo b/misc/py-polars-runtime/distinfo
index c2591aeaef1c..d23a0faa9002 100644
--- a/misc/py-polars-runtime/distinfo
+++ b/misc/py-polars-runtime/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1789406012
+TIMESTAMP = 1791711747
 SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
 SIZE (rust/crates/adler2-2.0.1.crate) = 13366
 SHA256 (rust/crates/adler32-1.2.0.crate) = aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234
@@ -161,8 +161,8 @@ SHA256 (rust/crates/cfg-if-1.0.4.crate) = 9330f8b2ff13f34540b44e946ef35111825727
 SIZE (rust/crates/cfg-if-1.0.4.crate) = 9360
 SHA256 (rust/crates/cfg_aliases-0.2.2.crate) = f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527
 SIZE (rust/crates/cfg_aliases-0.2.2.crate) = 6527
-SHA256 (rust/crates/chacha20-0.10.1.crate) = d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81
-SIZE (rust/crates/chacha20-0.10.1.crate) = 38187
+SHA256 (rust/crates/chacha20-0.10.2.crate) = 65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06
+SIZE (rust/crates/chacha20-0.10.2.crate) = 38197
 SHA256 (rust/crates/chrono-0.4.45.crate) = 1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327
 SIZE (rust/crates/chrono-0.4.45.crate) = 240866
 SHA256 (rust/crates/chrono-tz-0.10.4.crate) = a6139a8597ed92cf816dfb33f5dd6cf0bb93a6adc938f11039f371bc5bcd26c3
@@ -347,8 +347,6 @@ SHA256 (rust/crates/hashbrown-0.15.5.crate) = 9229cfe53dfd69f0609a49f65461bd9300
 SIZE (rust/crates/hashbrown-0.15.5.crate) = 140908
 SHA256 (rust/crates/hashbrown-0.16.1.crate) = 841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100
 SIZE (rust/crates/hashbrown-0.16.1.crate) = 147785
-SHA256 (rust/crates/hashbrown-0.17.1.crate) = ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a
-SIZE (rust/crates/hashbrown-0.17.1.crate) = 155512
 SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
 SIZE (rust/crates/heck-0.5.0.crate) = 11517
 SHA256 (rust/crates/hex-0.4.3.crate) = 7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70
@@ -531,6 +529,8 @@ SHA256 (rust/crates/objc2-io-surface-0.3.2.crate) = 180788110936d59bab6bd83b6060
 SIZE (rust/crates/objc2-io-surface-0.3.2.crate) = 11722
 SHA256 (rust/crates/object-0.39.1.crate) = 2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b
 SIZE (rust/crates/object-0.39.1.crate) = 360376
+SHA256 (rust/crates/object_store-0.14.2.crate) = f1796bc93603f78c5760a69f2d58badc9618d22adade0a95385bb2adbae4eb94
+SIZE (rust/crates/object_store-0.14.2.crate) = 310684
 SHA256 (rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50
 SIZE (rust/crates/once_cell-1.21.4.crate) = 35010
 SHA256 (rust/crates/openssl-probe-0.2.1.crate) = 7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe
@@ -681,8 +681,8 @@ SHA256 (rust/crates/rustflags-0.1.7.crate) = a39e0e9135d7a7208ee80aa4e3e4b88f0f5
 SIZE (rust/crates/rustflags-0.1.7.crate) = 17224
 SHA256 (rust/crates/rustix-1.1.4.crate) = b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190
 SIZE (rust/crates/rustix-1.1.4.crate) = 425241
-SHA256 (rust/crates/rustls-0.23.43.crate) = 0283386ce02abc0151e1761d08802dfe86c173b0b494af5cbc086574e453da06
-SIZE (rust/crates/rustls-0.23.43.crate) = 375868
+SHA256 (rust/crates/rustls-0.23.45.crate) = 0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634
+SIZE (rust/crates/rustls-0.23.45.crate) = 378933
 SHA256 (rust/crates/rustls-native-certs-0.8.4.crate) = dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d
 SIZE (rust/crates/rustls-native-certs-0.8.4.crate) = 22129
 SHA256 (rust/crates/rustls-pki-types-1.15.1.crate) = 2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96
@@ -1077,11 +1077,11 @@ SHA256 (rust/crates/zstd-safe-7.2.4.crate) = 8f49c4d5f0abb602a93fb8736af2a4f4dd9
 SIZE (rust/crates/zstd-safe-7.2.4.crate) = 29350
 SHA256 (rust/crates/zstd-sys-2.0.16+zstd.1.5.7.crate) = 91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748
 SIZE (rust/crates/zstd-sys-2.0.16+zstd.1.5.7.crate) = 775620
-SHA256 (apache-arrow-rs-object-store-b07471e2bc341278f86e30cf80a850d56cbe2c67_GH0.tar.gz) = 2f0a46bf7aeca764fbe5b29db24ae275228431948065b13e5b4ee997a1fc9a97
-SIZE (apache-arrow-rs-object-store-b07471e2bc341278f86e30cf80a850d56cbe2c67_GH0.tar.gz) = 342282
+SHA256 (pola-rs-hashbrown-d76a6f81abd8f388676aff15068236a8d21c7e1a_GH0.tar.gz) = 73ec2342ace1aca956e882f79cb949ef3cc8a7d27aa6460171c61c7ce0ae2a95
+SIZE (pola-rs-hashbrown-d76a6f81abd8f388676aff15068236a8d21c7e1a_GH0.tar.gz) = 162763
 SHA256 (pola-rs-jemallocator-0d683dfb157097e2075d5e0eaf25f71f514a7552_GH0.tar.gz) = 16e36585cd93a0b816bb4b185ca2dbdb479a07cbb4bf75f69bec17d6575f9503
 SIZE (pola-rs-jemallocator-0d683dfb157097e2075d5e0eaf25f71f514a7552_GH0.tar.gz) = 143641
 SHA256 (orlp-color-backtrace-20f5eea183563bb4cfac9a4d65901d4a1002cde2_GH0.tar.gz) = 23750d1e726d51266ea761556603218d3003291622a0285ae183662f2e96a5e7
 SIZE (orlp-color-backtrace-20f5eea183563bb4cfac9a4d65901d4a1002cde2_GH0.tar.gz) = 19183
-SHA256 (pola-rs-polars-py-1.44.2_GH0.tar.gz) = 9790f42bf66d365867757a49d66304864996c70b76d1f51052f7f201fb4f27f6
-SIZE (pola-rs-polars-py-1.44.2_GH0.tar.gz) = 5454913
+SHA256 (pola-rs-polars-py-2.0.0_GH0.tar.gz) = b0047c61205a744ff555961642068ebc894f95960589fde6ff841a3704fb3ec6
+SIZE (pola-rs-polars-py-2.0.0_GH0.tar.gz) = 6140107
diff --git a/misc/py-polars-runtime/files/patch-Cargo.lock b/misc/py-polars-runtime/files/patch-Cargo.lock
index cbfdf3f42c16..3b0e1f15e6e6 100644
--- a/misc/py-polars-runtime/files/patch-Cargo.lock
+++ b/misc/py-polars-runtime/files/patch-Cargo.lock
@@ -7,7 +7,7 @@
 -- so git sources must be removed. The default allocator is used
 -- instead of jemalloc to avoid runtime TLS errors.
 
---- Cargo.lock.orig	2026-09-08 11:51:29 UTC
+--- Cargo.lock.orig	2026-10-06 06:15:22 UTC
 +++ Cargo.lock
 @@ -1084,7 +1084,6 @@ version = "0.7.4"
  [[package]]
@@ -17,15 +17,7 @@
  dependencies = [
   "btparse",
   "termcolor",
-@@ -2883,7 +2882,6 @@ version = "0.14.1"
- [[package]]
- name = "object_store"
- version = "0.14.1"
--source = "git+https://github.com/apache/arrow-rs-object-store?rev=b07471e2bc341278f86e30cf80a850d56cbe2c67#b07471e2bc341278f86e30cf80a850d56cbe2c67"
- dependencies = [
-  "async-trait",
-  "aws-lc-rs",
-@@ -3505,7 +3503,6 @@ dependencies = [
+@@ -3530,7 +3529,6 @@ dependencies = [
   "rand 0.10.2",
   "rand_distr",
   "thread_local",
@@ -33,7 +25,7 @@
   "tokio",
   "uuid",
  ]
-@@ -5309,16 +5306,6 @@ dependencies = [
+@@ -5341,16 +5339,6 @@ dependencies = [
  dependencies = [
   "cc",
   "libc",
diff --git a/misc/py-polars-runtime/files/patch-crates_polars-ooc_src_global__alloc.rs b/misc/py-polars-runtime/files/patch-crates_polars-ooc_src_global__alloc.rs
index 7ad70332338d..0382e72d8aaa 100644
--- a/misc/py-polars-runtime/files/patch-crates_polars-ooc_src_global__alloc.rs
+++ b/misc/py-polars-runtime/files/patch-crates_polars-ooc_src_global__alloc.rs
@@ -1,6 +1,6 @@
---- crates/polars-ooc/src/global_alloc.rs.orig	2026-04-09 13:00:26 UTC
+--- crates/polars-ooc/src/global_alloc.rs.orig	2026-10-06 06:15:22 UTC
 +++ crates/polars-ooc/src/global_alloc.rs
-@@ -42,6 +42,7 @@ fn update_alloc_size(bytes: i64) {
+@@ -66,6 +66,7 @@ fn oomkill() -> ! {
      feature = "fast_alloc",
      target_family = "unix",
      not(target_os = "emscripten"),
@@ -8,7 +8,7 @@
  ))]
  static UNDERLYING_ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
  
-@@ -51,7 +52,7 @@ static UNDERLYING_ALLOC: mimalloc::MiMalloc = mimalloc
+@@ -75,7 +76,7 @@ static UNDERLYING_ALLOC: mimalloc::MiMalloc = mimalloc
  ))]
  static UNDERLYING_ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
  
diff --git a/misc/py-polars-runtime/files/patch-crates_polars-sql_src_functions.rs b/misc/py-polars-runtime/files/patch-crates_polars-sql_src_functions.rs
index 6172c718bc69..83872a605392 100644
--- a/misc/py-polars-runtime/files/patch-crates_polars-sql_src_functions.rs
+++ b/misc/py-polars-runtime/files/patch-crates_polars-sql_src_functions.rs
@@ -1,12 +1,12 @@
 -- https://github.com/pola-rs/polars/issues/25977
 
---- crates/polars-sql/src/functions.rs.orig	2026-03-12 10:40:39 UTC
+--- crates/polars-sql/src/functions.rs.orig	2026-10-06 06:15:22 UTC
 +++ crates/polars-sql/src/functions.rs
-@@ -10,6 +10,7 @@ use polars_ops::series::RoundMode;
- use polars_lazy::prelude::{RankMethod, RankOptions};
- use polars_ops::chunked_array::UnicodeForm;
- use polars_ops::series::RoundMode;
+@@ -11,6 +11,7 @@ use polars_lazy::prelude::ApproxQuantileMethod;
+ use polars_lazy::dsl::Expr;
+ #[cfg(feature = "approx_quantile")]
+ use polars_lazy::prelude::ApproxQuantileMethod;
 +#[allow(ambiguous_glob_imports)]
  use polars_plan::dsl::functions::{
-     as_struct, coalesce, col, cols, concat_str, element, int_range, len, lit, max_horizontal,
-     min_horizontal, when,
+     coalesce, col, cols, concat_str, element, int_range, len, lit, max_horizontal, min_horizontal,
+     when,
diff --git a/misc/py-polars/Makefile b/misc/py-polars/Makefile
index bafa5386e888..61e7573a6391 100644
--- a/misc/py-polars/Makefile
+++ b/misc/py-polars/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	polars
 DISTVERSIONPREFIX=	py-
-DISTVERSION=	1.44.2
+DISTVERSION=	2.0.0
 CATEGORIES=	misc
 #MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/../LICENSE
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 .for runtime in compat 32 64 # same as flavors in misc/py-polars-runtime
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}polars-runtime-${runtime}>0:misc/py-polars-runtime@${runtime}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}polars-runtime-${runtime}==${DISTVERSION}:misc/py-polars-runtime@${runtime}
 .endfor
 # optional dependencies
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}altair>=5.4.0:graphics/py-altair@${PY_FLAVOR} \
diff --git a/misc/py-polars/distinfo b/misc/py-polars/distinfo
index 3a22b5593fa8..c6b16af8c460 100644
--- a/misc/py-polars/distinfo
+++ b/misc/py-polars/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1789410072
-SHA256 (pola-rs-polars-py-1.44.2_GH0.tar.gz) = 9790f42bf66d365867757a49d66304864996c70b76d1f51052f7f201fb4f27f6
-SIZE (pola-rs-polars-py-1.44.2_GH0.tar.gz) = 5454913
+TIMESTAMP = 1791732224
+SHA256 (pola-rs-polars-py-2.0.0_GH0.tar.gz) = b0047c61205a744ff555961642068ebc894f95960589fde6ff841a3704fb3ec6
+SIZE (pola-rs-polars-py-2.0.0_GH0.tar.gz) = 6140107