mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
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:
@@ -0,0 +1,24 @@
|
||||
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"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
SRC_URI[sha256sum] = "d72b2204f37840b0f16f34192c09b994b97bd25823d723d47a1eddfacf06eb43"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
Reference in New Issue
Block a user