python3-flask: upgrade 3.0.3 -> 3.1.0

Changelog:
==============
- Drop support for Python 3.8.
- Update minimum dependency versions to latest feature releases.
  Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9.
- Provide a configuration option to control automatic option responses.
- Flask.open_resource/open_instance_resource and Blueprint.open_resource take an
  encoding parameter to use when opening in text mode. It defaults to utf-8.
- Request.max_content_length can be customized per-request instead of only
  through the MAX_CONTENT_LENGTH config. Added MAX_FORM_MEMORY_SIZE and
  MAX_FORM_PARTS config. Added documentation about resource limits to the security page.
- Add support for the Partitioned cookie attribute (CHIPS), with the
  SESSION_COOKIE_PARTITIONED config.
- -e path takes precedence over default .env and .flaskenv files. load_dotenv
  loads default files in addition to a path unless load_defaults=False is passed.
- Support key rotation with the SECRET_KEY_FALLBACKS config, a list of old secret
  keys that can still be used for unsigning. Extensions will need to add support.
- Fix how setting host_matching=True or subdomain_matching=False interacts with
  SERVER_NAME. Setting SERVER_NAME no longer restricts requests to only that domain.
- Request.trusted_hosts is checked during routing, and can be set through the TRUSTED_HOSTS config.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2024-11-18 17:29:39 +08:00 committed by Khem Raj
parent c5b7601e0b
commit e27fbcd56b
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/mitsuhiko/flask/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
SRC_URI[sha256sum] = "ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842"
SRC_URI[sha256sum] = "5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac"
SRC_URI += " \
file://run-ptest \