Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-furl for openSUSE:Factory 
checked in at 2022-10-01 17:42:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-furl (Old)
 and      /work/SRC/openSUSE:Factory/.python-furl.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-furl"

Sat Oct  1 17:42:41 2022 rev:8 rq:1006875 version:2.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-furl/python-furl.changes  2022-08-22 
11:04:52.085666826 +0200
+++ /work/SRC/openSUSE:Factory/.python-furl.new.2275/python-furl.changes        
2022-10-01 17:42:52.541639494 +0200
@@ -1,0 +2,7 @@
+Wed Sep 28 19:47:43 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- version update to v2.1.3
+  Fixed: Actually drop ';' as a query delimiter. See furl v2.1.2's
+  changelog and https://bugs.python.org/issue42967. 
+
+-------------------------------------------------------------------

Old:
----
  furl-2.1.2.tar.gz

New:
----
  furl-2.1.3.tar.gz

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

Other differences:
------------------
++++++ python-furl.spec ++++++
--- /var/tmp/diff_new_pack.rrotM2/_old  2022-10-01 17:42:52.977640287 +0200
+++ /var/tmp/diff_new_pack.rrotM2/_new  2022-10-01 17:42:52.985640302 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-furl
-Version:        2.1.2
+Version:        2.1.3
 Release:        0
 Summary:        A Python URL manipulation library
 License:        Unlicense

++++++ furl-2.1.2.tar.gz -> furl-2.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/furl-2.1.2/PKG-INFO new/furl-2.1.3/PKG-INFO
--- old/furl-2.1.2/PKG-INFO     2021-04-12 20:47:30.000000000 +0200
+++ new/furl-2.1.3/PKG-INFO     2021-09-27 23:31:13.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: furl
-Version: 2.1.2
+Version: 2.1.3
 Summary: URL manipulation made simple.
 Home-page: https://github.com/gruns/furl
 Author: Ansgar Grunseid
@@ -21,5 +21,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Programming Language :: Python :: Implementation :: CPython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/furl-2.1.2/furl/__version__.py 
new/furl-2.1.3/furl/__version__.py
--- old/furl-2.1.2/furl/__version__.py  2021-04-12 20:43:26.000000000 +0200
+++ new/furl-2.1.3/furl/__version__.py  2021-09-27 23:24:07.000000000 +0200
@@ -11,7 +11,7 @@
 #
 
 __title__ = 'furl'
-__version__ = '2.1.2'
+__version__ = '2.1.3'
 __license__ = 'Unlicense'
 __author__ = 'Ansgar Grunseid'
 __contact__ = '[email protected]'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/furl-2.1.2/furl/furl.py new/furl-2.1.3/furl/furl.py
--- old/furl-2.1.2/furl/furl.py 2021-04-12 20:44:13.000000000 +0200
+++ new/furl-2.1.3/furl/furl.py 2021-08-17 00:44:21.000000000 +0200
@@ -1105,7 +1105,7 @@
     def _extract_items_from_querystr(self, querystr):
         items = []
 
-        pairstrs = [s2 for s1 in querystr.split('&') for s2 in s1.split(';')]
+        pairstrs = querystr.split('&')
         pairs = [item.split('=', 1) for item in pairstrs]
         pairs = [(p[0], lget(p, 1, '')) for p in pairs]  # Pad with value ''.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/furl-2.1.2/furl.egg-info/PKG-INFO 
new/furl-2.1.3/furl.egg-info/PKG-INFO
--- old/furl-2.1.2/furl.egg-info/PKG-INFO       2021-04-12 20:47:30.000000000 
+0200
+++ new/furl-2.1.3/furl.egg-info/PKG-INFO       2021-09-27 23:31:13.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: furl
-Version: 2.1.2
+Version: 2.1.3
 Summary: URL manipulation made simple.
 Home-page: https://github.com/gruns/furl
 Author: Ansgar Grunseid
@@ -21,5 +21,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Programming Language :: Python :: Implementation :: CPython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/furl-2.1.2/setup.py new/furl-2.1.3/setup.py
--- old/furl-2.1.2/setup.py     2021-03-14 02:19:41.000000000 +0100
+++ new/furl-2.1.3/setup.py     2021-06-04 22:36:46.000000000 +0200
@@ -47,6 +47,11 @@
     """
     Run the unit tests.
 
+    To test all supported Python versions (as specified in tox.ini) in
+    parallel, run
+
+      $ tox -p
+
     By default, `python setup.py test` fails if tests/ isn't a Python
     module; i.e. if the tests/ directory doesn't contain an __init__.py
     file). But the tests/ directory shouldn't contain an __init__.py
@@ -92,6 +97,8 @@
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Programming Language :: Python :: Implementation :: CPython',
     ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/furl-2.1.2/tests/test_furl.py 
new/furl-2.1.3/tests/test_furl.py
--- old/furl-2.1.2/tests/test_furl.py   2021-04-12 20:44:42.000000000 +0200
+++ new/furl-2.1.3/tests/test_furl.py   2021-08-17 00:47:25.000000000 +0200
@@ -767,12 +767,10 @@
         q = furl.Query('a=&=b')
         assert q.params == {'a': '', '': 'b'} and str(q) == 'a=&=b'
 
-        # ';' is a valid query delimiter.
+        # ';' is no longer a valid query delimiter, though it was prior to furl
+        # v2.1.3. See https://bugs.python.org/issue42967.
         q = furl.Query('=;=')
-        assert q.params.allitems() == [('', ''), ('', '')] and str(q) == '=&='
-        q = furl.Query('a=a;b=b;c=')
-        assert q.params == {
-            'a': 'a', 'b': 'b', 'c': ''} and str(q) == 'a=a&b=b&c='
+        assert q.params.allitems() == [('', ';=')] and str(q) == '=%3B='
 
         # Non-string parameters are coerced to strings in the final
         # query string.
@@ -1581,20 +1579,14 @@
         assert str(f.fragment) == ''
         assert f.url == ''
 
-        # Keep in mind that ';' is a query delimiter for both the URL
-        # query and the fragment query, resulting in the str(path),
-        # str(query), and str(fragment) values below.
         url = (
             "sup://example.com/:@-._~!$&'()*+,=;:@-._~!$&'()*+,=:@-._~!$&'()*+"
             ",==?/?:@-._~!$'()*+,;=/?:@-._~!$'()*+,;==#/?:@-._~!$&'()*+,;=")
         pathstr = "/:@-._~!$&'()*+,=;:@-._~!$&'()*+,=:@-._~!$&'()*+,=="
         querystr = (
-            quote_plus("/?:@-._~!$'()* ,") + '&' +
-            '=' + quote_plus("/?:@-._~!$'()* ,") + '&' +
-            '==')
-        fragmentstr = (
-            '/?' + quote_plus(':@-._~!$') + '&' +
-            quote_plus("'()* ,") + '&' + '=')
+            quote_plus("/?:@-._~!$'()* ,;") + '=' +
+            quote_plus("/?:@-._~!$'()* ,;=="))
+        fragmentstr = quote_plus("/?:@-._~!$&'()* ,;=", '/?&=')
         f = furl.furl(url)
         assert f.scheme == 'sup'
         assert f.host == 'example.com'

Reply via email to