Message ID | 20250122150848.3101917-1-tgamblin@baylibre.com |
---|---|
State | Accepted, archived |
Commit | 8ba751635a333ba0ccdeaff7b135131de99292a9 |
Headers | show |
Series | python3-numpy: upgrade 2.2.1 -> 2.2.2 | expand |
diff --git a/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch index 4a673081062..437bafb54f5 100644 --- a/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch +++ b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch @@ -1,4 +1,4 @@ -From 16a973c118989674afeeda2c2ccc24c9c366210e Mon Sep 17 00:00:00 2001 +From ad6c0196e4c97ca37368610c010e46c90a4749b4 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <alex.kanavin@gmail.com> Date: Thu, 10 Dec 2015 13:20:30 +0200 Subject: [PATCH] Don't search /usr and so on for libraries by default to diff --git a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch index 18d7f3f84e4..514073d94e4 100644 --- a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch +++ b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch @@ -1,4 +1,4 @@ -From cde931f4380745b9818b55d7b06a43d347518967 Mon Sep 17 00:00:00 2001 +From 061a8ae1d1d000892d6dba89a444922e7a28804b Mon Sep 17 00:00:00 2001 From: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Fri, 29 Sep 2023 22:53:24 +0100 Subject: [PATCH] This regex decides whether to use O3 opimisation on numpy or diff --git a/meta/recipes-devtools/python/python3-numpy_2.2.1.bb b/meta/recipes-devtools/python/python3-numpy_2.2.2.bb similarity index 96% rename from meta/recipes-devtools/python/python3-numpy_2.2.1.bb rename to meta/recipes-devtools/python/python3-numpy_2.2.2.bb index 251e7b0c64d..3b74e9059d1 100644 --- a/meta/recipes-devtools/python/python3-numpy_2.2.1.bb +++ b/meta/recipes-devtools/python/python3-numpy_2.2.2.bb @@ -12,7 +12,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ file://fix_reproducibility.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "45681fd7128c8ad1c379f0ca0776a8b0c6583d2f69889ddac01559dfe4390918" +SRC_URI[sha256sum] = "ed6906f61834d687738d25988ae117683705636936cc605be0bb208b23df4d8f" GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.2 Reproducibility looks OK: |2025-01-20 16:40:52,428 - oe-selftest - INFO - Ran 1 test in 2125.833s |2025-01-20 16:40:52,428 - oe-selftest - INFO - OK |2025-01-20 16:40:57,146 - oe-selftest - INFO - RESULTS: |2025-01-20 16:40:57,146 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (2065.94s) |2025-01-20 16:40:57,147 - oe-selftest - INFO - SUMMARY: |2025-01-20 16:40:57,147 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 2125.834s |2025-01-20 16:40:57,147 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> --- ...1-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch | 2 +- .../python/python3-numpy/fix_reproducibility.patch | 2 +- .../python/{python3-numpy_2.2.1.bb => python3-numpy_2.2.2.bb} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-numpy_2.2.1.bb => python3-numpy_2.2.2.bb} (96%)