Antonio Valentino pushed to branch master at Debian GIS Project / flox
Commits: 7708ee98 by Antonio Valentino at 2026-07-28T20:16:03+00:00 Mark tests as flaky on armhf - - - - - a318276c by Antonio Valentino at 2026-07-28T20:16:09+00:00 New 0003-32bit-compat.patch - - - - - 30a98269 by Antonio Valentino at 2026-07-28T20:16:46+00:00 Set distribution to unstable - - - - - 4 changed files: - debian/changelog - + debian/patches/0003-32bit-compat.patch - debian/patches/series - debian/tests/autopkgtest-pkg-pybuild.conf Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,12 @@ +flox (0.11.2-4) unstable; urgency=medium + + * debian/tests + - Mark tests as flaky on armhf (32 bit architecture). + * debian/patches: + - New 0003-32bit-compat.patch. + + -- Antonio Valentino <[email protected]> Tue, 28 Jul 2026 20:16:32 +0000 + flox (0.11.2-3) unstable; urgency=medium * debian/control: ===================================== debian/patches/0003-32bit-compat.patch ===================================== @@ -0,0 +1,55 @@ +From: Antonio Valentino <[email protected]> +Date: Tue, 28 Jul 2026 20:11:22 +0000 +Subject: 32bit-compat + +Skip tests that are broken on 32bit architectures. + +Forwarded: not-needed +--- + tests/test_core.py | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/tests/test_core.py b/tests/test_core.py +index 2154b99..c56b945 100644 +--- a/tests/test_core.py ++++ b/tests/test_core.py +@@ -1,5 +1,6 @@ + from __future__ import annotations + ++import sys + import itertools + import logging + import warnings +@@ -52,6 +53,8 @@ from . import ( + logger = logging.getLogger("flox") + logger.setLevel(logging.DEBUG) + ++IS_32_BIT = (sys.maxsize == 0x7fffffff) ++ + labels = np.array([0, 0, 2, 2, 2, 1, 1, 2, 2, 1, 1, 0]) + nan_labels = labels.astype(float) # copy + nan_labels[:5] = np.nan +@@ -2005,6 +2008,7 @@ def test_cumsum_simple(array, func) -> None: + assert_equal(actual, expected) + + [email protected](IS_32_BIT, reason="32 bit architecture") + def test_cumsum() -> None: + array = np.array( + [ +@@ -2073,6 +2077,7 @@ def test_blockwise_nans() -> None: + + + @requires_dask [email protected](IS_32_BIT, reason="32 bit architecture") + @pytest.mark.parametrize("func", ["nancumsum", "ffill", "bfill"]) + @pytest.mark.parametrize("method", ["blockwise", "blelloch"]) + def test_groupby_scan_method(func, method) -> None: +@@ -2093,6 +2098,7 @@ def test_groupby_scan_method(func, method) -> None: + + + @requires_dask [email protected](IS_32_BIT, reason="32 bit architecture") + def test_groupby_scan_blockwise_auto_rechunk() -> None: + """Test that blockwise scan auto-rechunks when groups are sorted but span chunks.""" + from flox import scan ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ 0001-Robust-module_available.patch 0002-numpy-2.4-compat.patch +0003-32bit-compat.patch ===================================== debian/tests/autopkgtest-pkg-pybuild.conf ===================================== @@ -1 +1 @@ -architecture=!i386 +architecture=!i386 !armhf View it on GitLab: https://salsa.debian.org/debian-gis-team/flox/-/compare/1d4fcfd6dd3f44557f5b390f7bbe8cd5368064b6...30a98269ebec89743bad4e79363eed9033895c7b -- View it on GitLab: https://salsa.debian.org/debian-gis-team/flox/-/compare/1d4fcfd6dd3f44557f5b390f7bbe8cd5368064b6...30a98269ebec89743bad4e79363eed9033895c7b 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
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
