From d076ac1d8f456fe1e07741c28e1f87e1809bcac0 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Wed, 23 Feb 2022 14:49:56 +0800 Subject: python3-flask: upgrade 2.0.2 -> 2.0.3 changelog: =============================================================================== -The test client's as_tuple parameter is deprecated and will be removed in Werkzeug 2.1. It is now also deprecated in Flask, to be removed in Flask 2.1, while remaining compatible with both in 2.0.x. Use response.request.environ instead. -Fix type annotation for errorhandler decorator. -Revert a change to the CLI that caused it to hide ImportError tracebacks when importing the application. -app.json_encoder and json_decoder are only passed to dumps and loads if they have custom behavior. This improves performance, mainly on PyPy. -Clearer error message when after_this_request is used outside a request context. Signed-off-by: Xu Huan Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-flask_2.0.2.bb | 23 ---------------------- .../recipes-devtools/python/python3-flask_2.0.3.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-flask_2.0.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-flask_2.0.3.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-flask_2.0.2.bb b/meta-python/recipes-devtools/python/python3-flask_2.0.2.bb deleted file mode 100644 index e3f1df3562..0000000000 --- a/meta-python/recipes-devtools/python/python3-flask_2.0.2.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions" -DESCRIPTION = "\ -Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ -intentions. And before you ask: It’s BSD licensed!" -HOMEPAGE = "https://github.com/mitsuhiko/flask/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" - -SRC_URI[sha256sum] = "7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2" - -PYPI_PACKAGE = "Flask" - -inherit pypi setuptools3 - -CLEANBROKEN = "1" - -RDEPENDS:${PN} = " \ - ${PYTHON_PN}-werkzeug \ - ${PYTHON_PN}-jinja2 \ - ${PYTHON_PN}-itsdangerous \ - ${PYTHON_PN}-click \ - ${PYTHON_PN}-profile \ -" diff --git a/meta-python/recipes-devtools/python/python3-flask_2.0.3.bb b/meta-python/recipes-devtools/python/python3-flask_2.0.3.bb new file mode 100644 index 0000000000..4070fc0128 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask_2.0.3.bb @@ -0,0 +1,23 @@ +SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions" +DESCRIPTION = "\ +Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ +intentions. And before you ask: It’s BSD licensed!" +HOMEPAGE = "https://github.com/mitsuhiko/flask/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" + +SRC_URI[sha256sum] = "e1120c228ca2f553b470df4a5fa927ab66258467526069981b3eb0a91902687d" + +PYPI_PACKAGE = "Flask" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + +RDEPENDS:${PN} = " \ + ${PYTHON_PN}-werkzeug \ + ${PYTHON_PN}-jinja2 \ + ${PYTHON_PN}-itsdangerous \ + ${PYTHON_PN}-click \ + ${PYTHON_PN}-profile \ +" -- cgit v1.2.3-54-g00ecf