Skip to contentSkip to conversation

python3-lief: Upgrade to 0.16.6

PATCH New Khem Raj 1 participant 3 messages Jul 23, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 python3-lief: Upgrade to 0.16.6

---
 .../{python3-lief_0.16.5.bb => python3-lief_0.16.6.bb}     | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-lief_0.16.5.bb => python3-lief_0.16.6.bb} (85%)
meta-python/recipes-devtools/python/python3-lief_0.16.6.bb renamed from meta-python/recipes-devtools/python/python3-lief_0.16.5.bb +3 -4
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-lief_0.16.5.bb
rename to meta-python/recipes-devtools/python/python3-lief_0.16.6.bb
index 8a0e30133c..2c5aeb6bb6 100644
@@ -2,16 +2,15 @@ SUMMARY = "Library to instrument executable formats"
 DESCRIPTION = "LIEF: Library to Instrument Executable Formats"
 HOMEPAGE = "https://github.com/lief-project/LIEF"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=be298b85ef6036ef77810ae0dce93776"
 SECTION = "libs"
 
 SRC_URI = " \
-    git://github.com/lief-project/LIEF.git;protocol=https;branch=main \
+    git://github.com/lief-project/LIEF.git;protocol=https;branch=release/0.16.x;tag=${PV} \
     file://0001-build-requirements.txt-Allow-newer-versions.patch \
     file://0002-api-python-config-default.toml-Debug.patch \
 "
-SRCREV = "abcf929efb748c7846dd59007cbb807e108db311"
-PV .= "+git"
+SRCREV = "d52c66d6da4d67c69438989df83a5415236ae08b"
 
 PEP517_SOURCE_PATH = "${S}/api/python"
 
author
#1 lore raw

PATCH 2/3 python3-pydantic: Upgrade to 2.11.7

Fix build with pydantic-core 2.35.2

---
 ...rojects-Bump-pydantic-core-to-2.35.2.patch | 36 +++++++++++++++++++
 ...c_2.11.3.bb => python3-pydantic_2.11.7.bb} |  5 ++-
 2 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch
 rename meta-python/recipes-devtools/python/{python3-pydantic_2.11.3.bb => python3-pydantic_2.11.7.bb} (95%)
meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch new file +36 -0
new file mode 100644
index 0000000000..794ebdbbc7
@@ -0,0 +1,36 @@
+From 6558daf87f8ae156f913c0e76403cbffee40e3cc Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Tue, 22 Jul 2025 11:46:35 -0700
+Subject: [PATCH] pyprojects: Bump pydantic-core to 2.35.2
+
+This matches with recipe in meta-python
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -48,7 +48,7 @@ dependencies = [
+     'typing-extensions>=4.13.0',
+     'annotated-types>=0.6.0',
+     # Keep this in sync with the version in the `check_pydantic_core_version()` function:
+-    'pydantic-core==2.35.1',
++    'pydantic-core==2.35.2',
+     'typing-inspection>=0.4.0',
+ ]
+ dynamic = ['version', 'readme']
+--- a/pydantic/version.py
++++ b/pydantic/version.py
+@@ -66,7 +66,7 @@ def version_info() -> str:
+ def check_pydantic_core_version() -> bool:
+     """Check that the installed `pydantic-core` dependency is compatible."""
+     # Keep this in sync with the version constraint in the `pyproject.toml` dependencies:
+-    return __pydantic_core_version__ == '2.35.1'
++    return __pydantic_core_version__ == '2.35.2'
+ 
+ 
+ def parse_mypy_version(version: str) -> tuple[int, int, int]:
meta-python/recipes-devtools/python/python3-pydantic_2.11.7.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb +2 -3
similarity index 95%
rename from meta-python/recipes-devtools/python/python3-pydantic_2.11.3.bb
rename to meta-python/recipes-devtools/python/python3-pydantic_2.11.7.bb
index 47c077853a..250a433726 100644
@@ -11,11 +11,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
 inherit python_hatchling ptest-python-pytest
 
-SRCREV = "bce81efdeac1cbefd0196b478a32aa2586bd595a"
+SRCREV = "702aaa6354cc30ae815676c57a8bbb4557ccb295"
 PV .= "+git"
 SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=main"
-
-
+SRC_URI += "file://0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch"
 DEPENDS += "python3-hatch-fancy-pypi-readme-native"
 
 RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-pydantic-core."
author
#2 lore raw

PATCH 3/3 opengl-es-cts: Unbolt aarch64 TUNE_CCARGS workaround

In reply to Khem Raj

GCC has been patched for the segfault

---
 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb | 3 ---
 1 file changed, 3 deletions(-)
meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb +0 -3
index 10d5806e77..33526630d1 100644
@@ -27,7 +27,4 @@ do_install() {
 }
 
 SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"
-# GCC-15 segfaults see - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119
-# TUNE_CCARGS:remove:aarch64 = "cortex-a57+crc+nocrypto"
-TUNE_CCARGS:append:aarch64 = " -march=armv8-a"
 LTO = ""