From 30db0fd5e91f8df1389ce7f0f0814c4f62de1d74 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 24 Jan 2025 12:58:40 +0200 Subject: 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 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 with a field_name argument. - Correctly handle multiple @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 Signed-off-by: Khem Raj --- .../python/python3-marshmallow_3.25.1.bb | 40 ---------------------- .../python/python3-marshmallow_3.26.0.bb | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-marshmallow_3.25.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.25.1.bb b/meta-python/recipes-devtools/python/python3-marshmallow_3.25.1.bb deleted file mode 100644 index ec7eff705c..0000000000 --- a/meta-python/recipes-devtools/python/python3-marshmallow_3.25.1.bb +++ /dev/null @@ -1,40 +0,0 @@ -SUMMARY = "Simplified object serialization in python" -DESCRIPTION = "Marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes." -HOMEPAGE = "https://github.com/marshmallow-code/marshmallow" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "\ - file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ - file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" - -SRC_URI[sha256sum] = "f4debda3bb11153d81ac34b0d582bf23053055ee11e791b54b4b35493468040a" - -inherit python_flit_core pypi ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-pytz \ - python3-simplejson \ - python3-unittest-automake-output \ - python3-zoneinfo \ - python3-tzdata \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - rm -rf ${S}/tests/mypy_test_cases - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += " \ - python3-compression \ - python3-datetime \ - python3-email \ - python3-json \ - python3-numbers \ - python3-pprint \ - python3-packaging \ -" 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 @@ +SUMMARY = "Simplified object serialization in python" +DESCRIPTION = "Marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes." +HOMEPAGE = "https://github.com/marshmallow-code/marshmallow" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "\ + file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ + file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" + +SRC_URI[sha256sum] = "eb36762a1cc76d7abf831e18a3a1b26d3d481bbc74581b8e532a3d3a8115e1cb" + +inherit python_flit_core pypi ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytz \ + python3-simplejson \ + python3-unittest-automake-output \ + python3-zoneinfo \ + python3-tzdata \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + rm -rf ${S}/tests/mypy_test_cases + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-compression \ + python3-datetime \ + python3-email \ + python3-json \ + python3-numbers \ + python3-pprint \ + python3-packaging \ +" -- cgit v1.2.3-54-g00ecf