Commit Graph

63 Commits

Author SHA256 Message Date
Dominique Leuenberger
d129f10dd6 Accepting request 1197028 from devel:languages:python:flask
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`

OBS-URL: https://build.opensuse.org/request/show/1197028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=41
2024-08-30 11:26:06 +00:00
099aebf423 - 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`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=48
2024-08-28 15:41:08 +00:00
Ana Guerrero
df9450c908 Accepting request 1166616 from devel:languages:python:flask
- Remove not needed dependency python-contextvars

OBS-URL: https://build.opensuse.org/request/show/1166616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=40
2024-04-10 15:48:42 +00:00
b44f22a6c2 - Remove not needed dependency python-contextvars
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=46
2024-04-10 10:15:08 +00:00
Ana Guerrero
dce0f6ff4d Accepting request 1144168 from devel:languages:python:flask
- 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`

OBS-URL: https://build.opensuse.org/request/show/1144168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=39
2024-02-06 15:32:43 +00:00
a293245a56 - 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`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=44
2024-02-05 10:05:08 +00:00
Ana Guerrero
545b10d759 Accepting request 1140137 from devel:languages:python:flask
- 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

OBS-URL: https://build.opensuse.org/request/show/1140137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=38
2024-01-21 22:07:16 +00:00
8695adbbce - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=42
2024-01-20 14:07:52 +00:00
Ana Guerrero
e55773ee4a Accepting request 1113337 from devel:languages:python:flask
- 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.

OBS-URL: https://build.opensuse.org/request/show/1113337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=37
2023-09-26 20:00:43 +00:00
Steve Kowalik
bc0d890120 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=40
2023-09-25 02:32:52 +00:00
Ana Guerrero
43e8d956fa Accepting request 1109078 from devel:languages:python:flask
- drops CVE-2023-30861-always-vary-cookie.patch in older dists

OBS-URL: https://build.opensuse.org/request/show/1109078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=36
2023-09-06 16:56:32 +00:00
ae9577b9a9 - drops CVE-2023-30861-always-vary-cookie.patch in older dists
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=38
2023-09-05 15:06:58 +00:00
Dominique Leuenberger
f30bcacefd Accepting request 1101890 from devel:languages:python:flask
- 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

