diff mbox series

[meta-python,31/37] python3-xxhash: upgrade 3.7.0 -> 3.8.0

Message ID 20260630092206.322-31-wangmy@fujitsu.com
State New
Headers show
Series [meta-oe,01/37] 7zip: upgrade 26.01 -> 26.02 | expand

Commit Message

Wang Mingyu June 30, 2026, 9:21 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

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 <wangmy@fujitsu.com>
---
 .../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 mbox series

Patch

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 \