From a0237019f5b5c003fd0c6fd4486859214e24be01 Mon Sep 17 00:00:00 2001 From: alperak Date: Wed, 6 Mar 2024 09:30:51 +0300 Subject: python3-marshmallow: upgrade 3.20.2 -> 3.21.1 and add ptest * Upstream provides a pyproject.toml which declares a flit_core.buildapi build backend instead of setuptools. * Updated runtime dependencies. * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_SLOW_META_PYTHON * Upstream, excluded test/mypy_test_cases in the pyproject.toml file. More descriptively, norecursedirs tells pytest where not to look and tests/mypy_test_cases already defined in it so has been removed from runtime. https://github.com/marshmallow-code/marshmallow/blob/df23ad0048b5443346fe47810cda052641558257/pyproject.toml#L89C61-L89C76 License-Update: Removed license year Ptest result: ============== qemux86-64: Testsuite summary TOTAL: 1228 PASS: 1228 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 56 END: /usr/lib/python3-marshmallow/ptest 2024-03-06T05:33 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 1228 PASS: 1228 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 51 END: /usr/lib/python3-marshmallow/ptest 2024-03-06T05:28 STOP: ptest-runner TOTAL: 1 FAIL: 0 ============= Changelog: 3.21.1 (2024-03-04) Bug fixes: Fix error message when field is declared as a class and not an instance (#2245). Thanks @travnick for reporting. 3.21.0 (2024-02-26) Bug fixes: Fix validation of URL fields to allow missing user field, per NWG RFC 3986 (#2232). Thanks @ddennerline3 for reporting and @deckar01 for the PR. Other changes: Backwards-incompatible: __version__, __parsed_version__, and __version_info__ attributes are deprecated (#2227). Use feature detection or importlib.metadata.version("marshmallow") instead. Signed-off-by: alperak Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-marshmallow/run-ptest | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-marshmallow/run-ptest (limited to 'meta-python/recipes-devtools/python/python3-marshmallow') diff --git a/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest b/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake -- cgit v1.2.3-54-g00ecf