From 974dfbeb4476aa514e65d33ad6ecb541d2dce3ea Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 18 Nov 2025 17:08:31 +0800 Subject: python3-apiflask: upgrade 2.4.0 -> 3.0.0 Changelog: ============= - Add support for Python 3.14. - Drop support for Python 3.8 and PyPy 3.10. - Decouple from marshmallow and add an adapter system to support different serialization/deserialization libraries - Add support for Pydantic models as data schemas - Fix subclassed MethodView resources cannot be added as URL rules - Add support for API key auth with APIKeyHeaderAuth, APIKeyCookieAuth, and APIKeyQueryAuth. Add support for runtime selection of authentication methods with MultiAuth. Deprecate the API key auth with HTTPTokenAuth - Remove implicit security scheme naming rules - Remove implicit schema naming change (i.e. 'Schema' suffix stripping) - Deprecate the EmptySchema class. Use empty dict {} instead - Remove the deprecated __version__ attribute. Use feature detection or importlib.metadata.version("apiflask") instead. - Fix the support for marshmallow DelimitedList field in OpenAPI spec generation Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-apiflask_2.4.0.bb | 16 ---------------- .../recipes-devtools/python/python3-apiflask_3.0.0.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-apiflask_3.0.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb b/meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb deleted file mode 100644 index 96eb1f2f9d..0000000000 --- a/meta-python/recipes-devtools/python/python3-apiflask_2.4.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "APIFlask is a lightweight Python web API framework based on Flask and marshmallow-code projects." -HOMEPAGE = "https://github.com/apiflask/apiflask" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" - -inherit pypi python_setuptools_build_meta - -SRC_URI[sha256sum] = "b7894741cdea90013276873cdf635d5150e1deb3fe20d02d429866af960f275f" - -RDEPENDS:${PN} += "\ - python3-apispec \ - python3-flask \ - python3-flask-httpauth \ - python3-flask-marshmallow \ - python3-webargs \ - " diff --git a/meta-python/recipes-devtools/python/python3-apiflask_3.0.0.bb b/meta-python/recipes-devtools/python/python3-apiflask_3.0.0.bb new file mode 100644 index 0000000000..3b9912454d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-apiflask_3.0.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "APIFlask is a lightweight Python web API framework based on Flask and marshmallow-code projects." +HOMEPAGE = "https://github.com/apiflask/apiflask" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "2b8420a23b93a78407ef5fe3e1f79cdfc7baa9b3c53977a06d6ab68772a7c2b7" + +RDEPENDS:${PN} += "\ + python3-apispec \ + python3-flask \ + python3-flask-httpauth \ + python3-flask-marshmallow \ + python3-webargs \ + " -- cgit v1.2.3-54-g00ecf