mbox series

[0/2,v3] python3-numpy: upgrade and ptest fix

Message ID 20250425173701.3216403-1-tgamblin@baylibre.com
Headers show
Series python3-numpy: upgrade and ptest fix | expand

Message

Trevor Gamblin April 25, 2025, 5:36 p.m. UTC
v3 includes the patch to disable a consistently-failing ptest - this was
mentioned in the previous series and the numpy recipe file, but was missed
during final commit.

v2 was re-sent with a few cleanups compared to the previous version (which
didn't have a cover letter).

With the introduction of patch 2/2, numpy ptests should work (they're listed in
PTESTS_SLOW instead of PTESTS_PROBLEMS, so the recipe-specific ptest image can
also be built). gcc is required for ~10 of the ptests to pass, which is a
relatively small number overall but seems to be enough to justify adding it to
RDEPENDS. Further detail on the changes to make this possible are found in that
commit log.

Trevor Gamblin (2):
  python3-numpy: upgrade 2.2.4 -> 2.2.5
  python3-numpy: fix ptests

 .../distro/include/ptest-packagelists.inc     |  2 +-
 meta/recipes-core/images/core-image-ptest.bb  |  4 +++
 ...b-tests-test_io-skip-test_big_arrays.patch | 34 ++++++++++++++++++
 .../python/python3-numpy/run-ptest            | 15 +++++---
 ...-numpy_2.2.4.bb => python3-numpy_2.2.5.bb} | 35 +++++++++++--------
 5 files changed, 70 insertions(+), 20 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python3-numpy/0001-lib-tests-test_io-skip-test_big_arrays.patch
 rename meta/recipes-devtools/python/{python3-numpy_2.2.4.bb => python3-numpy_2.2.5.bb} (87%)