From be2447030b764ab7dbc523dff034750188622ea1a1252a6cf710fc57fd3b48ea Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Feb 2022 21:14:40 +0000 Subject: [PATCH] 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 --- Flask-2.0.2.tar.gz | 3 --- Flask-2.0.3.tar.gz | 3 +++ python-Flask.changes | 17 +++++++++++++++++ python-Flask.spec | 4 ++-- 4 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 Flask-2.0.2.tar.gz create mode 100644 Flask-2.0.3.tar.gz diff --git a/Flask-2.0.2.tar.gz b/Flask-2.0.2.tar.gz deleted file mode 100644 index 1c8ee73..0000000 --- a/Flask-2.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2 -size 628479 diff --git a/Flask-2.0.3.tar.gz b/Flask-2.0.3.tar.gz new file mode 100644 index 0000000..6c7ba78 --- /dev/null +++ b/Flask-2.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1120c228ca2f553b470df4a5fa927ab66258467526069981b3eb0a91902687d +size 629304 diff --git a/python-Flask.changes b/python-Flask.changes index d0ca979..4f2ab97 100644 --- a/python-Flask.changes +++ b/python-Flask.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Feb 14 20:47:03 UTC 2022 - Michael Ströder + +- 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 + ------------------------------------------------------------------- Tue Oct 5 14:19:00 UTC 2021 - Stefan Schubert diff --git a/python-Flask.spec b/python-Flask.spec index 1ec403e..e2cd34b 100644 --- a/python-Flask.spec +++ b/python-Flask.spec @@ -1,7 +1,7 @@ # # spec file for package python-Flask # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Flask -Version: 2.0.2 +Version: 2.0.3 Release: 0 Summary: A microframework based on Werkzeug, Jinja2 and good intentions License: BSD-3-Clause