diff mbox series

[meta-python,031/105] python3-filelock: upgrade 4.2.9 -> 4.2.10

Message ID 20261116175359.342679-31-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:52 p.m. UTC
The build now requires the python-sbom hatch plugin, which only adds
SBOM metadata and isn't packaged in OE; drop it from pyproject.toml.

Changes:
- Fix contended FileLock/SoftFileLock acquisition retrying forever with
  zero-length sleeps when the clock lands exactly on the timeout
  deadline; it now raises Timeout (4.2.10).
- Add a PEP 770 CycloneDX SBOM to every wheel.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...ython3-filelock_4.2.9.bb => python3-filelock_4.2.10.bb} | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-filelock_4.2.9.bb => python3-filelock_4.2.10.bb} (83%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-filelock_4.2.9.bb b/meta-python/recipes-devtools/python/python3-filelock_4.2.10.bb
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-filelock_4.2.9.bb
rename to meta-python/recipes-devtools/python/python3-filelock_4.2.10.bb
index 442ac4ae82..0e10014d6a 100644
--- a/meta-python/recipes-devtools/python/python3-filelock_4.2.9.bb
+++ b/meta-python/recipes-devtools/python/python3-filelock_4.2.10.bb
@@ -9,7 +9,7 @@  CVE_PRODUCT = "tox-dev:filelock"
 
 SRC_URI += "file://run-ptest"
 
-SRC_URI[sha256sum] = "96530b7c538d4ea08493ab067247aab7948c54d8cd622cce711c97cccc5d9896"
+SRC_URI[sha256sum] = "fcc3c0cb8bfe7f4b3bb0e231c04b15dbad068cb3c2515f343d8fde4dce93bd5d"
 
 BBCLASSEXTEND = "native nativesdk"
 
@@ -20,6 +20,11 @@  DEPENDS += "\
     python3-hatch-vcs-native \
 "
 
+# python-sbom (an SBOM metadata hatch hook) isn't packaged in OE
+do_configure:prepend() {
+    sed -i -e '/python-sbom\[hatch\]/d' -e '/build.hooks.python-sbom/d' ${S}/pyproject.toml
+}
+
 RDEPENDS:${PN} += " \
     python3-core \
     python3-crypt \