summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cbor2_5.6.2.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-03-06 16:43:15 +0800
committerKhem Raj <raj.khem@gmail.com>2024-03-08 10:07:22 -0800
commitb88e83db4021066d153da8aa968d0143203100fc (patch)
treeff1ef5a2a7b33b847447f039f604a252c9e6ee87 /meta-python/recipes-devtools/python/python3-cbor2_5.6.2.bb
parent59ccd2e91af5ed6f5378ec52ecdab11cf6dd922c (diff)
downloadmeta-openembedded-b88e83db4021066d153da8aa968d0143203100fc.tar.gz
python3-cbor2: upgrade 5.6.1 -> 5.6.2
Changelog: ========== -Fixed __hash__() of the C version of the CBORTag type crashing when there's a recursive reference cycle -Fixed type annotation for the file object in cbor2.dump(), cbor2.load(), CBOREncoder and CBORDecoder to be IO[bytes] instead of BytesIO -Worked around a CPython bug that caused a SystemError to be raised, or even a buffer overflow to occur when decoding a long text string that contained only ASCII characters -Changed the return type annotations of cbor2.load() and cbor2.load() to return Any instead of object so as not to force users to make type casts Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cbor2_5.6.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-cbor2_5.6.2.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.2.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.2.bb
new file mode 100644
index 0000000000..c0987a9a15
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.2.bb
@@ -0,0 +1,33 @@
1DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)."
2DEPENDS +="python3-setuptools-scm-native"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
6
7SRC_URI[sha256sum] = "b7513c2dea8868991fad7ef8899890ebcf8b199b9b4461c3c11d7ad3aef4820d"
8
9inherit pypi python_setuptools_build_meta ptest
10
11DEPENDS += "python3-setuptools-scm-native"
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \
18 python3-hypothesis \
19 python3-pytest \
20 python3-unittest-automake-output \
21 python3-unixadmin \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}
28
29RDEPENDS:${PN} += " \
30 python3-datetime \
31"
32
33BBCLASSEXTEND = "native nativesdk"