diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2021-05-27 00:32:43 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-28 06:50:20 -0700 |
commit | a436443bea27bcaa5f6dfa616644bd0bc1f7bbf3 (patch) | |
tree | 3fd74efec22e83b5742a3a52da748ad17c54f5e8 /meta-python/recipes-devtools/python/python3-flask_2.0.1.bb | |
parent | 44b5c60c4b50656fe7a11cf2d320311f6b480d69 (diff) | |
download | meta-openembedded-contrib-a436443bea27bcaa5f6dfa616644bd0bc1f7bbf3.tar.gz |
python3-flask: Upgrade 1.1.2 -> 2.0.1
Upgrade to release 2.0.1:
- Re-add the filename parameter in send_from_directory. The
filename parameter has been renamed to path, the old name is
deprecated.
- Mark top-level names as exported so type checking understands
imports in user projects.
- Fix type annotation for g and inform mypy that it is a namespace
object that has arbitrary attributes.
- Fix some types that weren’t available in Python 3.6.0.
- Improve typing for send_file, send_from_directory, and
get_send_file_max_age.
- Show an error when a blueprint name contains a dot. The . has
special meaning, it is used to separate (nested) blueprint names
and the endpoint name.
- Combine URL prefixes when nesting blueprints that were created
with a url_prefix value.
- Roll back a change to the order that URL matching was done. The
URL is again matched after the session is loaded, so the session
is available in custom URL converters.
- Re-add deprecated Config.from_json, which was accidentally
removed early.
- Improve typing for some functions using Callable in their type
signatures, focusing on decorator factories.
- Nested blueprints are registered with their dotted name. This
allows different blueprints with the same name to be nested at
different locations.
- register_blueprint takes a name option to change the (pre-dotted)
name the blueprint is registered with. This allows the same
blueprint to be registered multiple times with unique names for
url_for. Registering the same blueprint with the same name
multiple times is deprecated. #1091
- Improve typing for stream_with_context.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-flask_2.0.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-flask_2.0.1.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-flask_2.0.1.bb b/meta-python/recipes-devtools/python/python3-flask_2.0.1.bb new file mode 100644 index 0000000000..2c94f82daa --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask_2.0.1.bb @@ -0,0 +1,17 @@ +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] = "1c4c257b1892aec1398784c63791cbaa43062f1f7aeb555c4da961b20ee68f55" + +PYPI_PACKAGE = "Flask" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + +RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click" |