meta-openembedded/meta-python/recipes-devtools/python/python3-marshmallow_3.25.1.bb
Wang Mingyu a5b19261c0
python3-marshmallow: upgrade 3.24.1 -> 3.25.1
Changelog:
===========
- Typing: Fix type annotations for Tuple <marshmallow.fields.Tuple>,
  Boolean <marshmallow.fields.Boolean>, and
  Pluck <marshmallow.fields.Pluck> constructors
- Typing: Fix overload for marshmallow.class_registry.get_class
- Various documentation improvements
- Add top-level API back to docs
- Typing: Improve type annotations for SchemaMeta.get_declared_fields
- Typing: Relax type annotation for Schema.opts to allow subclasses to define
  their own options classes
- Restore marshmallow.base.SchemaABC for backwards-compatibility
- Don't override __new__ to avoid breaking usages of inspect.signature with
  Field <marshmallow.fields.Field> classes. This allows marshmallow-sqlalchemy
  users to upgrade marshmallow without upgrading to marshmallow-sqlalchemy>=1.1.1.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-14 08:52:06 -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] = "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 \
"