Hello community, here is the log from the commit of package python3-httplib2 for openSUSE:Factory checked in at 2015-11-02 12:55:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python3-httplib2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-httplib2" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-httplib2/python3-httplib2.changes 2015-04-13 20:30:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-httplib2.new/python3-httplib2.changes 2015-11-02 12:55:41.000000000 +0100 @@ -1,0 +2,7 @@ +Sun Nov 1 18:21:47 UTC 2015 - arun@gmx.de + +- update to version 0.9.2: + * Fix incorrect ResponseNotReady exceptions, retry on transient + errors. + +------------------------------------------------------------------- Old: ---- httplib2-0.9.1.tar.gz New: ---- httplib2-0.9.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-httplib2.spec ++++++ --- /var/tmp/diff_new_pack.P8L5yv/_old 2015-11-02 12:55:42.000000000 +0100 +++ /var/tmp/diff_new_pack.P8L5yv/_new 2015-11-02 12:55:42.000000000 +0100 @@ -17,7 +17,7 @@ Name: python3-httplib2 -Version: 0.9.1 +Version: 0.9.2 Release: 0 Url: https://github.com/jcgregorio/httplib2 Summary: A Python HTTP client library ++++++ httplib2-0.9.1.tar.gz -> httplib2-0.9.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.9.1/PKG-INFO new/httplib2-0.9.2/PKG-INFO --- old/httplib2-0.9.1/PKG-INFO 2015-04-11 15:56:57.000000000 +0200 +++ new/httplib2-0.9.2/PKG-INFO 2015-09-28 15:55:46.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: httplib2 -Version: 0.9.1 +Version: 0.9.2 Summary: A comprehensive HTTP client library. Home-page: https://github.com/jcgregorio/httplib2 Author: Joe Gregorio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.9.1/python2/httplib2/__init__.py new/httplib2-0.9.2/python2/httplib2/__init__.py --- old/httplib2-0.9.1/python2/httplib2/__init__.py 2015-04-11 15:56:56.000000000 +0200 +++ new/httplib2-0.9.2/python2/httplib2/__init__.py 2015-09-28 15:55:45.000000000 +0200 @@ -22,7 +22,7 @@ "Sam Ruby", "Louis Nyffenegger"] __license__ = "MIT" -__version__ = "0.9.1" +__version__ = "0.9.2" import re import sys @@ -1285,8 +1285,9 @@ err = getattr(e, 'args')[0] else: err = e.errno - if err == errno.ECONNREFUSED: # Connection refused - raise + if err in (errno.ENETUNREACH, errno.EADDRNOTAVAIL) and i < RETRIES: + continue # retry on potentially transient socket errors + raise except httplib.HTTPException: # Just because the server closed the connection doesn't apparently mean # that the server didn't send a response. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.9.1/python2/httplib2.egg-info/PKG-INFO new/httplib2-0.9.2/python2/httplib2.egg-info/PKG-INFO --- old/httplib2-0.9.1/python2/httplib2.egg-info/PKG-INFO 2015-04-11 15:56:56.000000000 +0200 +++ new/httplib2-0.9.2/python2/httplib2.egg-info/PKG-INFO 2015-09-28 15:55:45.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: httplib2 -Version: 0.9.1 +Version: 0.9.2 Summary: A comprehensive HTTP client library. Home-page: https://github.com/jcgregorio/httplib2 Author: Joe Gregorio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.9.1/python3/httplib2/__init__.py new/httplib2-0.9.2/python3/httplib2/__init__.py --- old/httplib2-0.9.1/python3/httplib2/__init__.py 2015-04-11 15:56:56.000000000 +0200 +++ new/httplib2-0.9.2/python3/httplib2/__init__.py 2015-09-28 15:55:45.000000000 +0200 @@ -24,7 +24,7 @@ "Louis Nyffenegger", "Mark Pilgrim"] __license__ = "MIT" -__version__ = "0.9.1" +__version__ = "0.9.2" import re import sys @@ -994,8 +994,9 @@ raise ServerNotFoundError("Unable to find the server at %s" % conn.host) except socket.error as e: errno_ = (e.args[0].errno if isinstance(e.args[0], socket.error) else e.errno) - if errno_ == errno.ECONNREFUSED: # Connection refused - raise + if errno_ in (errno.ENETUNREACH, errno.EADDRNOTAVAIL) and i < RETRIES: + continue # retry on potentially transient errors + raise except http.client.HTTPException: if conn.sock is None: if i < RETRIES-1: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.9.1/setup.py new/httplib2-0.9.2/setup.py --- old/httplib2-0.9.1/setup.py 2015-04-11 15:56:56.000000000 +0200 +++ new/httplib2-0.9.2/setup.py 2015-09-28 15:55:45.000000000 +0200 @@ -5,7 +5,7 @@ import sys pkgdir = {'': 'python%s' % sys.version_info[0]} -VERSION = '0.9.1' +VERSION = '0.9.2' setup(name='httplib2', version=VERSION,