[Git][debian-gis-team/flox][master] 3 commits: Drop dependency on python3-pytest-pretty
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Tue Jul 28 06:59:17 BST 2026
Antonio Valentino pushed to branch master at Debian GIS Project / flox
Commits:
6438389c by Antonio Valentino at 2026-07-19T07:46:15+00:00
Drop dependency on python3-pytest-pretty
- - - - -
5a579f9b by Antonio Valentino at 2026-07-28T05:46:35+00:00
New 0002-numpy-2.4-compat.patch
- - - - -
1d4fcfd6 by Antonio Valentino at 2026-07-28T05:47:08+00:00
Set distribution to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/0002-numpy-2.4-compat.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+flox (0.11.2-3) unstable; urgency=medium
+
+ * debian/control:
+ - Drop dependency on python3-pytest-pretty.
+ * debian/patches:
+ - New 0002-numpy-2.4-compat.patch (Closes: #1142098).
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Tue, 28 Jul 2026 05:46:38 +0000
+
flox (0.11.2-2) UNRELEASED; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -18,7 +18,6 @@ Build-Depends: debhelper-compat (= 13),
python3-packaging,
python3-pandas,
python3-pytest <!nocheck>,
- python3-pytest-pretty <!nocheck>,
python3-pytest-xdist <!nocheck>,
python3-scipy,
python3-setuptools,
=====================================
debian/patches/0002-numpy-2.4-compat.patch
=====================================
@@ -0,0 +1,22 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Tue, 28 Jul 2026 05:42:05 +0000
+Subject: numpy-2.4-compat
+
+Forwarded: https://github.com/xarray-contrib/flox/pull/514
+---
+ flox/aggregate_npg.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/flox/aggregate_npg.py b/flox/aggregate_npg.py
+index 63ba65b..a9b345b 100644
+--- a/flox/aggregate_npg.py
++++ b/flox/aggregate_npg.py
+@@ -188,7 +188,7 @@ def mode_(array, nan_policy, dtype):
+ # npg splits `array` into object arrays for each group
+ # scipy.stats.mode does not like that
+ # here we cast back
+- return mode(array.astype(dtype, copy=False), nan_policy=nan_policy, axis=-1, keepdims=True).mode
++ return mode(array.astype(dtype, copy=False), nan_policy=nan_policy, axis=-1, keepdims=True).mode.item()
+
+
+ def mode(group_idx, array, engine, *, axis=-1, size=None, fill_value=None, dtype=None):
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
0001-Robust-module_available.patch
+0002-numpy-2.4-compat.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/flox/-/compare/c31e193d2cd1f5d48a24734b0a09944ea8913568...1d4fcfd6dd3f44557f5b390f7bbe8cd5368064b6
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/flox/-/compare/c31e193d2cd1f5d48a24734b0a09944ea8913568...1d4fcfd6dd3f44557f5b390f7bbe8cd5368064b6
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260728/9565e267/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list