meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb
Leon Anavi 30db0fd5e9
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>
2025-01-25 09:28:58 -08:00

41 lines
1.2 KiB
BlitzBasic

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 \
"