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 2021-06-01 10:40:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Flask-Testing (Old)
 and      /work/SRC/openSUSE:Factory/.python-Flask-Testing.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Flask-Testing"

Tue Jun  1 10:40:06 2021 rev:3 rq:896575 version:0.8.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-Flask-Testing/python-Flask-Testing.changes    
    2020-03-09 14:17:50.710683059 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Flask-Testing.new.1898/python-Flask-Testing.changes
      2021-06-01 10:41:42.365246611 +0200
@@ -1,0 +2,10 @@
+Sun Apr  4 23:23:19 UTC 2021 - Arun Persaud <a...@gmx.de>
+
+- specfile:
+  * update copyright year
+
+- update to version 0.8.1:
+  * Fixes compatibility with json_available from previous versions of
+    Flask
+
+-------------------------------------------------------------------

Old:
----
  Flask-Testing-0.8.0.tar.gz

New:
----
  Flask-Testing-0.8.1.tar.gz

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

Other differences:
------------------
++++++ python-Flask-Testing.spec ++++++
--- /var/tmp/diff_new_pack.3SjgCN/_old  2021-06-01 10:41:42.873247475 +0200
+++ /var/tmp/diff_new_pack.3SjgCN/_new  2021-06-01 10:41:42.877247483 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask-Testing
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Flask-Testing
-Version:        0.8.0
+Version:        0.8.1
 Release:        0
 Summary:        Unit testing for Flask
 License:        BSD-3-Clause

++++++ Flask-Testing-0.8.0.tar.gz -> Flask-Testing-0.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-Testing-0.8.0/Flask_Testing.egg-info/PKG-INFO 
new/Flask-Testing-0.8.1/Flask_Testing.egg-info/PKG-INFO
--- old/Flask-Testing-0.8.0/Flask_Testing.egg-info/PKG-INFO     2020-03-06 
04:21:27.000000000 +0100
+++ new/Flask-Testing-0.8.1/Flask_Testing.egg-info/PKG-INFO     2020-12-24 
17:51:37.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: Flask-Testing
-Version: 0.8.0
+Version: 0.8.1
 Summary: Unit testing for Flask
 Home-page: https://github.com/jarus/flask-testing
 Author: Dan Jacob
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-Testing-0.8.0/PKG-INFO 
new/Flask-Testing-0.8.1/PKG-INFO
--- old/Flask-Testing-0.8.0/PKG-INFO    2020-03-06 04:21:28.000000000 +0100
+++ new/Flask-Testing-0.8.1/PKG-INFO    2020-12-24 17:51:37.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: Flask-Testing
-Version: 0.8.0
+Version: 0.8.1
 Summary: Unit testing for Flask
 Home-page: https://github.com/jarus/flask-testing
 Author: Dan Jacob
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-Testing-0.8.0/docs/index.rst 
new/Flask-Testing-0.8.1/docs/index.rst
--- old/Flask-Testing-0.8.0/docs/index.rst      2020-03-06 04:15:07.000000000 
+0100
+++ new/Flask-Testing-0.8.1/docs/index.rst      2020-12-24 17:49:48.000000000 
+0100
@@ -272,6 +272,11 @@
 Changes
 =======
 
+0.8.1 (12.24.2020)
+------------------
+
+  * Fixes compatibility with ``json_available`` from previous versions of Flask
+
 0.8.0 (05.03.2020)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-Testing-0.8.0/flask_testing/utils.py 
new/Flask-Testing-0.8.1/flask_testing/utils.py
--- old/Flask-Testing-0.8.0/flask_testing/utils.py      2020-03-06 
04:11:46.000000000 +0100
+++ new/Flask-Testing-0.8.1/flask_testing/utils.py      2020-12-24 
17:48:33.000000000 +0100
@@ -35,7 +35,7 @@
 from werkzeug.utils import cached_property
 
 # Use Flask's preferred JSON module so that our runtime behavior matches.
-from flask import json_available, templating, template_rendered
+from flask import templating, template_rendered
 
 try:
     from flask import message_flashed
@@ -45,8 +45,13 @@
     message_flashed = None
     _is_message_flashed = False
 
-if json_available:
+json_available = True
+
+try:
     from flask import json
+except ImportError:
+    json_available = False
+
 
 # we'll use signals for template-related tests if
 # available in this version of Flask
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-Testing-0.8.0/setup.py 
new/Flask-Testing-0.8.1/setup.py
--- old/Flask-Testing-0.8.0/setup.py    2020-03-06 04:16:46.000000000 +0100
+++ new/Flask-Testing-0.8.1/setup.py    2020-12-24 17:49:05.000000000 +0100
@@ -31,7 +31,7 @@
 
 setup(
     name='Flask-Testing',
-    version='0.8.0',
+    version='0.8.1',
     url='https://github.com/jarus/flask-testing',
     license='BSD',
     author='Dan Jacob',

Reply via email to