Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2021-07-10 22:53:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and      /work/SRC/openSUSE:Factory/.python-Flask.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Flask"

Sat Jul 10 22:53:45 2021 rev:26 rq:901115 version:2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes        
2020-06-05 19:59:18.839751852 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new.2625/python-Flask.changes      
2021-07-10 22:53:50.932061223 +0200
@@ -1,0 +2,102 @@
+Sat Jun 19 07:28:01 UTC 2021 - Michael Str??der <[email protected]>
+
+- skip building for Python 2.x
+- updated upstream project URL
+- Update to 2.0.1
+  * Version 2.0.1
+    - Re-add the filename parameter in send_from_directory. The filename
+      parameter has been renamed to path, the old name is deprecated. #4019
+    - Mark top-level names as exported so type checking understands imports
+      in user projects. #4024
+    - Fix type annotation for g and inform mypy that it is a namespace
+      object that has arbitrary attributes. #4020
+    - Fix some types that weren???t available in Python 3.6.0. #4040
+    - Improve typing for send_file, send_from_directory, and
+      get_send_file_max_age. #4044, #4026
+    - Show an error when a blueprint name contains a dot. The . has special
+      meaning, it is used to separate (nested) blueprint names and the
+      endpoint name. #4041
+    - Combine URL prefixes when nesting blueprints that were created with a
+      url_prefix value. #4037
+    - Roll back a change to the order that URL matching was done. The URL
+      is again matched after the session is loaded, so the session is
+      available in custom URL converters. #4053
+    - Re-add deprecated Config.from_json, which was accidentally removed 
early. #4078
+    - Improve typing for some functions using Callable in their type
+      signatures, focusing on decorator factories. #4060
+    - Nested blueprints are registered with their dotted name. This allows
+      different blueprints with the same name to be nested at different
+      locations. #4069
+    - register_blueprint takes a name option to change the (pre-dotted)
+      name the blueprint is registered with. This allows the same blueprint
+      to be registered multiple times with unique names for url_for.
+      Registering the same blueprint with the same name multiple times is
+      deprecated. #1091
+    - Improve typing for stream_with_context. #4052
+  * Version 2.0.0
+    - Drop support for Python 2 and 3.5.
+    - Bump minimum versions of other Pallets projects.
+    - JSON support no longer uses simplejson. To use another JSON module,
+      override app.json_encoder and json_decoder. #3555
+    - The encoding option to JSON functions is deprecated. #3562
+    - Passing script_info to app factory functions is deprecated. This was
+      not portable outside the flask command. Use
+      click.get_current_context().obj if it???s needed. #3552
+    - The CLI shows better error messages when the app failed to load when
+      looking up commands. #2741
+    - Add sessions.SessionInterface.get_cookie_name() to allow setting the
+      session cookie name dynamically. #3369
+    - Add Config.from_file() to load config using arbitrary file loaders,
+      such as toml.load or json.load. Config.from_json() is deprecated in
+      favor of this. #3398
+    - The flask run command will only defer errors on reload. Errors
+      present during the initial call will cause the server to exit with the
+      traceback immediately. #3431
+    - send_file() raises a ValueError when passed an io object in text
+      mode. Previously, it would respond with 200 OK and an empty file. #3358
+    - When using ad-hoc certificates, check for the cryptography library
+      instead of PyOpenSSL. #3492
+    - When specifying a factory function with FLASK_APP, keyword argument
+      can be passed. #3553
+    - When loading a .env or .flaskenv file, the current working directory
+      is no longer changed to the location of the file. #3560
+    - When returning a (response, headers) tuple from a view, the headers
+      replace rather than extend existing headers on the response. For
+      example, this allows setting the Content-Type for jsonify(). Use
+      response.headers.extend() if extending is desired. #3628
+    - The Scaffold class provides a common API for the Flask and Blueprint
+      classes. Blueprint information is stored in attributes just like Flask,
+      rather than opaque lambda functions. This is intended to improve
+      consistency and maintainability. #3215
+    - Include samesite and secure options when removing the session cookie. 
#3726
+    - Support passing a pathlib.Path to static_folder. #3579
+    - send_file and send_from_directory are wrappers around the
+      implementations in werkzeug.utils. #3828
+    - Some send_file parameters have been renamed, the old names are
+      deprecated. attachment_filename is renamed to download_name.
+      cache_timeout is renamed to max_age. add_etags is renamed to etag.
+      #3828, #3883
+    - send_file passes download_name even if as_attachment=False by using
+      Content-Disposition: inline. #3828
+    - send_file sets conditional=True and max_age=None by default.
+      Cache-Control is set to no-cache if max_age is not set, otherwise
+      public. This tells browsers to validate conditional requests instead of
+      using a timed cache. #3828
+    - helpers.safe_join is deprecated. Use werkzeug.utils.safe_join instead. 
#3828
+    - The request context does route matching before opening the session.
+      This could allow a session interface to change behavior based on
+      request.endpoint. #3776
+    - Use Jinja???s implementation of the |tojson filter. #3881
+    - Add route decorators for common HTTP methods.
+      For example, @app.post("/login") is a shortcut for @app.route("/login",
+      methods=["POST"]). #3907
+    - Support async views, error handlers, before and after request, and 
teardown functions. #3412
+    - Support nesting blueprints. #593, #1548, #3923
+    - Set the default encoding to ???UTF-8??? when loading .env and .flaskenv 
+      files to allow to use non-ASCII characters. #3931
+    - flask shell sets up tab and history completion like the default 
+      python shell if readline is installed. #3941
+    - helpers.total_seconds() is deprecated. Use timedelta.total_seconds() 
instead. #3962
+    - Add type hinting. #3973.
+
+-------------------------------------------------------------------

