meta-openembedded/meta-python/recipes-devtools/python/python3-flask_2.0.1.bb
Leon Anavi a436443bea 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>
2021-05-28 06:50:20 -07:00

18 lines
637 B
BlitzBasic
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: Its 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"