Hello community, here is the log from the commit of package python-Flask-Cors for openSUSE:Factory checked in at 2019-06-14 20:42:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Flask-Cors (Old) and /work/SRC/openSUSE:Factory/.python-Flask-Cors.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Flask-Cors" Fri Jun 14 20:42:33 2019 rev:3 rq:709898 version:3.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Flask-Cors/python-Flask-Cors.changes 2018-11-13 17:36:30.792713211 +0100 +++ /work/SRC/openSUSE:Factory/.python-Flask-Cors.new.4811/python-Flask-Cors.changes 2019-06-14 20:42:34.906374397 +0200 @@ -1,0 +2,11 @@ +Sat Jun 8 23:12:35 UTC 2019 - Arun Persaud <a...@gmx.de> + +- specfile: + * update copyright year + +- update to version 3.0.8: + * DeprecationWarning: Using or importing the ABCs from 'collections' + instead of from 'collections.abc' is deprecated, and in 3.8 it + will stop working + +------------------------------------------------------------------- Old: ---- Flask-Cors-3.0.7.tar.gz New: ---- Flask-Cors-3.0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Flask-Cors.spec ++++++ --- /var/tmp/diff_new_pack.1UBtAl/_old 2019-06-14 20:42:35.622373183 +0200 +++ /var/tmp/diff_new_pack.1UBtAl/_new 2019-06-14 20:42:35.626373176 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Flask-Cors # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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-Cors -Version: 3.0.7 +Version: 3.0.8 Release: 0 Summary: A Flask extension adding a decorator for CORS support License: MIT ++++++ Flask-Cors-3.0.7.tar.gz -> Flask-Cors-3.0.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Cors-3.0.7/Flask_Cors.egg-info/PKG-INFO new/Flask-Cors-3.0.8/Flask_Cors.egg-info/PKG-INFO --- old/Flask-Cors-3.0.7/Flask_Cors.egg-info/PKG-INFO 2018-11-09 22:08:00.000000000 +0100 +++ new/Flask-Cors-3.0.8/Flask_Cors.egg-info/PKG-INFO 2019-06-08 22:53:53.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Flask-Cors -Version: 3.0.7 +Version: 3.0.8 Summary: A Flask extension adding a decorator for CORS support Home-page: https://github.com/corydolphin/flask-cors Author: Cory Dolphin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Cors-3.0.7/PKG-INFO new/Flask-Cors-3.0.8/PKG-INFO --- old/Flask-Cors-3.0.7/PKG-INFO 2018-11-09 22:08:00.000000000 +0100 +++ new/Flask-Cors-3.0.8/PKG-INFO 2019-06-08 22:53:53.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Flask-Cors -Version: 3.0.7 +Version: 3.0.8 Summary: A Flask extension adding a decorator for CORS support Home-page: https://github.com/corydolphin/flask-cors Author: Cory Dolphin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Cors-3.0.7/flask_cors/core.py new/Flask-Cors-3.0.8/flask_cors/core.py --- old/Flask-Cors-3.0.7/flask_cors/core.py 2018-11-09 22:07:32.000000000 +0100 +++ new/Flask-Cors-3.0.8/flask_cors/core.py 2019-06-08 22:53:18.000000000 +0200 @@ -9,7 +9,12 @@ """ import re import logging -import collections +try: + # on python 3 + from collections.abc import Iterable +except ImportError: + # on python 2.7 and pypy + from collections import Iterable from datetime import timedelta from six import string_types from flask import request, current_app @@ -78,7 +83,7 @@ elif isinstance(resources, string_types): return [(re_fix(resources), {})] - elif isinstance(resources, collections.Iterable): + elif isinstance(resources, Iterable): return [(re_fix(r), {}) for r in resources] # Type of compiled regex is not part of the public API. Test for this @@ -319,7 +324,7 @@ if obj is None: return None elif(not isinstance(obj, string_types) - and isinstance(obj, collections.Iterable)): + and isinstance(obj, Iterable)): return ', '.join(str(item) for item in sorted(obj)) else: return str(obj) @@ -337,7 +342,7 @@ """ if isinstance(inst, string_types): return [inst] - elif not isinstance(inst, collections.Iterable): + elif not isinstance(inst, Iterable): return [inst] else: return inst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Flask-Cors-3.0.7/flask_cors/version.py new/Flask-Cors-3.0.8/flask_cors/version.py --- old/Flask-Cors-3.0.7/flask_cors/version.py 2018-11-09 22:07:32.000000000 +0100 +++ new/Flask-Cors-3.0.8/flask_cors/version.py 2019-06-08 22:53:18.000000000 +0200 @@ -1 +1 @@ -__version__ = '3.0.7' +__version__ = '3.0.8'