Hello community, here is the log from the commit of package python3-SPARQLWrapper for openSUSE:Factory checked in at 2016-02-01 19:57:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-SPARQLWrapper (Old) and /work/SRC/openSUSE:Factory/.python3-SPARQLWrapper.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-SPARQLWrapper" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-SPARQLWrapper/python3-SPARQLWrapper.changes 2015-11-23 07:30:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-SPARQLWrapper.new/python3-SPARQLWrapper.changes 2016-02-01 19:57:35.000000000 +0100 @@ -1,0 +2,10 @@ +Sat Jan 30 18:30:51 UTC 2016 - arun@gmx.de + +- specfile: + * update copyright year + +- update to version 1.7.6: + * Removed wrong response encoding (issue #70) + * Authorization header bug when using Python 3 (issue #71) + +------------------------------------------------------------------- Old: ---- SPARQLWrapper-1.7.5.tar.gz New: ---- SPARQLWrapper-1.7.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-SPARQLWrapper.spec ++++++ --- /var/tmp/diff_new_pack.LfFKnE/_old 2016-02-01 19:57:36.000000000 +0100 +++ /var/tmp/diff_new_pack.LfFKnE/_new 2016-02-01 19:57:36.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-SPARQLWrapper # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,7 +17,7 @@ Name: python3-SPARQLWrapper -Version: 1.7.5 +Version: 1.7.6 Release: 0 Summary: SPARQL Endpoint interface to Python License: W3C ++++++ SPARQLWrapper-1.7.5.tar.gz -> SPARQLWrapper-1.7.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/AUTHORS.md new/SPARQLWrapper-1.7.6/AUTHORS.md --- old/SPARQLWrapper-1.7.5/AUTHORS.md 2015-11-05 14:54:35.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/AUTHORS.md 2015-12-18 10:20:55.000000000 +0100 @@ -22,3 +22,5 @@ * Nolan Nichols ([@nicholsn](http://github.com/nicholsn)): http disgest auth support * Kevin Turner ([@keturn](https://github.com/keturn)): `SmartWrapper.Value.__repr__()` implementation * Marcelo Jorge Vieira ([@marcelometal](https://github.com/marcelometal)): typos +* Trevor Andersen ([@trevorandersen](https://github.com/trevorandersen): patches for Python 3.x + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/PKG-INFO new/SPARQLWrapper-1.7.6/PKG-INFO --- old/SPARQLWrapper-1.7.5/PKG-INFO 2015-11-19 14:14:55.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/PKG-INFO 2015-12-18 10:23:21.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: SPARQLWrapper -Version: 1.7.5 +Version: 1.7.6 Summary: SPARQL Endpoint interface to Python Home-page: http://rdflib.github.io/sparqlwrapper Author: Ivan Herman, Sergio Fernández, Carlos Tejo Alonso, Alexey Zakhlestin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/SPARQLWrapper/Wrapper.py new/SPARQLWrapper-1.7.6/SPARQLWrapper/Wrapper.py --- old/SPARQLWrapper-1.7.5/SPARQLWrapper/Wrapper.py 2015-11-05 14:54:35.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/SPARQLWrapper/Wrapper.py 2015-12-18 10:18:26.000000000 +0100 @@ -507,7 +507,7 @@ if self.user and self.passwd: if self.http_auth == BASIC: credentials = "%s:%s" % (self.user, self.passwd) - request.add_header("Authorization", "Basic %s" % base64.b64encode(credentials.encode('utf-8'))) + request.add_header("Authorization", "Basic %s" % base64.b64encode(credentials.encode('utf-8')).decode('utf-8')) elif self.http_auth == DIGEST: realm = "SPARQL" pwd_mgr = urllib2.HTTPPasswordMgr() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/SPARQLWrapper/__init__.py new/SPARQLWrapper-1.7.6/SPARQLWrapper/__init__.py --- old/SPARQLWrapper-1.7.5/SPARQLWrapper/__init__.py 2015-11-19 14:13:09.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/SPARQLWrapper/__init__.py 2015-12-18 10:22:39.000000000 +0100 @@ -163,7 +163,7 @@ @requires: U{RDFLibhttp://rdflib.net} package. """ -__version__ = "1.7.5" +__version__ = "1.7.6" """The version of SPARQLWrapper""" __authors__ = "Ivan Herman, Sergio Fernández, Carlos Tejo Alonso, Alexey Zakhlestin" @@ -178,7 +178,7 @@ __contact__ = "rdflib-dev@googlegroups.com" """Mail list to contact to other people RDFLib and SPARQLWrappers folks and developers""" -__date__ = "2015-11-05" +__date__ = "2015-12-18" """Last update""" __agent__ = "sparqlwrapper %s (rdflib.github.io/sparqlwrapper)" % __version__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/SPARQLWrapper.egg-info/PKG-INFO new/SPARQLWrapper-1.7.6/SPARQLWrapper.egg-info/PKG-INFO --- old/SPARQLWrapper-1.7.5/SPARQLWrapper.egg-info/PKG-INFO 2015-11-19 14:14:47.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/SPARQLWrapper.egg-info/PKG-INFO 2015-12-18 10:23:16.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: SPARQLWrapper -Version: 1.7.5 +Version: 1.7.6 Summary: SPARQL Endpoint interface to Python Home-page: http://rdflib.github.io/sparqlwrapper Author: Ivan Herman, Sergio Fernández, Carlos Tejo Alonso, Alexey Zakhlestin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/SPARQLWrapper.egg-info/requires.txt new/SPARQLWrapper-1.7.6/SPARQLWrapper.egg-info/requires.txt --- old/SPARQLWrapper-1.7.5/SPARQLWrapper.egg-info/requires.txt 2015-11-19 14:14:47.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/SPARQLWrapper.egg-info/requires.txt 2015-12-18 10:23:16.000000000 +0100 @@ -1,2 +1,2 @@ rdflib>=4.0 -keepalive>=0.4.1 +keepalive>=0.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/requirements.txt new/SPARQLWrapper-1.7.6/requirements.txt --- old/SPARQLWrapper-1.7.5/requirements.txt 2015-11-05 14:54:35.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/requirements.txt 2015-11-27 18:48:08.000000000 +0100 @@ -1,2 +1,2 @@ rdflib>=4.0 -keepalive>=0.4.1 +keepalive>=0.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPARQLWrapper-1.7.5/test/wrapper_test.py new/SPARQLWrapper-1.7.6/test/wrapper_test.py --- old/SPARQLWrapper-1.7.5/test/wrapper_test.py 2015-11-05 14:54:35.000000000 +0100 +++ new/SPARQLWrapper-1.7.6/test/wrapper_test.py 2015-12-18 10:18:26.000000000 +0100 @@ -231,14 +231,8 @@ self.assertTrue(request.has_header('Authorization')) # expected header for login:password - #self.assertEqual("Basic bG9naW46cGFzc3dvcmQ=", request.get_header('Authorization')) - auth = request.get_header('Authorization').split(" ") - self.assertEqual(2, len(auth)) - self.assertEqual("Basic", auth[0]) - if auth[1].startswith("b'"): #sequence of octets - self.assertEqual("bG9naW46cGFzc3dvcmQ=", auth[1][2:-1]) - else: - self.assertEqual("bG9naW46cGFzc3dvcmQ=", auth[1]) + # should succeed for python 3 since pull request #72 + self.assertEqual("Basic bG9naW46cGFzc3dvcmQ=", request.get_header('Authorization')) def testSetHTTPAuth(self): self.assertRaises(TypeError, self.wrapper.setHTTPAuth, 123)