diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-06-02 09:40:55 +0300 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-07 18:21:35 -0700 |
| commit | 0d541bae0998b39ae0362eb8b2cd6a7639bc3977 (patch) | |
| tree | be11b8a1a4cdf084499bfa6d812dbe7e4f0e9bea /meta-python/recipes-devtools/python/python3-cbor2-crates.inc | |
| parent | 541a0b2340fcdea05c1e67c21fd7dac81dc6584f (diff) | |
| download | meta-openembedded-0d541bae0998b39ae0362eb8b2cd6a7639bc3977.tar.gz | |
python3-cbor2: Upgrade 5.9.0 -> 6.1.1
Upgrade to release 6.1.1:
- Fixed cbor2.load() returning corrupted data for payloads exceeding
4096 bytes
From 6.1.0:
- Added the allow_duplicate_keys parameter to CBORDecoder, load and
loads (default: True). When set to False, a CBORDecodeError is raised
upon encountering a duplicate key within the same map.
- Added support for decoding from any object supporting the buffer API
(e.g. memoryview or bytearray) in addition to bytes
- Fixed compatibility issues with 32-bit systems
From 6.0.1:
- Fixed an error in the mutability logic during decoding, leading to
values being decoded as immutable in unexpected places
From 6.0.0:
- MAJOR REWRITE: The Python and C implementations of the encoder and
decoder were replaced with a single, Rust-based implementation in the
interest of maintainability.
- BACKWARD INCOMPATIBLE Changed the signature of the tag_hook decoder
callables to accept (CBORTag, immutable as arguments instead of
CBORDecoder, CBORTag)
- BACKWARD INCOMPATIBLE Changed the signature of the object_hook decoder
callables to accept (Mapping[Any, Any], bool) instead of (CBORDecoder,
dict[Any, Any])
- BACKWARD INCOMPATIBLE Removed the break_marker singleton as no longer
necessary
- BACKWARD INCOMPATIBLE Removed the CBORDecodeValueError exception,
instead chaining ValueError or TypeError to a CBORDecodeError
- BACKWARD INCOMPATIBLE Changed the decoding of semantic tag 261 to
yield an IPv4Interface or IPv6Interface if the address contains host
bits
- BACKWARD INCOMPATIBLE Removed the individual decoding functions from
the API as they were mistakenly called directly by users. Please open
an issue if you need them back.
- BACKWARD INCOMPATIBLE Changed the encoding of IP addresses to use the
semantic tags 52 and 54 instead of the deprecated 260 and 261
- BACKWARD INCOMPATIBLE Dropped the deprecated cbor2.decoder and
cbor2.encoder modules - everything in the API is now importable
directly from cbor2
- BACKWARD INCOMPATIBLE The cbor2.FrozenDict class has now been renamed
frozendict and is not available on Python 3.15 where the built-in
frozendict class must be used instead
- Added the semantic_decoders decoder option to add or override decoders
for specific semantic tags
- Added the immutable decoder flag to always use immutable containers
where possible when decoding a CBOR stream
- Added the allow_indefinite decoder option to optionally disallow
indefinite-length strings and containers
- Dropped support for Python 3.9
- Fixed the decoder not rejecting invalid two-byte simple value
sequences (0xF800 - 0xF81F)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cbor2-crates.inc')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-cbor2-crates.inc | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2-crates.inc b/meta-python/recipes-devtools/python/python3-cbor2-crates.inc new file mode 100644 index 0000000000..b7b94b8da1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cbor2-crates.inc | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | # Autogenerated with 'bitbake -c update_crates python3-cbor2' | ||
| 2 | |||
| 3 | # from rust/Cargo.lock | ||
| 4 | SRC_URI += " \ | ||
| 5 | crate://crates.io/autocfg/1.5.0 \ | ||
| 6 | crate://crates.io/bigdecimal/0.4.10 \ | ||
| 7 | crate://crates.io/cfg-if/1.0.4 \ | ||
| 8 | crate://crates.io/crunchy/0.2.4 \ | ||
| 9 | crate://crates.io/half/2.7.1 \ | ||
| 10 | crate://crates.io/heck/0.5.0 \ | ||
| 11 | crate://crates.io/libc/0.2.182 \ | ||
| 12 | crate://crates.io/libm/0.2.16 \ | ||
| 13 | crate://crates.io/num-bigint/0.4.6 \ | ||
| 14 | crate://crates.io/num-integer/0.1.46 \ | ||
| 15 | crate://crates.io/num-traits/0.2.19 \ | ||
| 16 | crate://crates.io/once_cell/1.21.3 \ | ||
| 17 | crate://crates.io/portable-atomic/1.13.1 \ | ||
| 18 | crate://crates.io/proc-macro2/1.0.106 \ | ||
| 19 | crate://crates.io/pyo3/0.28.2 \ | ||
| 20 | crate://crates.io/pyo3-build-config/0.28.2 \ | ||
| 21 | crate://crates.io/pyo3-ffi/0.28.2 \ | ||
| 22 | crate://crates.io/pyo3-macros/0.28.2 \ | ||
| 23 | crate://crates.io/pyo3-macros-backend/0.28.2 \ | ||
| 24 | crate://crates.io/quote/1.0.44 \ | ||
| 25 | crate://crates.io/syn/2.0.117 \ | ||
| 26 | crate://crates.io/target-lexicon/0.13.5 \ | ||
| 27 | crate://crates.io/unicode-ident/1.0.24 \ | ||
| 28 | crate://crates.io/zerocopy/0.8.40 \ | ||
| 29 | crate://crates.io/zerocopy-derive/0.8.40 \ | ||
| 30 | " | ||
| 31 | |||
| 32 | SRC_URI[autocfg-1.5.0.sha256sum] = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" | ||
| 33 | SRC_URI[bigdecimal-0.4.10.sha256sum] = "4d6867f1565b3aad85681f1015055b087fcfd840d6aeee6eee7f2da317603695" | ||
| 34 | SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" | ||
| 35 | SRC_URI[crunchy-0.2.4.sha256sum] = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" | ||
| 36 | SRC_URI[half-2.7.1.sha256sum] = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" | ||
| 37 | SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" | ||
| 38 | SRC_URI[libc-0.2.182.sha256sum] = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" | ||
| 39 | SRC_URI[libm-0.2.16.sha256sum] = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" | ||
| 40 | SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" | ||
| 41 | SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" | ||
| 42 | SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" | ||
| 43 | SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" | ||
| 44 | SRC_URI[portable-atomic-1.13.1.sha256sum] = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" | ||
| 45 | SRC_URI[proc-macro2-1.0.106.sha256sum] = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" | ||
| 46 | SRC_URI[pyo3-0.28.2.sha256sum] = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1" | ||
| 47 | SRC_URI[pyo3-build-config-0.28.2.sha256sum] = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7" | ||
| 48 | SRC_URI[pyo3-ffi-0.28.2.sha256sum] = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc" | ||
| 49 | SRC_URI[pyo3-macros-0.28.2.sha256sum] = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e" | ||
| 50 | SRC_URI[pyo3-macros-backend-0.28.2.sha256sum] = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a" | ||
| 51 | SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" | ||
| 52 | SRC_URI[syn-2.0.117.sha256sum] = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" | ||
| 53 | SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" | ||
| 54 | SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" | ||
| 55 | SRC_URI[zerocopy-0.8.40.sha256sum] = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5" | ||
| 56 | SRC_URI[zerocopy-derive-0.8.40.sha256sum] = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953" | ||
