From 878e50cb2cb3f80803f57917c56bdb2aa716ded3 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 30 Jun 2026 17:21:59 +0800 Subject: [PATCH] python3-xxhash: upgrade 3.7.0 -> 3.8.0 Changelog: ========== - Fix memory leak in copy() and new() when memory allocation fails (rare edge case) - Fix seed/reset state initialization in xxh32 and xxh64 (unlikely to affect normal usage) - Replace Py_BuildValue with PyLong_FromUnsignedLong/LongLong for performance - Update README examples to use bytes literals - Add CodSpeed performance benchmarks and CI workflow - Build aarch64/armv7l on native Arm runners; test against Python 3.15.0-beta.2 - Speed up module-level one-shot digest(), intdigest(), and hexdigest() functions by switching them to METH_FASTCALL. - Keep one-shot argument handling consistent with hash constructors, including positional and keyword input/seed arguments, duplicate argument errors, and oversized seed wrapping. - Fix error handling in the xxh3_128 integer digest path so allocation failures are reported cleanly. - Fix Python 3.8 builds by adding a PyModule_AddType compatibility fallback with correct reference counting. - Correct type stubs for xxh64_digest(), xxh64_hexdigest(), and xxh64_intdigest(), they were incorrectly aliased to xxh3_64 functions. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/{python3-xxhash_3.7.0.bb => python3-xxhash_3.8.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-xxhash_3.7.0.bb => python3-xxhash_3.8.0.bb} (85%) diff --git a/meta-python/recipes-devtools/python/python3-xxhash_3.7.0.bb b/meta-python/recipes-devtools/python/python3-xxhash_3.8.0.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-xxhash_3.7.0.bb rename to meta-python/recipes-devtools/python/python3-xxhash_3.8.0.bb index 57755cce74..d33da2a57a 100644 --- a/meta-python/recipes-devtools/python/python3-xxhash_3.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-xxhash_3.8.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=82f3295151c5e61043a4a201c031a5ee" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "6cc4eefbb542a5d6ffd6d70ea9c502957c925e800f998c5630ecc809d6702bae" +SRC_URI[sha256sum] = "d72b2204f37840b0f16f34192c09b994b97bd25823d723d47a1eddfacf06eb43" SRC_URI += " \ file://run-ptest \