Hello community, here is the log from the commit of package python-wadllib for openSUSE:Factory checked in at 2020-07-24 10:00:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-wadllib (Old) and /work/SRC/openSUSE:Factory/.python-wadllib.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wadllib" Fri Jul 24 10:00:29 2020 rev:6 rq:822238 version:1.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-wadllib/python-wadllib.changes 2018-08-31 10:43:24.291128253 +0200 +++ /work/SRC/openSUSE:Factory/.python-wadllib.new.3592/python-wadllib.changes 2020-07-24 10:02:45.945799990 +0200 @@ -1,0 +2,8 @@ +Wed Jul 22 10:40:47 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- Update to 1.3.4 + * Advertise support for Python 3.8. + * Add Python 3.9 compatibility by using xml.etree.ElementTree if + xml.etree.cElementTree does not exist. [bug=1870294] + +------------------------------------------------------------------- Old: ---- wadllib-1.3.3.tar.gz New: ---- wadllib-1.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-wadllib.spec ++++++ --- /var/tmp/diff_new_pack.iSdmVR/_old 2020-07-24 10:02:49.705803491 +0200 +++ /var/tmp/diff_new_pack.iSdmVR/_new 2020-07-24 10:02:49.705803491 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-wadllib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wadllib -Version: 1.3.3 +Version: 1.3.4 Release: 0 Summary: Navigate HTTP resources using WADL files as guides License: LGPL-3.0-or-later ++++++ wadllib-1.3.3.tar.gz -> wadllib-1.3.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wadllib-1.3.3/PKG-INFO new/wadllib-1.3.4/PKG-INFO --- old/wadllib-1.3.3/PKG-INFO 2018-07-20 10:55:47.000000000 +0200 +++ new/wadllib-1.3.4/PKG-INFO 2020-04-29 17:51:55.215243800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: wadllib -Version: 1.3.3 +Version: 1.3.4 Summary: Navigate HTTP resources using WADL files as guides. Home-page: https://launchpad.net/wadllib Maintainer: LAZR Developers @@ -24,8 +24,9 @@ You should have received a copy of the GNU Lesser General Public License along with wadllib. If not, see <http://www.gnu.org/licenses/>. + ======= wadllib - ******* + ======= An Application object represents a web service described by a WADL file. @@ -694,16 +695,18 @@ ... stream.close() - .. toctree:: - :glob: - - * - docs/* ================ NEWS for wadllib ================ + 1.3.4 (2020-04-29) + ================== + + - Advertise support for Python 3.8. + - Add Python 3.9 compatibility by using xml.etree.ElementTree if + xml.etree.cElementTree does not exist. [bug=1870294] + 1.3.3 (2018-07-20) ================== @@ -819,5 +822,14 @@ Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.2 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Provides-Extra: docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wadllib-1.3.3/setup.py new/wadllib-1.3.4/setup.py --- old/wadllib-1.3.3/setup.py 2018-07-20 10:53:12.000000000 +0200 +++ new/wadllib-1.3.4/setup.py 2020-04-29 17:48:06.000000000 +0200 @@ -26,12 +26,15 @@ # generic helpers primarily for the long_description def generate(*docname_or_string): + marker = '.. pypi description ends here' res = [] for value in docname_or_string: if value.endswith('.txt'): - f = open(value) - value = f.read() - f.close() + with open(value) as f: + value = f.read() + idx = value.find(marker) + if idx >= 0: + value = value[:idx] res.append(value) if not value.endswith('\n'): res.append('') @@ -72,7 +75,16 @@ "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.2", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ], extras_require=dict( docs=['Sphinx', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wadllib-1.3.3/src/wadllib/NEWS.txt new/wadllib-1.3.4/src/wadllib/NEWS.txt --- old/wadllib-1.3.3/src/wadllib/NEWS.txt 2018-07-20 10:55:14.000000000 +0200 +++ new/wadllib-1.3.4/src/wadllib/NEWS.txt 2020-04-29 17:51:30.000000000 +0200 @@ -2,6 +2,13 @@ NEWS for wadllib ================ +1.3.4 (2020-04-29) +================== + +- Advertise support for Python 3.8. +- Add Python 3.9 compatibility by using xml.etree.ElementTree if + xml.etree.cElementTree does not exist. [bug=1870294] + 1.3.3 (2018-07-20) ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wadllib-1.3.3/src/wadllib/README.txt new/wadllib-1.3.4/src/wadllib/README.txt --- old/wadllib-1.3.3/src/wadllib/README.txt 2018-07-20 10:53:12.000000000 +0200 +++ new/wadllib-1.3.4/src/wadllib/README.txt 2020-04-29 17:49:40.000000000 +0200 @@ -15,8 +15,9 @@ You should have received a copy of the GNU Lesser General Public License along with wadllib. If not, see <http://www.gnu.org/licenses/>. +======= wadllib -******* +======= An Application object represents a web service described by a WADL file. @@ -685,6 +686,8 @@ ... stream.close() +.. pypi description ends here + .. toctree:: :glob: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wadllib-1.3.3/src/wadllib/application.py new/wadllib-1.3.4/src/wadllib/application.py --- old/wadllib-1.3.3/src/wadllib/application.py 2018-07-20 10:53:12.000000000 +0200 +++ new/wadllib-1.3.4/src/wadllib/application.py 2020-04-29 17:22:30.000000000 +0200 @@ -53,7 +53,10 @@ from urllib.parse import urlencode except ImportError: from urllib import urlencode -import xml.etree.cElementTree as ET +try: + import xml.etree.cElementTree as ET +except ImportError: + import xml.etree.ElementTree as ET from lazr.uri import URI, merge diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wadllib-1.3.3/src/wadllib/version.txt new/wadllib-1.3.4/src/wadllib/version.txt --- old/wadllib-1.3.3/src/wadllib/version.txt 2018-07-20 10:55:31.000000000 +0200 +++ new/wadllib-1.3.4/src/wadllib/version.txt 2020-04-29 17:51:30.000000000 +0200 @@ -1 +1 @@ -1.3.3 +1.3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wadllib-1.3.3/src/wadllib.egg-info/PKG-INFO new/wadllib-1.3.4/src/wadllib.egg-info/PKG-INFO --- old/wadllib-1.3.3/src/wadllib.egg-info/PKG-INFO 2018-07-20 10:55:47.000000000 +0200 +++ new/wadllib-1.3.4/src/wadllib.egg-info/PKG-INFO 2020-04-29 17:51:54.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: wadllib -Version: 1.3.3 +Version: 1.3.4 Summary: Navigate HTTP resources using WADL files as guides. Home-page: https://launchpad.net/wadllib Maintainer: LAZR Developers @@ -24,8 +24,9 @@ You should have received a copy of the GNU Lesser General Public License along with wadllib. If not, see <http://www.gnu.org/licenses/>. + ======= wadllib - ******* + ======= An Application object represents a web service described by a WADL file. @@ -694,16 +695,18 @@ ... stream.close() - .. toctree:: - :glob: - - * - docs/* ================ NEWS for wadllib ================ + 1.3.4 (2020-04-29) + ================== + + - Advertise support for Python 3.8. + - Add Python 3.9 compatibility by using xml.etree.ElementTree if + xml.etree.cElementTree does not exist. [bug=1870294] + 1.3.3 (2018-07-20) ================== @@ -819,5 +822,14 @@ Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.2 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Provides-Extra: docs