* [OE-core][PATCH] python3-numpy: upgrade 2.3.5 -> 2.4.0
@ 2026-01-05 17:18 Trevor Gamblin
2026-01-06 12:54 ` Mathieu Dubois-Briand
0 siblings, 1 reply; 3+ messages in thread
From: Trevor Gamblin @ 2026-01-05 17:18 UTC (permalink / raw)
To: openembedded-core
Changelog: https://github.com/numpy/numpy/releases/tag/v2.4.0
ptests look OK:
|============================================================================
|Testsuite summary
|# TOTAL: 48248
|# PASS: 46447
|# SKIP: 1767
|# XFAIL: 32
|# FAIL: 0
|# XPASS: 2
|# ERROR: 0
|DURATION: 327
|END: /usr/lib/python3-numpy/ptest
|2026-01-05T16:24
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0
|root@qemux86-64:~#
and reproducibility:
|2026-01-05 12:08:19,641 - oe-selftest - INFO - Ran 1 test in 1449.498s
|2026-01-05 12:08:19,642 - oe-selftest - INFO - OK
|2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS:
|2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1402.66s)
|2026-01-05 12:08:23,069 - oe-selftest - INFO - SUMMARY:
|2026-01-05 12:08:23,070 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1449.498s
|2026-01-05 12:08:23,070 - 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>
---
.../python/{python3-numpy_2.3.5.bb => python3-numpy_2.4.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-numpy_2.3.5.bb => python3-numpy_2.4.0.bb} (97%)
diff --git a/meta/recipes-devtools/python/python3-numpy_2.3.5.bb b/meta/recipes-devtools/python/python3-numpy_2.4.0.bb
similarity index 97%
rename from meta/recipes-devtools/python/python3-numpy_2.3.5.bb
rename to meta/recipes-devtools/python/python3-numpy_2.4.0.bb
index 55b8091ff8..cd6664ee18 100644
--- a/meta/recipes-devtools/python/python3-numpy_2.3.5.bb
+++ b/meta/recipes-devtools/python/python3-numpy_2.4.0.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] = "784db1dcdab56bf0517743e746dfb0f885fc68d948aba86eeec2cba234bdf1c0"
+SRC_URI[sha256sum] = "6e504f7b16118198f138ef31ba24d985b124c2c469fe8467007cf30fd992f934"
GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
--
2.52.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [OE-core][PATCH] python3-numpy: upgrade 2.3.5 -> 2.4.0
2026-01-05 17:18 [OE-core][PATCH] python3-numpy: upgrade 2.3.5 -> 2.4.0 Trevor Gamblin
@ 2026-01-06 12:54 ` Mathieu Dubois-Briand
2026-01-06 20:54 ` Trevor Gamblin
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Dubois-Briand @ 2026-01-06 12:54 UTC (permalink / raw)
To: Trevor Gamblin, openembedded-core
On Mon Jan 5, 2026 at 6:18 PM CET, Trevor Gamblin wrote:
> Changelog: https://github.com/numpy/numpy/releases/tag/v2.4.0
>
> ptests look OK:
>
> |============================================================================
> |Testsuite summary
> |# TOTAL: 48248
> |# PASS: 46447
> |# SKIP: 1767
> |# XFAIL: 32
> |# FAIL: 0
> |# XPASS: 2
> |# ERROR: 0
> |DURATION: 327
> |END: /usr/lib/python3-numpy/ptest
> |2026-01-05T16:24
> |STOP: ptest-runner
> |TOTAL: 1 FAIL: 0
> |root@qemux86-64:~#
>
> and reproducibility:
>
> |2026-01-05 12:08:19,641 - oe-selftest - INFO - Ran 1 test in 1449.498s
> |2026-01-05 12:08:19,642 - oe-selftest - INFO - OK
> |2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS:
> |2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1402.66s)
> |2026-01-05 12:08:23,069 - oe-selftest - INFO - SUMMARY:
> |2026-01-05 12:08:23,070 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1449.498s
> |2026-01-05 12:08:23,070 - 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>
> ---
Hi Trevor,
Thanks for your patch, and thanks for launching ptest and
reproducibility tests. Of course, it failed somewhere else. :)
We have this error while building piglit, reproduced and bisected
locally:
ERROR: piglit-1.0+gitr-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/temp/run.do_compile.891103' failed with exit code 1
...
| cd /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/build/generated_tests && /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/recipe-sysroot-native/usr/bin/python3-native/python3 /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/gen_builtin_uniform_tests_fp64.py > builtin_uniform_tests_fp64.list
| Traceback (most recent call last):
| File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/gen_builtin_uniform_tests_fp64.py", line 47, in <module>
| from builtin_function_fp64 import *
| File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1147, in <module>
| _make_vector_or_matrix_test_vectors(test_suite)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
| File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1122, in _make_vector_or_matrix_test_vectors
| f('op-div', 2, _divide, match_simple_binop,
| ~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| [doubles+dvecs+dmats,
| ^^^^^^^^^^^^^^^^^^^^^
| doubles+dvecs+dmats],
| ^^^^^^^^^^^^^^^^^^^^^
| template='({0} / {1})')
| ^^^^^^^^^^^^^^^^^^^^^^^
| File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1101, in f
| _simulate_function(
| ~~~~~~~~~~~~~~~~~~^
| test_inputs, python_equivalent, tolerance_function),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 536, in _simulate_function
| expected_output = python_equivalent(*inputs)
| File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 311, in _divide
| if any(y_element == 0 for y_element in column_major_values(y)):
| ~~~~~~~~~~~~~~~~~~~^^^
| File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 257, in column_major_values
| return list(np.reshape(value, newshape=-1, order='F'))
| ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| TypeError: reshape() got an unexpected keyword argument 'newshape'
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3035
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3001
https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/2982
Can you have a look at this?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [OE-core][PATCH] python3-numpy: upgrade 2.3.5 -> 2.4.0
2026-01-06 12:54 ` Mathieu Dubois-Briand
@ 2026-01-06 20:54 ` Trevor Gamblin
0 siblings, 0 replies; 3+ messages in thread
From: Trevor Gamblin @ 2026-01-06 20:54 UTC (permalink / raw)
To: Mathieu Dubois-Briand, openembedded-core
On 2026-01-06 07:54, Mathieu Dubois-Briand wrote:
> On Mon Jan 5, 2026 at 6:18 PM CET, Trevor Gamblin wrote:
>> Changelog: https://github.com/numpy/numpy/releases/tag/v2.4.0
>>
>> ptests look OK:
>>
>> |============================================================================
>> |Testsuite summary
>> |# TOTAL: 48248
>> |# PASS: 46447
>> |# SKIP: 1767
>> |# XFAIL: 32
>> |# FAIL: 0
>> |# XPASS: 2
>> |# ERROR: 0
>> |DURATION: 327
>> |END: /usr/lib/python3-numpy/ptest
>> |2026-01-05T16:24
>> |STOP: ptest-runner
>> |TOTAL: 1 FAIL: 0
>> |root@qemux86-64:~#
>>
>> and reproducibility:
>>
>> |2026-01-05 12:08:19,641 - oe-selftest - INFO - Ran 1 test in 1449.498s
>> |2026-01-05 12:08:19,642 - oe-selftest - INFO - OK
>> |2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS:
>> |2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1402.66s)
>> |2026-01-05 12:08:23,069 - oe-selftest - INFO - SUMMARY:
>> |2026-01-05 12:08:23,070 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1449.498s
>> |2026-01-05 12:08:23,070 - 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>
>> ---
> Hi Trevor,
>
> Thanks for your patch, and thanks for launching ptest and
> reproducibility tests. Of course, it failed somewhere else. :)
>
> We have this error while building piglit, reproduced and bisected
> locally:
>
> ERROR: piglit-1.0+gitr-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/temp/run.do_compile.891103' failed with exit code 1
> ...
> | cd /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/build/generated_tests && /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/recipe-sysroot-native/usr/bin/python3-native/python3 /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/gen_builtin_uniform_tests_fp64.py > builtin_uniform_tests_fp64.list
> | Traceback (most recent call last):
> | File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/gen_builtin_uniform_tests_fp64.py", line 47, in <module>
> | from builtin_function_fp64 import *
> | File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1147, in <module>
> | _make_vector_or_matrix_test_vectors(test_suite)
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
> | File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1122, in _make_vector_or_matrix_test_vectors
> | f('op-div', 2, _divide, match_simple_binop,
> | ~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | [doubles+dvecs+dmats,
> | ^^^^^^^^^^^^^^^^^^^^^
> | doubles+dvecs+dmats],
> | ^^^^^^^^^^^^^^^^^^^^^
> | template='({0} / {1})')
> | ^^^^^^^^^^^^^^^^^^^^^^^
> | File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1101, in f
> | _simulate_function(
> | ~~~~~~~~~~~~~~~~~~^
> | test_inputs, python_equivalent, tolerance_function),
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 536, in _simulate_function
> | expected_output = python_equivalent(*inputs)
> | File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 311, in _divide
> | if any(y_element == 0 for y_element in column_major_values(y)):
> | ~~~~~~~~~~~~~~~~~~~^^^
> | File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 257, in column_major_values
> | return list(np.reshape(value, newshape=-1, order='F'))
> | ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | TypeError: reshape() got an unexpected keyword argument 'newshape'
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3035
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3001
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/2982
>
> Can you have a look at this?
Looks like they're using a deprecated parameter (newshape) that finally
got removed in 2.4.x. I'm sending some patches for piglit (CCing you)
shortly.
- Trevor
>
> Thanks,
> Mathieu
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-06 20:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 17:18 [OE-core][PATCH] python3-numpy: upgrade 2.3.5 -> 2.4.0 Trevor Gamblin
2026-01-06 12:54 ` Mathieu Dubois-Briand
2026-01-06 20:54 ` Trevor Gamblin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox