diff mbox series

[meta-python,2/5] python3-cbor2: upgrade 5.7.1 -> 5.8.0

Message ID 20260105115346.3385811-2-skandigraun@gmail.com
State New
Headers show
Series [meta-oe,1/5] imagemagick: upgrade 7.1.2-11 -> 7.1.2-12 | expand

Commit Message

Gyorgy Sarvari Jan. 5, 2026, 11:53 a.m. UTC
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>
---
 .../python/{python3-cbor2_5.7.1.bb => python3-cbor2_5.8.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cbor2_5.7.1.bb => python3-cbor2_5.8.0.bb} (83%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.7.1.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-cbor2_5.7.1.bb
rename to meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb
index e124207cbf..888bcefff1 100644
--- a/meta-python/recipes-devtools/python/python3-cbor2_5.7.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb
@@ -3,7 +3,7 @@  LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8"
 DEPENDS += "python3-setuptools-scm-native"
 
-SRC_URI[sha256sum] = "7a405a1d7c8230ee9acf240aad48ae947ef584e8af05f169f3c1bde8f01f8b71"
+SRC_URI[sha256sum] = "b19c35fcae9688ac01ef75bad5db27300c2537eb4ee00ed07e05d8456a0d4931"
 
 inherit pypi python_setuptools_build_meta ptest-python-pytest