Old:
----
  Flask-1.1.2.tar.gz

New:
----
  Flask-2.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Flask.spec ++++++
--- /var/tmp/diff_new_pack.ixGHi8/_old  2021-07-10 22:53:51.520056685 +0200
+++ /var/tmp/diff_new_pack.ixGHi8/_new  2021-07-10 22:53:51.524056654 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,37 +17,35 @@
 
 
 %define oldpython python
+%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Flask
-Version:        1.1.2
+Version:        2.0.1
 Release:        0
 Summary:        A microframework based on Werkzeug, Jinja2 and good intentions
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-URL:            https://github.com/mitsuhiko/flask/
+URL:            https://flask.palletsprojects.com
 Source:         
https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
-BuildRequires:  %{python_module Jinja2 >= 2.4}
-BuildRequires:  %{python_module Werkzeug >= 0.15}
-BuildRequires:  %{python_module click >= 5.1}
-BuildRequires:  %{python_module itsdangerous >= 0.24}
-BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module Jinja2 >= 3.0}
+BuildRequires:  %{python_module Werkzeug >= 2.0}
+BuildRequires:  %{python_module click >= 7.1.2}
+BuildRequires:  %{python_module contextvars}
+BuildRequires:  %{python_module itsdangerous >= 2.0}
+BuildRequires:  %{python_module pytest >= 6.2.4}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-Jinja2 >= 2.10
-Requires:       python-Werkzeug >= 0.15
-Requires:       python-click >= 5.1
-Requires:       python-itsdangerous >= 0.24
+Requires:       python-Jinja2 >= 3.0
+Requires:       python-Werkzeug >= 2.0
+Requires:       python-click >= 7.1.2
+Requires:       python-itsdangerous >= 2.0
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 %if %{?suse_version} < 1500
 BuildRequires:  python
 %endif
-%ifpython2
-Provides:       %{oldpython}-flask = %{version}
-Obsoletes:      %{oldpython}-flask < %{version}
-%endif
 %python_subpackages
 
 %description

++++++ Flask-1.1.2.tar.gz -> Flask-2.0.1.tar.gz ++++++
++++ 20480 lines of diff (skipped)

Reply via email to