#1140993 numpy: FTBFS: E pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.

Package:
src:numpy
Source:
src:numpy
Submitter:
Santiago Vila
Date:
2026-06-28 23:07:02 UTC
Severity:
normal
Tags:
#1140993#5
Date:
2026-06-28 20:51:38 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202606/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:numpy, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
py3versions: no X-Python3-Version in control file, using supported versions
PYBUILD_DISABLE="3.13" dh_auto_build
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module

[... snipped ...]

    argnames, parametersets = ParameterSet._for_parametrize(
        _param_mark = Mark(name='parametrize', args=('dtype,ex_val', <itertools.product object at 0x7fe3f2912180>), kwargs={})
        argnames   = 'dtype,ex_val'
        argvalues  = <itertools.product object at 0x7fe3f2912180>
        ids        = None
        indirect   = False
        nodeid     = 'numpy/_core/tests/test_umath.py::TestDivision::test_division_int_boundary'
        scope      = None
        self       = <_pytest.python.Metafunc object at 0x7fe3f25e76b0>
/usr/lib/python3/dist-packages/_pytest/mark/structures.py:202: in _for_parametrize
    warnings.warn(
E   pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
E   Test: numpy/_core/tests/test_umath.py::TestDivision::test_division_int_boundary, argvalues type: product
E   Please convert to a list or tuple.
E   See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
        argnames   = 'dtype,ex_val'
        argvalues  = <itertools.product object at 0x7fe3f2912180>
        cls        = <class '_pytest.mark.structures.ParameterSet'>
        config     = <_pytest.config.Config object at 0x7fe3fc217230>
        func       = <function TestDivision.test_division_int_boundary at 0x7fe3f2755f30>
        nodeid     = 'numpy/_core/tests/test_umath.py::TestDivision::test_division_int_boundary'

#1140993#8
Date:
2026-06-28 22:48:46 UTC
From:
To:
Hello,

Bug #1140993 in numpy reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/numpy/-/commit/75a2c1236b5872458fc769377c4a059ec21b0d22
------------------------------------------------------------------------
Fix pytest 9.1 deprecation warnings

Closes: #1140993
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1140993

#1140993#15
Date:
2026-06-28 23:05:58 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
numpy, 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 1140993@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Röhling <roehling@debian.org> (supplier of updated numpy 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 28 Jun 2026 23:51:39 +0200
Source: numpy
Architecture: source
Version: 1:2.4.6+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Timo Röhling <roehling@debian.org>
Closes: 1140993
Changes:
 numpy (1:2.4.6+ds-2) unstable; urgency=medium
 .
   * Fix pytest 9.1 deprecation warnings (Closes: #1140993)
Checksums-Sha1:
 afe262964e6531de0757dfdfa04de955ccbc8c16 3634 numpy_2.4.6+ds-2.dsc
 daf3898bb1cae29f2de9cb08df8e09a8fd13cb77 166264 numpy_2.4.6+ds-2.debian.tar.xz
Checksums-Sha256:
 3c3329e61fb6acf9f4cb3bb1ee7bf11db00366b4969543a53bb629bd4016a250 3634 numpy_2.4.6+ds-2.dsc
 6493ae402db950450c5ef74681fb3f1c4d56e8b99f77a41b7e290dd72acf38c1 166264 numpy_2.4.6+ds-2.debian.tar.xz
Files:
 1977b1013646095c608a3f1cf079b0e7 3634 python optional numpy_2.4.6+ds-2.dsc
 2959571aabf46c32f942813c40f0f50d 166264 python optional numpy_2.4.6+ds-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmpBpMQACgkQzIxr3RQD
9MpOTQ//c8yQb3o9X5/NDHNthwxY8hiF859uAAgAaDexwbT7qHrj1PuUqkzVu/TT
9bARUlDF7QSCkDuUFlBALFpa16qzECh4LhgZ58b0aaYhzhPh/cey91Yy3P0Xwx09
DBuVAjCL7fNZTUNiu2DbigMAJ/J3REr9Yzq5xW5WToXexE2EhpLFXszt6MZJosa0
KfEVu2m9NbuQsXUqFQOaShvo1aEziOdmX0Pwi9mAE4peWOj5Bz9hD88eWuOFnK7b
qrtAVqxCqVEd4poPDhM87k/CifOOdOwdm9Ha6eY1EkRLrAwJ/Rju04q8uEVTr2jJ
1UbRyrEcJAU0hRpyCJ0PkUdQPzHnlTyGnNw7RbKxz2SlvcF+99viwqjYm9oF6w61
+YTGgQsE50DlBXgGH+OQmPQ5V3vF23/2xUxeoiSme63uOyBaQvOvv6JGoX/JY/SK
NnQbr+hCNDzfmbZUr/dAAWCQpJL2NMXmHZsLAj9OXkz6pQsh2e5Y/o9hY6eT+wE9
6KNyO2R3DFJIGTuwtGMKjbl3pg1EABsJhSXyJN2HZfJs1X0hlngmdFSCeo0dM4dg
4QjCIAZjDSBux2V0tdrzukqiqDIYdjXOQlXBm1D1Tl9JCrr1yY2oJzdoqSU5Edke
B7nStV8hQxHKYUD1UWwsHnK/TCMwUJ1twlJsS+kB6AXAvB0I7N8=
=U81x
-----END PGP SIGNATURE-----