OBS-URL: https://build.opensuse.org/request/show/1101890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=35
2023-08-14 20:34:57 +00:00
Steve Kowalik
7eefcf0b84 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=36
2023-08-02 06:48:59 +00:00
Dominique Leuenberger
39a69d3823 Accepting request 1086038 from devel:languages:python:flask
- 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`

OBS-URL: https://build.opensuse.org/request/show/1086038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=34
2023-05-11 10:31:55 +00:00
90a78ed1bf - 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`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=34
2023-05-10 09:19:40 +00:00
Dominique Leuenberger
6addcf8deb Accepting request 1083105 from devel:languages:python:flask
- add sle15_python_module_pythons (jsc#PED-68)

OBS-URL: https://build.opensuse.org/request/show/1083105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=33
2023-04-28 14:22:12 +00:00
64b64dc6fb - add sle15_python_module_pythons (jsc#PED-68)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=32
2023-04-26 20:09:25 +00:00
Dominique Leuenberger
9ba23fb7ad Accepting request 1034198 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/1034198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=32
2022-11-24 11:21:58 +00:00
ac822c5fb2 Accepting request 1034187 from home:stroeder:python
Update to 2.2.2

OBS-URL: https://build.opensuse.org/request/show/1034187
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=30
2022-11-07 13:12:26 +00:00
Richard Brown
869e297255 Accepting request 989104 from devel:languages:python:flask
- 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

OBS-URL: https://build.opensuse.org/request/show/989104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=31
2022-07-18 16:32:51 +00:00
f8d000427a - Add python-Flask-rpmlintrc
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=28
2022-07-14 08:21:11 +00:00
e17e7fa1f1 Accepting request 989056 from home:stroeder:branches:devel:languages:python:flask
Update to 2.1.3

OBS-URL: https://build.opensuse.org/request/show/989056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=27
2022-07-14 08:13:33 +00:00
Dominique Leuenberger
0f52e860ef Accepting request 973776 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/973776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=30
2022-05-01 16:53:24 +00:00
b2a388828b Accepting request 973757 from home:stroeder:python
Update to 2.1.2

OBS-URL: https://build.opensuse.org/request/show/973757
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=25
2022-04-28 21:52:36 +00:00
Dominique Leuenberger
ab61fe4910 Accepting request 970586 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/970586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=29
2022-04-23 17:45:18 +00:00
fc00aa25b5 Accepting request 970467 from home:bnavigator:branches:devel:languages:python:flask
- Update the build and runtime requirements.

OBS-URL: https://build.opensuse.org/request/show/970467
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=23
2022-04-18 09:28:43 +00:00
486a18cc9a Accepting request 966147 from home:stroeder:python
Update to 2.1.1

OBS-URL: https://build.opensuse.org/request/show/966147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=22
2022-03-31 12:57:51 +00:00
b6ddb10911 - Fix deduplication.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=21
2022-03-29 19:39:08 +00:00
4f26997469 Accepting request 965486 from home:stroeder:python
- Update to 2.1.0
  * Drop support for Python 3.6. #4335
  * Update Click dependency to >= 8.0. #4008

OBS-URL: https://build.opensuse.org/request/show/965486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=20
2022-03-29 17:31:02 +00:00
Dominique Leuenberger
a2e3cb30a0 Accepting request 954385 from devel:languages:python:flask
- 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

OBS-URL: https://build.opensuse.org/request/show/954385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=28
2022-02-15 22:57:07 +00:00
be2447030b Accepting request 954378 from home:stroeder:python
Update to 2.0.3

OBS-URL: https://build.opensuse.org/request/show/954378
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=19
2022-02-14 21:14:40 +00:00
Dominique Leuenberger
3593ed7a1d Accepting request 924644 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/924644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=27
2021-10-25 13:16:57 +00:00
91b72e3a1e Accepting request 924492 from home:stroeder:python
Update to 2.0.2

OBS-URL: https://build.opensuse.org/request/show/924492
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=18
2021-10-11 10:00:46 +00:00
John Vandenberg
30a4089b6f Accepting request 923255 from home:schubi2
- Added BuildRequires:  alts

OBS-URL: https://build.opensuse.org/request/show/923255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=17
2021-10-05 14:25:50 +00:00
John Vandenberg
e46f4877e9 Accepting request 922595 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/922595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=16
2021-10-02 04:19:11 +00:00
Dominique Leuenberger
49124fd031 Accepting request 901115 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/901115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=26
2021-07-10 20:53:45 +00:00
60a0f06307 Accepting request 900944 from home:stroeder:python
Update to 2.0.1 (PY3-only)

OBS-URL: https://build.opensuse.org/request/show/900944
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=15
2021-06-21 09:58:31 +00:00
Dominique Leuenberger
7e56f8572a Accepting request 809661 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/809661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=25
2020-06-05 17:59:16 +00:00
Petr Cervinka
1ef9d6c750 Accepting request 809254 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=13
2020-05-27 17:41:16 +00:00
Dominique Leuenberger
7b20e10b53 Accepting request 791758 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/791758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=24
2020-04-09 21:14:07 +00:00
f232e85ffc Accepting request 791247 from home:czerw:branches:devel:languages:python:flask
- Update to 1.1.2:
  * Work around an issue when running the flask command with an external
    debugger on Windows. :issue:`3297`
  * The static route will not catch all URLs if the Flask static_folder
    argument ends with a slash. :issue:`3452`
- Remove python38-exception-test.patch

OBS-URL: https://build.opensuse.org/request/show/791247
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=11
2020-04-06 12:01:42 +00:00
Dominique Leuenberger
f85be4fc5b Accepting request 752962 from devel:languages:python:flask
OBS-URL: https://build.opensuse.org/request/show/752962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=23
2019-12-07 14:12:13 +00:00
Petr Cervinka
39e6149316 Accepting request 752951 from home:glaubitz:branches:devel:languages:python:flask
- Fix build on SLE-12
  + Add python to BuildRequires for suse_version < 1500

OBS-URL: https://build.opensuse.org/request/show/752951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=9
2019-12-02 15:16:28 +00:00
Dominique Leuenberger
73b881071b Accepting request 746453 from devel:languages:python:flask
- Add python38-exception-test.patch to fix test failures under Python 3.8

OBS-URL: https://build.opensuse.org/request/show/746453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=22
2019-11-11 12:00:30 +00:00
Steve Kowalik
1a30d9abb8 - Add python38-exception-test.patch to fix test failures under Python 3.8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=7
2019-11-08 05:41:19 +00:00
Dominique Leuenberger
6433017b2b Accepting request 717080 from devel:languages:python:flask
- Update to 1.1.1:
  * The flask.json_available flag was added back for compatibility with some
    extensions. It will raise a deprecation warning when used, and will be
    removed in version 2.0.0. #3288

- specfile:
  * updated version of Werkzeug requirement to 0.15
  * AUTHORS file not in tar-ball
  * license file got renamed to LICENSE.rst
  * be more specific in %files section
- update to version 1.1.0:
  * Bump minimum Werkzeug version to >= 0.15.
  * Drop support for Python 3.4.
  * Error handlers for "InternalServerError" or "500" will always be
      passed an instance of "InternalServerError". If they are invoked
      due to an unhandled exception, that original exception is now
      available as "e.original_exception" rather than being passed
      directly to the handler. The same is true if the handler is for
      the base "HTTPException". This makes error handler behavior more
      consistent. :pr:`3266`
    + :meth:`Flask.finalize_request` is called for all unhandled
        exceptions even if there is no "500" error handler.
  * :attr:`Flask.logger` takes the same name as :attr:`Flask.name`
      (the value passed as "Flask(import_name)". This reverts 1.0's
      behavior of always logging to ""flask.app"", in order to support
      multiple apps in the same process. A warning will be shown if
      old configuration is detected that needs to be
      moved. :issue:`2866`
  * :meth:`flask.RequestContext.copy` includes the current session
      object in the request context copy. This prevents "session"

OBS-URL: https://build.opensuse.org/request/show/717080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=21
2019-07-30 11:03:10 +00:00
Tomáš Chvátal
0d17b977e6 - Update to 1.1.1:
* The flask.json_available flag was added back for compatibility with some
    extensions. It will raise a deprecation warning when used, and will be
    removed in version 2.0.0. #3288

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=5
2019-07-19 12:24:36 +00:00
Petr Cervinka
528d3a10db Accepting request 713756 from home:apersaud:branches:devel:languages:python:flask
update to latest version

OBS-URL: https://build.opensuse.org/request/show/713756
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=4
2019-07-08 07:18:16 +00:00
Dominique Leuenberger
be6b26f959 Accepting request 705805 from devel:languages:python:flask
- Update to 1.0.3:
  * :func:`send_file` encodes filenames as ASCII instead of Latin-1
    (ISO-8859-1). This fixes compatibility with Gunicorn, which is
    stricter about header encodings than PEP 3333. (`#2766`_)
  * Allow custom CLIs using ``FlaskGroup`` to set the debug flag without
    it always being overwritten based on environment variables.
    (`#2765`_)
  * ``flask --version`` outputs Werkzeug's version and simplifies the
    Python version. (`#2825`_)
  * :func:`send_file` handles an ``attachment_filename`` that is a
    native Python 2 string (bytes) with UTF-8 coded bytes. (`#2933`_)
  * A catch-all error handler registered for ``HTTPException`` will not
    handle ``RoutingExcpetion``, which is used internally during
    routing. This fixes the unexpected behavior that had been introduced
    in 1.0. (`#2986`_)
  * Passing the ``json`` argument to ``app.test_client`` does not
    push/pop an extra app context. (`#2900`_)

OBS-URL: https://build.opensuse.org/request/show/705805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=20
2019-06-18 12:43:29 +00:00