Revisions of python-Flask

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1197028 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 41)
Forwarded request #1194157 from yeey

- update to 3.0.3
    * The default hashlib.sha1 may not be available in FIPS builds.
      Don’t access it at import time so the developer has time to
      change the default. :issue:`5448`
    * Don’t initialize the cli attribute in the sansio scaffold,
      but rather in the Flask concrete class. :issue:`5270`
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1166616 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 40)
- Remove not needed dependency python-contextvars
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1144168 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 39)
- update to 3.0.2:
  * Correct type for jinja_loader property. :issue:`5388`
  * Fix error with --extra-files and --exclude-patterns CLI
    options. :issue:`5391`
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1140137 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 38)
- update to 3.0.1:
  * Correct type for path argument to send_file. :issue:`5230`
  * Fix a typo in an error message for the flask run --key
    option. :pr:`5344`
  * Session data is untagged without relying on the built-in
    json.loads object_hook. This allows other JSON providers that
    don't implement that. :issue:`5381`
  * Address more type findings when using mypy strict mode.
    :pr:`5383`
  * Remove previously deprecated code. :pr:`5223`
  * Deprecate the __version__ attribute. Use feature detection,
    or importlib.metadata.version("flask"), instead.
    :issue:`5230`
  * Restructure the code such that the Flask (app) and Blueprint
    classes have Sans-IO bases. :pr:`5127`
  * Allow self as an argument to url_for. :pr:`5264`
  * Require Werkzeug >= 3.0.0.

  * Add an --exclude-patterns option to the flask run CLI command to
  * Relax typing for errorhandler to allow the user to use more precise
  * From Werkzeug, for redirect responses the Location header URL will
  * Add Config.from_prefixed_env() to load config values from environment
    variables that start with FLASK_ or another prefix. This parses values as
  * Fixed the issue where typing requires template global decorators to
    - Set the default encoding to “UTF-8” when loading .env and .flaskenv
    - flask shell sets up tab and history completion like the default
- add dependency on itsdangerous
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1113337 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 37)
- Update to 2.3.3:
  * Python 3.12 compatibility.
  * Require Werkzeug >= 2.3.7.
  * Use ``flit_core`` instead of ``setuptools`` as build backend.
  * Refactor how an app's root and instance paths are determined.
- Fiddle with captialisation again, I look forward to this flipping back
  to Flask at some point.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1109078 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 36)
- drops CVE-2023-30861-always-vary-cookie.patch in older dists
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1101890 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 35)
- Update to 2.3.2:
  * Set ``Vary: Cookie`` header when the session is accessed, modified, or
    refreshed.
  * Update Werkzeug requirement to >=2.3.3 to apply recent bug fixes.
  * Restore deprecated ``from flask import Markup``.
  * Drop support for Python 3.7.
  * Update minimum requirements to the latest versions.
  * Remove previously deprecated code.
  * Importing ``escape`` and ``Markup`` from ``flask`` is deprecated.
  * The ``app.got_first_request`` property is deprecated.
  * The ``locked_cached_property`` decorator is deprecated.
  * Signals are always available. ``blinker>=1.6.2`` is a required dependency.
  * Signals support ``async`` subscriber functions.
  * Remove uses of locks that could cause requests to block each other very
    briefly.
  * Use modern packaging metadata with ``pyproject.toml``.
  * Ensure subdomains are applied with nested blueprints.
  * If a blueprint is created with an empty name it raises a ``ValueError``.
  * ``SESSION_COOKIE_DOMAIN`` does not fall back to ``SERVER_NAME``.
  * The ``routes`` command shows each rule's ``subdomain`` or ``host``
    when domain matching is in use.
  * Use postponed evaluation of annotations.
- Switch to pyproject macros.
- Delete unneeded .gitignore files, update rpmlintrc
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1086038 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 34)
- update to 2.2.5 (bsc#1211246, CVE-2023-30861):
  * Set ``Vary: Cookie`` header when the session is accessed,
    modified, or refreshed.
  * Update for compatibility with Werkzeug 2.3.
  * Autoescape is enabled by default for ``.svg`` template
    files. :issue:`4831`
  * Fix the type of ``template_folder`` to accept
    ``pathlib.Path``. :issue:`4892`
  * Add ``--debug`` option to the ``flask run`` command.
    :issue:`4777`
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1083105 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 33)
- add sle15_python_module_pythons (jsc#PED-68)
Richard Brown's avatar Richard Brown (RBrownFactory) accepted request 989104 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 31)
- Update to 2.1.3
  * Inline some optional imports that are only used for certain
    CLI commands. #4606
  * Relax type annotation for after_request functions. #4600
  * instance_path for namespace packages uses the path closest to
    the imported submodule. #4610
  * Clearer error message when render_template and render_template_string
    are used outside an application context. #4693
- Add python-Flask-rpmlintrc
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 954385 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 28)
- Update to 2.0.3
  * 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. PR#4341
  * Fix type annotation for ``errorhandler`` decorator. #4295
  * Revert a change to the CLI that caused it to hide ``ImportError``
    tracebacks when importing the application. #4307
  * ``app.json_encoder`` and ``json_decoder`` are only passed to
    ``dumps`` and ``loads`` if they have custom behavior. This improves
    performance, mainly on PyPy. #4349
  * Clearer error message when ``after_this_request`` is used outside a
    request context. #4333
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 746453 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 22)
- Add python38-exception-test.patch to fix test failures under Python 3.8
Displaying revisions 1 - 20 of 41
openSUSE Build Service is sponsored by