[oe] [meta-python] [PATCH 65/70] python3-xxhash: upgrade 3.8.1 -> 4.0.0

Wang Mingyu < [email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Wang Mingyu <[email protected]>

License-Update: Copyright year updated to 2026

Changelog:
===========
- Breaking change: Drop support for Python 3.8, require Python >= 3.9
- Breaking change: Remove deprecated xxhash.VERSION_TUPLE
- Breaking change: The input keyword argument is renamed to data in
  constructors and one-shot functions. update() additionally gains a data
  keyword argument (it accepted no keyword arguments before).
- Breaking change: str input is no longer accepted and raises TypeError:
  Strings must be encoded before hashing; encode to bytes before hashing
- Upgrade xxHash from v0.8.2 to v0.8.3. Note: on GCC/Clang source builds that
  target AVX2 (e.g. -march=x86-64-v3), upstream v0.8.3 autovectorizes
  XXH64_update() and makes the xxh64 streaming path about 2x slower. The shipped
  wheels are built for baseline x86-64 and are unaffected. Source builds can work
  around it by adding -fno-tree-vectorize to the compiler flags.
- Add per-object locking for thread safety, with sub-interpreter and
  free-threaded (no-GIL) Python support. The GIL is now released only while
  hashing inputs larger than 64 KiB; previously update() released it
  unconditionally and one-shot functions always held it.
- Speed up hash constructors by switching them to tp_vectorcall.
- Build pyodide wasm32 wheels
- Add s390x big-endian test job
- Add Python 3.15 classifier
- CI: shard the PyPI upload into parallel groups and create the GitHub Release
  automatically

Signed-off-by: Wang Mingyu <[email protected]>
---
 .../{python3-xxhash_3.8.1.bb => python3-xxhash_4.0.0.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-xxhash_3.8.1.bb => python3-xxhash_4.0.0.bb} (74%)

diff --git a/meta-python/recipes-devtools/python/python3-xxhash_3.8.1.bb b/meta-python/recipes-devtools/python/python3-xxhash_4.0.0.bb
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-xxhash_3.8.1.bb
rename to meta-python/recipes-devtools/python/python3-xxhash_4.0.0.bb
index 4416949f2f..52efce26db 100644
--- a/meta-python/recipes-devtools/python/python3-xxhash_3.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-xxhash_4.0.0.bb
@@ -1,11 +1,11 @@
 SUMMARY = "xxhash is a Python binding for the xxHash library by Yann Collet."
 SECTION = "devel/python"
 LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=82f3295151c5e61043a4a201c031a5ee"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c6a4f6d709b13927e4d5e9ff13cf8956"
 
 DEPENDS += "python3-setuptools-scm-native"
 
-SRC_URI[sha256sum] = "b0de4bf3aa66363552d52c6a89003c479911f12098cd48a53d44a0f7a25f7c46"
+SRC_URI[sha256sum] = "6b4040b26c73c75e6c12273b0ae237f9235f39cce5fabb683a64e9f20d09df8b"
 
 SRC_URI += " \
     file://run-ptest \
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.