Package: numpy / 1:2.3.4+ds-3
Metadata
| Package | Version | Patches format |
|---|---|---|
| numpy | 1:2.3.4+ds-3 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0001 Disable asserts on ppc with broken malloc.patch | (download) |
numpy/_core/src/multiarray/lowlevel_strided_loops.c.src |
7 7 + 0 - 0 ! |
disable asserts on ppc with broken malloc Only longdouble affected will still work with softfaults |
| 0002 usr include is a viable include dir.patch | (download) |
numpy/distutils/system_info.py |
5 3 + 2 - 0 ! |
/usr/include is a viable include dir Bug-Debian: https://bugs.debian.org/999812 |
| 0003 Ignore invalid value runtime warnings in tests.patch | (download) |
pytest.ini |
5 3 + 2 - 0 ! |
ignore invalid value runtime warnings in tests |
| 0004 Use a local copy of object.inv from doc.python.org.patch | (download) |
doc/source/conf.py |
24 12 + 12 - 0 ! |
use a local copy of object.inv from doc.python.org This avoids downloading them each time from the internet |
| 0005 Adapt SWIG documentation to Debian.patch | (download) |
doc/source/reference/swig.interface-file.rst |
21 17 + 4 - 0 ! |
adapt swig documentation to debian Location of `swig` directory in Debian is specific to our distro, so the documentation needs adaptation. |
| 0006 Disable unsupported add ons in documentation.patch | (download) |
doc/source/conf.py |
6 1 + 5 - 0 ! |
disable unsupported add-ons in documentation |
| 0007 Fix numpy.get_include for cross builds.patch | (download) |
numpy/f2py/_backends/meson.build.template |
1 0 + 1 - 0 ! |
fix numpy.get_include() for cross builds |
| 0008 Fix random object filenames for reproducibility.patch | (download) |
numpy/_core/meson.build |
6 3 + 3 - 0 ! |
fix random object filenames for reproducibility |
| 0009 Make random numbers in documentation reproducible.patch | (download) |
doc/source/conf.py |
15 15 + 0 - 0 ! |
make random numbers in documentation reproducible |
| 0010 Do not run timeit during documentation build.patch | (download) |
doc/source/reference/random/new-or-different.rst |
19 0 + 19 - 0 ! |
do not run %timeit during documentation build |
| 0011 Add object copy for f2py meson backend.patch | (download) |
numpy/f2py/_backends/_meson.py |
13 13 + 0 - 0 ! |
add object copy for f2py meson backend |
| 0012 Avoid compilation error of wrapper file generated wi.patch | (download) |
numpy/_core/code_generators/generate_numpy_api.py |
8 7 + 1 - 0 ! |
avoid compilation error of wrapper file generated with swig >= 4.4 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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. |
