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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Wang Mingyu
2026-06-30 17:21:59 +08:00
committed by Khem Raj
parent 2503e89f02
commit 878e50cb2c
@@ -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 \