summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-flask_3.1.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-flask: update recipe to use the ptest-python-pytest classDerek Straka2025-01-301-11/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-*: Update recipes to correctly check the upstream packagesDerek Straka2024-12-191-3/+0
| | | | | | | | | | | | With the upstream check migrated to the simple repo API, a number of the recipes required updates to: 1. Remove outdated UPSTREAM_CHECK_REGEX checks 2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for packages that use '_', CamelCase, or other deviations from PEP625 in the source archive Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-flask: Adjust runtime dependenciesKhem Raj2024-11-211-1/+2
| | | | | | | Drop python3-profile, its not needed anymore add python3-importlib-metadata and python3-asgiref for ptests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-flask: upgrade 3.0.3 -> 3.1.0Wang Mingyu2024-11-191-0/+38
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>