Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Flask-Testing for
openSUSE:Factory checked in at 2023-01-03 15:21:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Testing (Old)
and /work/SRC/openSUSE:Factory/.python-Flask-Testing.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Testing"
Tue Jan 3 15:21:42 2023 rev:6 rq:1046524 version:0.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-Flask-Testing/python-Flask-Testing.changes
2022-07-12 11:13:01.483744405 +0200
+++
/work/SRC/openSUSE:Factory/.python-Flask-Testing.new.1563/python-Flask-Testing.changes
2023-01-03 15:21:43.876224729 +0100
@@ -1,0 +2,7 @@
+Tue Jan 3 13:06:40 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Add patch fix-utils.patch gh#jarus/flask-testing#157
+ In Flask 2.2.0 the order of parameters for templating._render is different,
+ this patch updates the usage in this module to match the new order.
+
+-------------------------------------------------------------------
New:
----
fix-utils.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Flask-Testing.spec ++++++
--- /var/tmp/diff_new_pack.xTRdYa/_old 2023-01-03 15:21:45.168232081 +0100
+++ /var/tmp/diff_new_pack.xTRdYa/_new 2023-01-03 15:21:45.232232445 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-Flask-Testing
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Flask-Testing
Version: 0.8.1
Release: 0
@@ -25,6 +24,8 @@
URL: https://github.com/jarus/flask-testing
Source:
https://files.pythonhosted.org/packages/source/F/Flask-Testing/Flask-Testing-%{version}.tar.gz
Patch0: skip-broken-tests.patch
+# PATCH-FIX-OPENSUSE fix-utils.patch gh#jarus/flask-testing#157
+Patch1: fix-utils.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
++++++ fix-utils.patch ++++++
Index: Flask-Testing-0.8.1/flask_testing/utils.py
===================================================================
--- Flask-Testing-0.8.1.orig/flask_testing/utils.py
+++ Flask-Testing-0.8.1/flask_testing/utils.py
@@ -88,7 +88,7 @@ def _make_test_response(response_class):
return TestResponse
-def _empty_render(template, context, app):
+def _empty_render(app, template, context):
"""
Used to monkey patch the render_template flask method when
the render_templates property is set to False in the TestCase