From: Leon Anavi <leon.anavi@konsulko.com>
To: openembedded-core@lists.openembedded.org
Cc: Leon Anavi <leon.anavi@konsulko.com>
Subject: [PATCH] python3-numpy: Upgrade 2.5.0 -> 2.5.1
Date: Mon, 3 Aug 2026 13:52:35 +0300 [thread overview]
Message-ID: <20260803105235.2301438-1-leon.anavi@konsulko.com> (raw)
Upgrade to release 2.5.1:
- The minimum supported GCC version has been updated from 9.3.0 to
10.3.0
- Bug fixes
Drop 0001-python-sysroot.patch because the vendored fork of Meson
in numpy has been upgraded to include patches from 1.12.0rc2,
including the specific sysroot fix available since since 1.10.0.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
.../python3-numpy/0001-python-sysroot.patch | 34 -------------------
...-numpy_2.5.0.bb => python3-numpy_2.5.1.bb} | 3 +-
2 files changed, 1 insertion(+), 36 deletions(-)
delete mode 100644 meta/recipes-devtools/python/python3-numpy/0001-python-sysroot.patch
rename meta/recipes-devtools/python/{python3-numpy_2.5.0.bb => python3-numpy_2.5.1.bb} (95%)
diff --git a/meta/recipes-devtools/python/python3-numpy/0001-python-sysroot.patch b/meta/recipes-devtools/python/python3-numpy/0001-python-sysroot.patch
deleted file mode 100644
index 681876fa52..0000000000
--- a/meta/recipes-devtools/python/python3-numpy/0001-python-sysroot.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From ced528318cddfef6c5e676c2815e64b5caa45c64 Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@arm.com>
-Date: Wed, 21 Jan 2026 14:12:36 +0000
-Subject: [PATCH] Add sysroot to pkgconfig libdir
-
-When Meson uses pkg-config to introspect the Python install it resets PKG_CONFIG_PATH
-and PKG_CONFIG_LIBDIR. However, when it writes to PKG_CONFIG_LIBDIR it uses the
-_target_ library directory without prefixing this with the sysroot, which breaks
-the build if _LIBDIR is the primary search path.
-
-This has been fixed in Meson since 1.10.0[1] but numpy has a vendored fork of Meson
-that is currently at 1.9.2, so backport the specific fix to solve this problem.
-
-[1] meson 59c3dd1fd ("python: add a python.build_config option (PEP 739)")
-
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- vendored-meson/meson/mesonbuild/dependencies/python.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/vendored-meson/meson/mesonbuild/dependencies/python.py b/vendored-meson/meson/mesonbuild/dependencies/python.py
-index 7f9bd20..fdcf714 100644
---- a/vendored-meson/meson/mesonbuild/dependencies/python.py
-+++ b/vendored-meson/meson/mesonbuild/dependencies/python.py
-@@ -412,6 +412,8 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
- if DependencyMethods.PKGCONFIG in methods:
- if from_installation:
- pkg_libdir = installation.info['variables'].get('LIBPC')
-+ sysroot = env.properties[for_machine].get_sys_root() or ''
-+ pkg_libdir = sysroot + pkg_libdir
- pkg_embed = '-embed' if embed and mesonlib.version_compare(installation.info['version'], '>=3.8') else ''
- pkg_name = f'python-{pkg_version}{pkg_embed}'
-
diff --git a/meta/recipes-devtools/python/python3-numpy_2.5.0.bb b/meta/recipes-devtools/python/python3-numpy_2.5.1.bb
similarity index 95%
rename from meta/recipes-devtools/python/python3-numpy_2.5.0.bb
rename to meta/recipes-devtools/python/python3-numpy_2.5.1.bb
index 43ecdb2c42..88786dc016 100644
--- a/meta/recipes-devtools/python/python3-numpy_2.5.0.bb
+++ b/meta/recipes-devtools/python/python3-numpy_2.5.1.bb
@@ -9,9 +9,8 @@ SRCNAME = "numpy"
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
file://run-ptest \
- file://0001-python-sysroot.patch \
"
-SRC_URI[sha256sum] = "5a129578019311b6e56bdd714250f19b518f7dceeeb8d1af5490f4942d3f891c"
+SRC_URI[sha256sum] = "a48a113e6afea91f5608793bafa7ef2ad481fefbda87ec5069f483de61cb9fa3"
GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
--
2.47.3
reply other threads:[~2026-08-03 10:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260803105235.2301438-1-leon.anavi@konsulko.com \
--to=leon.anavi@konsulko.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox