Debian Patches

Status for numpy/1:2.3.4+ds-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Disable-asserts-on-ppc-with-broken-malloc.patch Disable asserts on ppc with broken malloc
Only longdouble affected will still work with softfaults
Julian Taylor <jtaylor.debian@googlemail.com> not-needed 2016-01-11
0002-usr-include-is-a-viable-include-dir.patch /usr/include is a viable include dir

Upstream removed /usr/include from the default include locations, which breaks
the distutils test. Revert of 6115fc52703baf07d4cfc629efb58866f0d16856.
Dan Bungert <daniel.bungert@canonical.com> not-needed debian 2021-11-11
0003-Ignore-invalid-value-runtime-warnings-in-tests.patch Ignore invalid value runtime warnings in tests =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org> no 2024-03-19
0004-Use-a-local-copy-of-object.inv-from-doc.python.org.patch Use a local copy of object.inv from doc.python.org
This avoids downloading them each time from the internet
SVN-Git Migration <python-modules-team@lists.alioth.debian.org> not-needed 2015-10-11
0005-Adapt-SWIG-documentation-to-Debian.patch Adapt SWIG documentation to Debian
Location of `swig` directory in Debian is specific to our distro, so the
documentation needs adaptation.
Sandro Tosi <morph@debian.org> not-needed vendor 2021-12-19
0006-Disable-unsupported-add-ons-in-documentation.patch Disable unsupported add-ons in documentation Sandro Tosi <morph@debian.org> not-needed 2023-12-03
0007-Fix-numpy.get_include-for-cross-builds.patch Fix numpy.get_include() for cross builds =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org> not-needed 2024-09-16
0008-Fix-random-object-filenames-for-reproducibility.patch Fix random object filenames for reproducibility =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org> yes 2025-03-06
0009-Make-random-numbers-in-documentation-reproducible.patch Make random numbers in documentation reproducible =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org> yes 2025-10-18
0010-Do-not-run-timeit-during-documentation-build.patch Do not run %timeit during documentation build =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org> no 2025-10-18
0011-Add-object-copy-for-f2py-meson-backend.patch Add object copy for f2py meson backend Shirong_Wang <srwang20@fudan.edu.cn> yes debian upstream upstream, https://github.com/numpy/numpy/pull/29572 2025-08-16
0012-Avoid-compilation-error-of-wrapper-file-generated-wi.patch Avoid compilation error of wrapper file generated with SWIG >= 4.4
The `import_array` macro, which is defined in the file
`numpy/core/code_generators/generate_numpy_api.py`, is intended for use
inside an internal SWIG function that is called in the generated C
wrapper file. This macro contains a return statement whose argument must
match the function definition.

Until version 4.3 of SWIG, the aforementioned function returned a
`void*` value. However, in version 4.4, the return value was changed to
`int`. This causes compilation of code using import_array() to fail with
the following error message: `returning 'void *' from a function with
return type 'int' makes integer from pointer without a cast
[-Wint-conversion].`

This patch resolves the issue by returning either `NULL` or `0`,
depending on the SWIG version being used (< 4.4 or >= 4.4,
respectively). This change has been successfully tested against SWIG
versions 4.3 and 4.4.
Rafael Laboissière <rafael@debian.org> yes debian upstream 2025-11-03

All known versions for source package 'numpy'

Links