mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 06:10:50 +00:00
python3-cbor2: upgrade 5.7.1 -> 5.8.0
Contains fix for CVE-2025-68131 Changelog: - Added readahead buffering to C decoder for improved performance. The decoder now uses a 4 KB buffer by default to reduce the number of read calls. Benchmarks show 20-140% performance improvements for decoding operations. - Fixed Python decoder not preserving share index when decoding array items containing nested shareable tags, causing shared references to resolve to wrong objects - Reset shared reference state at the start of each top-level encode/decode operation Ptests passed: ... PASS: tests/test_tool.py:test_dtypes_from_file PASS: tests/test_tool.py:test_ignore_tag PASS: tests/test_types.py:test_frozendict ============================================================================ Testsuite summary DURATION: 4 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
20
meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb
Normal file
20
meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)."
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8"
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
SRC_URI[sha256sum] = "b19c35fcae9688ac01ef75bad5db27300c2537eb4ee00ed07e05d8456a0d4931"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-hypothesis \
|
||||
python3-unixadmin \
|
||||
"
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-datetime \
|
||||
"
|
||||
|
||||
CVE_PRODUCT = "cbor2"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user