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-10-25 15:16:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Flask (Old) and /work/SRC/openSUSE:Factory/.python-Flask.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask" Mon Oct 25 15:16:57 2021 rev:27 rq:924644 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes 2021-07-10 22:53:50.932061223 +0200 +++ /work/SRC/openSUSE:Factory/.python-Flask.new.1890/python-Flask.changes 2021-10-25 15:17:24.505674695 +0200 @@ -1,0 +2,28 @@ +Tue Oct 5 14:19:00 UTC 2021 - Stefan Schubert <[email protected]> + +- Added BuildRequires: alts + +------------------------------------------------------------------- +Tue Oct 5 09:49:23 UTC 2021 - Michael Str??der <[email protected]> + +- Update to 2.0.2 + * Fix type annotation for teardown_* methods. #4093 + * Fix type annotation for before_request and before_app_request decorators. #4104 + * Fixed the issue where typing requires template global decorators to + accept functions with no arguments. #4098 + * Support View and MethodView instances with async handlers. #4112 + * Enhance typing of app.errorhandler decorator. #4095 + * Fix registering a blueprint twice with differing names. #4124 + * Fix the type of static_folder to accept pathlib.Path. #4150 + * jsonify handles decimal.Decimal by encoding to str. #4157 + * Correctly handle raising deferred errors in CLI lazy loading. #4096 + * The CLI loader handles **kwargs in a create_app function. #4170 + * Fix the order of before_request and other callbacks that trigger before the view returns. + They are called from the app down to the closest nested blueprint. #4229 + +------------------------------------------------------------------- +Sun Aug 22 19:07:48 UTC 2021 - Stefan Schubert <[email protected]> + +- Use libalternatives instead of update-alternatives. + +------------------------------------------------------------------- Old: ---- Flask-2.0.1.tar.gz New: ---- Flask-2.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Flask.spec ++++++ --- /var/tmp/diff_new_pack.w2MHrb/_old 2021-10-25 15:17:25.113675075 +0200 +++ /var/tmp/diff_new_pack.w2MHrb/_new 2021-10-25 15:17:25.117675077 +0200 @@ -16,11 +16,17 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + %define oldpython python %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Flask -Version: 2.0.1 +Version: 2.0.2 Release: 0 Summary: A microframework based on Werkzeug, Jinja2 and good intentions License: BSD-3-Clause @@ -35,13 +41,18 @@ BuildRequires: %{python_module pytest >= 6.2.4} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-rpm-macros +BuildRequires: python-rpm-macros >= 20210929 Requires: python-Jinja2 >= 3.0 Requires: python-Werkzeug >= 2.0 Requires: python-click >= 7.1.2 Requires: python-itsdangerous >= 2.0 +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else Requires(post): update-alternatives Requires(postun):update-alternatives +%endif BuildArch: noarch %if %{?suse_version} < 1500 BuildRequires: python @@ -71,13 +82,16 @@ %install %python_install %python_clone -a %{buildroot}%{_bindir}/flask - %fdupes %{buildroot}%{python_sitelib} %check export LANG=en_US.UTF-8 %pytest +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative flask + %post %python_install_alternative flask ++++++ Flask-2.0.1.tar.gz -> Flask-2.0.2.tar.gz ++++++ ++++ 2434 lines of diff (skipped)
