diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-01-04 12:05:06 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 12:03:47 +0000 |
| commit | 2144d70e3e12e023a02d01639bb3d0080fe3036f (patch) | |
| tree | 0e947099e7a21a2854bf125a76ad727bbaa11117 /meta/recipes-devtools | |
| parent | f582410ffbeaddfe9a1aa1845a8be953c13880fb (diff) | |
| download | poky-2144d70e3e12e023a02d01639bb3d0080fe3036f.tar.gz | |
python3-numpy: upgrade 1.23.4 -> 1.24.1
(From OE-Core rev: c28b9e57cae7bcc4e97b021f687051f0ecb7821e)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy_1.24.1.bb (renamed from meta/recipes-devtools/python/python3-numpy_1.23.4.bb) | 3 |
2 files changed, 1 insertions, 30 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch b/meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch deleted file mode 100644 index 41dea89682..0000000000 --- a/meta/recipes-devtools/python/python3-numpy/0001-generate_umath.py-do-not-write-full-path-to-output-f.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 3c7deaa3a961a0f3ce4ff108468e3d70118f17b3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Thu, 9 Jun 2022 17:23:42 +0200 | ||
| 4 | Subject: [PATCH] generate_umath.py: do not write full path to output files | ||
| 5 | |||
| 6 | This helps reproducibility as those paths vary in automated | ||
| 7 | build environments. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/21707] | ||
| 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 11 | |||
| 12 | --- | ||
| 13 | numpy/core/code_generators/generate_umath.py | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py | ||
| 17 | index 292d9e0..df37941 100644 | ||
| 18 | --- a/numpy/core/code_generators/generate_umath.py | ||
| 19 | +++ b/numpy/core/code_generators/generate_umath.py | ||
| 20 | @@ -1233,7 +1233,7 @@ def make_code(funcdict, filename): | ||
| 21 | |||
| 22 | return 0; | ||
| 23 | } | ||
| 24 | - """) % (filename, code1, code2, code3) | ||
| 25 | + """) % (os.path.basename(filename), code1, code2, code3) | ||
| 26 | return code | ||
| 27 | |||
| 28 | |||
diff --git a/meta/recipes-devtools/python/python3-numpy_1.23.4.bb b/meta/recipes-devtools/python/python3-numpy_1.24.1.bb index 679a6f4081..83b8ac4232 100644 --- a/meta/recipes-devtools/python/python3-numpy_1.23.4.bb +++ b/meta/recipes-devtools/python/python3-numpy_1.24.1.bb | |||
| @@ -11,9 +11,8 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ | |||
| 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ | 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ |
| 12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ | 12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ |
| 13 | file://run-ptest \ | 13 | file://run-ptest \ |
| 14 | file://0001-generate_umath.py-do-not-write-full-path-to-output-f.patch \ | ||
| 15 | " | 14 | " |
| 16 | SRC_URI[sha256sum] = "ed2cc92af0efad20198638c69bb0fc2870a58dabfba6eb722c933b48556c686c" | 15 | SRC_URI[sha256sum] = "2386da9a471cc00a1f47845e27d916d5ec5346ae9696e01a8a34760858fe9dd2" |
| 17 | 16 | ||
| 18 | GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" | 17 | GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" |
| 19 | UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" | 18 | UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" |
