summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-01-24 12:58:40 +0200
committerKhem Raj <raj.khem@gmail.com>2025-01-25 09:28:58 -0800
commit30db0fd5e91f8df1389ce7f0f0814c4f62de1d74 (patch)
tree80d90a2f7699b1469331552917eb8cf4efde4686 /meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb
parent90e1801d4a7b1b6779e77ee940c8c526779e2e82 (diff)
downloadmeta-openembedded-30db0fd5e91f8df1389ce7f0f0814c4f62de1d74.tar.gz
python3-marshmallow: Upgrade 3.25.1 -> 3.26.0
Upgrade to release 3.26.0: - Typing: Add type annotations and improved documentation for class Meta <marshmallow.Schema.Meta> options. - Typing: Improve type coverage of marshmallow.Schema.SchemaMeta. - Typing: marshmallow.Schema.loads parameter allows bytes and bytesarray. - Respect data_key when schema validators raise a ValidationError <marshmallow.exceptions.ValidationError> with a field_name argument. - Correctly handle multiple @post_load <marshmallow.post_load> methods where one method appends to the data and another passes pass_original=True. - URL fields now properly validate file paths. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb b/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb
new file mode 100644
index 0000000000..a421a93e4c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb
@@ -0,0 +1,40 @@
1SUMMARY = "Simplified object serialization in python"
2DESCRIPTION = "Marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes."
3HOMEPAGE = "https://github.com/marshmallow-code/marshmallow"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "\
6 file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \
7 file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb"
8
9SRC_URI[sha256sum] = "eb36762a1cc76d7abf831e18a3a1b26d3d481bbc74581b8e532a3d3a8115e1cb"
10
11inherit python_flit_core pypi ptest
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \
18 python3-pytest \
19 python3-pytz \
20 python3-simplejson \
21 python3-unittest-automake-output \
22 python3-zoneinfo \
23 python3-tzdata \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 rm -rf ${S}/tests/mypy_test_cases
29 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
30}
31
32RDEPENDS:${PN} += " \
33 python3-compression \
34 python3-datetime \
35 python3-email \
36 python3-json \
37 python3-numbers \
38 python3-pprint \
39 python3-packaging \
40"