Your message dated Tue, 28 Jul 2026 06:19:24 +0000
with message-id <[email protected]>
and subject line Bug#1142098: fixed in flox 0.11.2-3
has caused the Debian Bug report #1142098,
regarding flox: autopkgtest regression with NumPy 2.4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1142098: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142098
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: flox
Version: 0.11.2-1
Severity: serious
User: [email protected]
Usertags: numpy2.4

Hi Maintainer

The autopkgtests of flox fail when tested with NumPy 2.4 [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/f/flox/testing/amd64/


493s =================================== FAILURES
===================================
493s _________________ test_cohorts_nd_by[flox-blockwise-None-mode]
_________________
493s TypeError: only 0-dimensional arrays can be converted to Python scalars
493s
493s The above exception was the direct cause of the following exception:
493s ../../build.55d/src/tests/test_core.py:1211: in test_cohorts_nd_by
493s     expected, sorted_groups = groupby_reduce(array.compute(), by, **kwargs)
493s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
493s ../../build.55d/src/flox/core.py:1076: in groupby_reduce
493s     results = _reduce_blockwise(
493s ../../build.55d/src/flox/core.py:502: in _reduce_blockwise
493s     results = chunk_reduce(
493s ../../build.55d/src/flox/core.py:368: in chunk_reduce
493s     result = generic_aggregate(
493s ../../build.55d/src/flox/aggregations.py:124: in generic_aggregate
493s     result = method(
493s ../../build.55d/src/flox/aggregate_npg.py:195: in mode
493s     return npg.aggregate_numpy.aggregate(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:381:
in aggregate
493s     return _aggregate_base(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:331:
in _aggregate_base
493s     ret = _impl_dict.get("generic", _generic_callable)(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:240:
in _generic_callable
493s     ret[i] = func(grp)
493s     ^^^^^^
493s E   ValueError: setting an array element with a sequence.
493s _______________ test_cohorts_nd_by[flox-blockwise-None-nanmode]
________________
493s TypeError: only 0-dimensional arrays can be converted to Python scalars
493s
493s The above exception was the direct cause of the following exception:
493s ../../build.55d/src/tests/test_core.py:1211: in test_cohorts_nd_by
493s     expected, sorted_groups = groupby_reduce(array.compute(), by, **kwargs)
493s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
493s ../../build.55d/src/flox/core.py:1076: in groupby_reduce
493s     results = _reduce_blockwise(
493s ../../build.55d/src/flox/core.py:502: in _reduce_blockwise
493s     results = chunk_reduce(
493s ../../build.55d/src/flox/core.py:368: in chunk_reduce
493s     result = generic_aggregate(
493s ../../build.55d/src/flox/aggregations.py:124: in generic_aggregate
493s     result = method(
493s ../../build.55d/src/flox/aggregate_npg.py:207: in nanmode
493s     return npg.aggregate_numpy.aggregate(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:381:
in aggregate
493s     return _aggregate_base(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:331:
in _aggregate_base
493s     ret = _impl_dict.get("generic", _generic_callable)(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:240:
in _generic_callable
493s     ret[i] = func(grp)
493s     ^^^^^^
493s E   ValueError: setting an array element with a sequence.
493s ________________________ test_dtype[flox-float32-mode]
_________________________
493s TypeError: only 0-dimensional arrays can be converted to Python scalars
493s
493s The above exception was the direct cause of the following exception:
493s ../../build.55d/src/tests/test_core.py:1564: in test_dtype
493s     actual, _ = groupby_reduce(
493s ../../build.55d/src/flox/core.py:1076: in groupby_reduce
493s     results = _reduce_blockwise(
493s ../../build.55d/src/flox/core.py:502: in _reduce_blockwise
493s     results = chunk_reduce(
493s ../../build.55d/src/flox/core.py:368: in chunk_reduce
493s     result = generic_aggregate(
493s ../../build.55d/src/flox/aggregations.py:124: in generic_aggregate
493s     result = method(
493s ../../build.55d/src/flox/aggregate_npg.py:195: in mode
493s     return npg.aggregate_numpy.aggregate(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:381:
in aggregate
493s     return _aggregate_base(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:331:
in _aggregate_base
493s     ret = _impl_dict.get("generic", _generic_callable)(
493s /usr/lib/python3/dist-packages/numpy_groupies/aggregate_numpy.py:240:
in _generic_callable
493s     ret[i] = func(grp)
493s     ^^^^^^
493s E   ValueError: setting an array element with a sequence.

--- End Message ---
--- Begin Message ---
Source: flox
Source-Version: 0.11.2-3
Done: Antonio Valentino <[email protected]>

We believe that the bug you reported is fixed in the latest version of
flox, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Valentino <[email protected]> (supplier of updated flox 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 28 Jul 2026 05:46:38 +0000
Source: flox
Architecture: source
Version: 0.11.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 1142098
Changes:
 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).
Checksums-Sha1:
 b22bf4ee0eba0ccce5f625854370931c0e3686d3 2406 flox_0.11.2-3.dsc
 b7bdfab1df60b305d50b6fa6622b0a49f8a65f34 5656 flox_0.11.2-3.debian.tar.xz
 5ec28fa35b6ce9523a141fb28d11ee3157f32c54 7985 flox_0.11.2-3_amd64.buildinfo
Checksums-Sha256:
 0a630b30552988b805e48ce05769477ebda677d51dbe21072115ca074ca885c7 2406 
flox_0.11.2-3.dsc
 52a5edf839992ba9b8c875fed11ee15a80079af7ad32fe50f5e01caa57312822 5656 
flox_0.11.2-3.debian.tar.xz
 bbaecf64c43f59693d6010acb85e08a3216833ab1d4a4834ca455a4ef8eeb921 7985 
flox_0.11.2-3_amd64.buildinfo
Files:
 752bab320194daf083e21c2d8ff938b8 2406 python optional flox_0.11.2-3.dsc
 31c3080b385600cc8b3fafb823c9d26a 5656 python optional 
flox_0.11.2-3.debian.tar.xz
 bfc8d0fc59754931303a91c3e041620d 7985 python optional 
flox_0.11.2-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmpoRmwdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBKMGQ/9EGBh5bwdxCfwRjTf
KAQufloGyNxzRzrpDdAvh/oGGcnSW07az/k0tnQIIsHd0/vZtQMJAUvoWyapoqEL
V0NrHxsjypACUBFpm2PokJglCLOAsc58NwuVGCL0tgjY1MR3YTVhDm4NGdqDsC1L
VUZk+ae/4A6kMz2EOE3nHJ0qwQhAG4dCVdT83aYOZBZ0lTj6BvPnl3LIDy4v+8Cv
tZ2+pJlujZKPnPEDoJ4/bX6pJuLdWvESSfVif+FT7AaqGWOs2PIPjP3LBxc2KyBI
TkLR9aohhmKBfIQlPikM5h3hVttGgXh3cFEHeZ1fjJgI65BLUK8PMj32T9N/shJY
7JcQjrktq8OGgl778JySCg02+/Zx6IIHQcTUboCiPvtLnkX0qCCRSHI1qCAebaT7
kTsNdi2plYx7gy+SqbpMtGO0k838fop+rs37ZIZszUUPp8/xTsBuz+ies1OemSPi
zew0uLj/TBMVB+1HVkXj/Y+172Mz3C9F9B+MIX/sCGx7PZ40msUysmfcci2XtTq3
qULueaE/R/vbN4zd+cU9Z/T3a61GSsWnb9D9E/RapXjbM+ZdAUIDS8cNrE0rpLvE
0AnPyXgp2fapH6NKBAoH3pIwOvwQfali9dAFZXiVnE2PYhEuYit4XuFLkctT3WVu
UHtZeon8awSq5OE5ejZdm+NE8Lc=
=ncC1
-----END PGP SIGNATURE-----

Attachment: pgpKp0BJsdazr.pgp
Description: PGP signature


--- End Message ---

Reply via email to