python3-numpy: upgrade 1.22.3 -> 1.22.4

Message ID 1653461133-12463-2-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series python3-numpy: upgrade 1.22.3 -> 1.22.4 | expand

Commit Message

Mingyu Wang (Fujitsu) May 25, 2022, 6:45 a.m. UTC
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/{python3-numpy_1.22.3.bb => python3-numpy_1.22.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-numpy_1.22.3.bb => python3-numpy_1.22.4.bb} (96%)

Comments

Luca Ceresoli May 26, 2022, 7:35 a.m. UTC | #1
Hi wangmy,

Il giorno Wed, 25 May 2022 14:45:31 +0800
"wangmy" <wangmy@fujitsu.com> ha scritto:

> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>

Reproducible builds are failing with this patch applied:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/908/steps/12/logs/stdio

And the reason can be found from here (thanks to Richard for pointing
out):

http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20220525-95en0ud1/packages/diff-html/

This is because of this line in the numpy code:

https://github.com/numpy/numpy/blob/0eaa40db3a2f6bef26c0d7cc28eacf4f6d461917/numpy/core/code_generators/generate_umath.py#L1220

which leaks the full path to the file.

Patch

diff --git a/meta/recipes-devtools/python/python3-numpy_1.22.3.bb b/meta/recipes-devtools/python/python3-numpy_1.22.4.bb
similarity index 96%
rename from meta/recipes-devtools/python/python3-numpy_1.22.3.bb
rename to meta/recipes-devtools/python/python3-numpy_1.22.4.bb
index b5b1c4e714..7aa473a7e9 100644
--- a/meta/recipes-devtools/python/python3-numpy_1.22.3.bb
+++ b/meta/recipes-devtools/python/python3-numpy_1.22.4.bb
@@ -12,7 +12,7 @@  SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${S
            file://0001-numpy-core-Define-RISCV-32-support.patch \
            file://run-ptest \
            "
-SRC_URI[sha256sum] = "a906c0b4301a3d62ccf66d058fe779a65c1c34f6719ef2058f96e1856f48bca5"
+SRC_URI[sha256sum] = "b4308198d0e41efaa108e57d69973398439c7299a9d551680cdd603cf6d20709"
 
 UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"