diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-05 12:53:43 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-05 18:16:18 -0800 |
| commit | 1d7c7549b397f072ec5dea3641172e1b7ce6407d (patch) | |
| tree | 5dff7fefe7b387f0bc19c745b756225b5cc96b1f /meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb | |
| parent | 06996cf65b76836c4ce597691a8f4427c807e384 (diff) | |
| download | meta-openembedded-1d7c7549b397f072ec5dea3641172e1b7ce6407d.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb new file mode 100644 index 0000000000..c0a7061657 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.8.0.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" | ||
| 4 | DEPENDS += "python3-setuptools-scm-native" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "b19c35fcae9688ac01ef75bad5db27300c2537eb4ee00ed07e05d8456a0d4931" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta ptest-python-pytest | ||
| 9 | |||
| 10 | RDEPENDS:${PN}-ptest += " \ | ||
| 11 | python3-hypothesis \ | ||
| 12 | python3-unixadmin \ | ||
| 13 | " | ||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | python3-datetime \ | ||
| 16 | " | ||
| 17 | |||
| 18 | CVE_PRODUCT = "cbor2" | ||
| 19 | |||
| 20 | BBCLASSEXTEND = "native nativesdk" | ||
