Commit Graph

36 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dominique Leuenberger
e38245fc8d Accepting request 605120 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/605120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=19
2018-05-11 09:26:01 +00:00
Dominique Leuenberger
1a6cc92d4d Accepting request 602328 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/602328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=18
2018-05-06 12:55:27 +00:00
Dominique Leuenberger
14f10da725 Accepting request 515228 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/515228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=17
2017-08-14 10:37:01 +00:00
Dominique Leuenberger
4f17141ded Accepting request 487844 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/487844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=16
2017-04-28 08:38:31 +00:00
Dominique Leuenberger
a478930d1f Accepting request 441851 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/441851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=15
2016-11-28 14:06:14 +00:00
Dominique Leuenberger
be589e07da Accepting request 429835 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/429835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=14
2016-09-27 11:44:34 +00:00
Tomáš Chvátal
cef8df632d Accepting request 204561 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=12
2013-10-25 09:16:04 +00:00
Stephan Kulow
ac5e2f9dc2 Accepting request 197962 from devel:languages:python
- add dependency on itsdangerous (forwarded request 197961 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/197962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=11
2013-09-25 12:37:01 +00:00
Stephan Kulow
bce9d4bbbf Accepting request 141541 from devel:languages:python
- Disable testsuite on SLE_11_SP2

- Update to version 0.9:
  + The :func:flask.Request.on_json_loading_failed now returns a JSON formatted
    response by default.
  + The :func:flask.url_for function now can generate anchors to the
    generated links.
  + The :func:flask.url_for function now can also explicitly generate
    URL rules specific to a given HTTP method.
  + Logger now only returns the debug log setting if it was not set
    explicitly.
  + Unregister a circular dependency between the WSGI environment and
    the request object when shutting down the request.  This means that
    environ werkzeug.request will be None after the response was
    returned to the WSGI server but has the advantage that the garbage
    collector is not needed on CPython to tear down the request unless
    the user created circular dependencies themselves.
  + Session is now stored after callbacks so that if the session payload
    is stored in the session you can still modify it in an after
    request callback.
  + The :class:flask.Flask class will avoid importing the provided import name
    if it can (the required first parameter), to benefit tools which build Flask
    instances programmatically.  The Flask class will fall back to using import
    on systems with custom module hooks, e.g. Google App Engine, or when the
    import name is inside a zip archive (usually a .egg) prior to Python 2.7.
  + Blueprints now have a decorator to add custom template filters application
    wide, :meth:flask.Blueprint.app_template_filter.
  + The Flask and Blueprint classes now have a non-decorator method for adding
    custom template filters application wide,
    :meth:flask.Flask.add_template_filter and

OBS-URL: https://build.opensuse.org/request/show/141541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=8
2012-11-17 06:27:32 +00:00
Stephan Kulow
00465a43a5 Accepting request 90912 from devel:languages:python
- Update to version 0.8:
  * Refactored session support into a session interface so that
    the implementation of the sessions can be changed without
    having to override the Flask class.
  * Empty session cookies are now deleted properly automatically.
  * View functions can now opt out of getting the automatic
    OPTIONS implementation.
  * HTTP exceptions and Bad Request errors can now be trapped so that they
    show up normally in the traceback.
  * Flask in debug mode is now detecting some common problems and tries to
    warn you about them.
  * Flask in debug mode will now complain with an assertion error if a view
    was attached after the first request was handled.  This gives earlier
    feedback when users forget to import view code ahead of time.
  * Added the ability to register callbacks that are only triggered once at
    the beginning of the first request. (:meth:`Flask.before_first_request`)
  * Malformed JSON data will now trigger a bad request HTTP exception instead
    of a value error which usually would result in a 500 internal server
    error if not handled.  This is a backwards incompatible change.
  * Applications now not only have a root path where the resources and modules
    are located but also an instane path which is the designated place to
    drop files that are modified at runtime (uploads etc.).  Also this is
    conceptionally only instance depending and outside version control so it's
    the perfect place to put configuration files etc.  For more information
    see :ref:`instance-folders`.
  * Added the ``APPLICATION_ROOT`` configuration variable.
  * Implemented :meth:`~flask.testing.TestClient.session_transaction` to
    easily modify sessions from the test environment.
  * Refactored test client internally.  The ``APPLICATION_ROOT`` configuration
    variable as well as ``SERVER_NAME`` are now properly used by the test client

OBS-URL: https://build.opensuse.org/request/show/90912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=5
2011-11-14 12:35:28 +00:00
Sascha Peilicke
61fba8f791 Accepting request 84392 from devel:languages:python
- Set license to BSD-3-Clause (SPDX style)
- Require python-distribute instead of python-setuptools
- Remove %clean section

OBS-URL: https://build.opensuse.org/request/show/84392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=3
2011-09-26 08:11:45 +00:00
37c7d3dd27 Autobuild autoformatter for 76556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=2
2011-07-21 12:04:50 +00:00
5a53739830 Accepting request 76556 from devel:languages:python
Replaces python-flask

OBS-URL: https://build.opensuse.org/request/show/76556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Flask?expand=0&rev=1
2011-07-21 12:04:36 +00:00