Hello community, here is the log from the commit of package python-yarl for openSUSE:Factory checked in at 2017-12-14 10:56:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yarl (Old) and /work/SRC/openSUSE:Factory/.python-yarl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yarl" Thu Dec 14 10:56:33 2017 rev:5 rq:555884 version:0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-yarl/python-yarl.changes 2017-11-27 22:18:35.790231013 +0100 +++ /work/SRC/openSUSE:Factory/.python-yarl.new/python-yarl.changes 2017-12-14 10:56:54.573276442 +0100 @@ -1,0 +2,14 @@ +Sat Dec 9 17:54:08 UTC 2017 - [email protected] + +- removed test conditional as requested in SR 555310 +- enabled tests +- require pytest-runner + +------------------------------------------------------------------- +Fri Dec 8 18:05:15 UTC 2017 - [email protected] + +- update to version 0.16.0: + * Fix raising TypeError by url.query_string() after + url.with_query({}) (empty mapping) #141 + +------------------------------------------------------------------- Old: ---- yarl-0.15.0.tar.gz New: ---- yarl-0.16.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yarl.spec ++++++ --- /var/tmp/diff_new_pack.rCqVVk/_old 2017-12-14 10:56:55.565228556 +0100 +++ /var/tmp/diff_new_pack.rCqVVk/_new 2017-12-14 10:56:55.569228363 +0100 @@ -18,9 +18,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -%bcond_without test Name: python-yarl -Version: 0.15.0 +Version: 0.16.0 Release: 0 Summary: Yet another URL library License: Apache-2.0 @@ -31,10 +30,10 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -%if %{with test} +# test requirements +BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: python3-multidict >= 2.0 -%endif %ifpython3 Requires: python3-multidict >= 2.0 %endif @@ -56,9 +55,7 @@ %python_install %check -%if %{with test} -# Tests fail unable to import modules. -%endif +%python_exec setup.py test %files %{python_files} %defattr(-,root,root,-) ++++++ yarl-0.15.0.tar.gz -> yarl-0.16.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yarl-0.15.0/CHANGES.rst new/yarl-0.16.0/CHANGES.rst --- old/yarl-0.15.0/CHANGES.rst 2017-11-23 17:14:34.000000000 +0100 +++ new/yarl-0.16.0/CHANGES.rst 2017-12-07 21:09:21.000000000 +0100 @@ -1,6 +1,12 @@ CHANGES ======= +0.16.0 (2017-12-07) +------------------- + +* Fix raising `TypeError` by `url.query_string()` after + `url.with_query({})` (empty mapping) #141 + 0.15.0 (2017-11-23) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yarl-0.15.0/PKG-INFO new/yarl-0.16.0/PKG-INFO --- old/yarl-0.15.0/PKG-INFO 2017-11-23 17:17:53.000000000 +0100 +++ new/yarl-0.16.0/PKG-INFO 2017-12-07 21:12:47.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: yarl -Version: 0.15.0 +Version: 0.16.0 Summary: Yet another URL library Home-page: https://github.com/aio-libs/yarl/ Author: Andrew Svetlov @@ -168,6 +168,12 @@ CHANGES ======= + 0.16.0 (2017-12-07) + ------------------- + + * Fix raising `TypeError` by `url.query_string()` after + `url.with_query({})` (empty mapping) #141 + 0.15.0 (2017-11-23) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yarl-0.15.0/tests/test_update_query.py new/yarl-0.16.0/tests/test_update_query.py --- old/yarl-0.15.0/tests/test_update_query.py 2017-11-23 17:14:34.000000000 +0100 +++ new/yarl-0.16.0/tests/test_update_query.py 2017-12-07 21:09:21.000000000 +0100 @@ -69,7 +69,9 @@ def test_with_query_empty_dict(): url = URL('http://example.com/?a=b') - assert str(url.with_query({})) == 'http://example.com/' + new_url = url.with_query({}) + assert new_url.query_string == '' + assert str(new_url) == 'http://example.com/' def test_with_query_empty_str(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yarl-0.15.0/yarl/__init__.py new/yarl-0.16.0/yarl/__init__.py --- old/yarl-0.15.0/yarl/__init__.py 2017-11-23 17:14:34.000000000 +0100 +++ new/yarl-0.16.0/yarl/__init__.py 2017-12-07 21:09:21.000000000 +0100 @@ -11,9 +11,9 @@ from .quoting import quote, unquote -__version__ = '0.15.0' +__version__ = '0.16.0' -__all__ = ['URL'] +__all__ = ('URL',) # is_leaf() @@ -760,7 +760,7 @@ "should be str or int, got {!r}".format(v)) lst.append( quoter(k, safe='/?:@') + '=' + quoter(v, safe='/?:@')) - query = '&'.join(lst) + query = '&'.join(lst) elif isinstance(query, str): query = _quote(query, safe='/?:@', protected=PROTECT_CHARS, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yarl-0.15.0/yarl.egg-info/PKG-INFO new/yarl-0.16.0/yarl.egg-info/PKG-INFO --- old/yarl-0.15.0/yarl.egg-info/PKG-INFO 2017-11-23 17:17:53.000000000 +0100 +++ new/yarl-0.16.0/yarl.egg-info/PKG-INFO 2017-12-07 21:12:47.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: yarl -Version: 0.15.0 +Version: 0.16.0 Summary: Yet another URL library Home-page: https://github.com/aio-libs/yarl/ Author: Andrew Svetlov @@ -168,6 +168,12 @@ CHANGES ======= + 0.16.0 (2017-12-07) + ------------------- + + * Fix raising `TypeError` by `url.query_string()` after + `url.with_query({})` (empty mapping) #141 + 0.15.0 (2017-11-23) -------------------
