commit python3-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python3-httplib2 for openSUSE:Factory checked in at 2016-05-25 21:24:19 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 2016-03-26 15:23:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-httplib2.new/python3-httplib2.changes 2016-05-25 21:24:23.0 +0200 @@ -1,0 +2,8 @@ +Sun May 8 07:02:03 UTC 2016 - a...@gmx.de + +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org + + +--- Other differences: -- ++ python3-httplib2.spec ++ --- /var/tmp/diff_new_pack.d0NitO/_old 2016-05-25 21:24:24.0 +0200 +++ /var/tmp/diff_new_pack.d0NitO/_new 2016-05-25 21:24:24.0 +0200 @@ -23,7 +23,7 @@ Summary:A Python HTTP client library License:MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+) Group: Development/Libraries/Python -Source: http://pypi.python.org/packages/source/h/httplib2/httplib2-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/h/httplib2/httplib2-%{version}.tar.gz # PATCH-FIX-OPENSUSE: Don't ship private copy of Mozilla NSS certs, use system certs instead (bnc#761162) Patch0: httplib2-use-system-certs.patch # PATCH-FIX-UPSTREAM: speili...@suse.com -- SSL certificate hostname mismatch is checked only once
commit python3-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python3-httplib2 for openSUSE:Factory checked in at 2016-03-26 15:23:42 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-11-02 12:55:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-httplib2.new/python3-httplib2.changes 2016-03-26 15:23:44.0 +0100 @@ -1,0 +2,8 @@ +Mon Mar 14 14:55:40 UTC 2016 - jmate...@suse.com + +- update and cleanup of httplib2-use-system-certs.patch, + so that the passthrough is clean for python2 and so that it does + the right thing in python3 +- require python3 for ssl module + +--- Other differences: -- ++ python3-httplib2.spec ++ --- /var/tmp/diff_new_pack.sjhnRf/_old 2016-03-26 15:23:45.0 +0100 +++ /var/tmp/diff_new_pack.sjhnRf/_new 2016-03-26 15:23:45.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-httplib2 # -# 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 @@ -29,14 +29,10 @@ # PATCH-FIX-UPSTREAM: speili...@suse.com -- SSL certificate hostname mismatch is checked only once Patch1: httplib2-bnc-818100.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3 BuildRequires: python3-devel -# Test requirements (for ssl module): -#BuildRequires: python3 -%if 0%{?sles_version} -Requires: openssl-certs -%else Requires: ca-certificates -%endif +Requires: python3 BuildArch: noarch %description @@ -54,7 +50,7 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -#%%check +%check #python3 python3/httplib2test.py %files ++ httplib2-use-system-certs.patch ++ --- /var/tmp/diff_new_pack.sjhnRf/_old 2016-03-26 15:23:45.0 +0100 +++ /var/tmp/diff_new_pack.sjhnRf/_new 2016-03-26 15:23:45.0 +0100 @@ -1,7 +1,8 @@ -diff -ruN a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py a/python2/httplib2/__init__.py 2013-03-06 21:45:31.0 +0100 -+++ b/python2/httplib2/__init__.py 2013-03-22 14:02:09.458410128 +0100 -@@ -184,15 +184,8 @@ +Index: httplib2-0.9.2/python2/httplib2/__init__.py +=== +--- httplib2-0.9.2.orig/python2/httplib2/__init__.py httplib2-0.9.2/python2/httplib2/__init__.py +@@ -184,15 +184,8 @@ class CertificateHostnameMismatch(SSLHan # requesting that URI again. DEFAULT_MAX_REDIRECTS = 5 @@ -15,28 +16,61 @@ -CA_CERTS = os.path.join( -os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt") +# Default CA certificates file bundled with httplib2. -+CA_CERTS = '/etc/ssl/ca-bundle.pem' ++CA_CERTS = None # Which headers are hop-by-hop headers by default HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] -diff -ruN a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py a/python3/httplib2/__init__.py 2013-03-06 21:45:31.0 +0100 -+++ b/python3/httplib2/__init__.py 2013-03-22 14:01:51.270409717 +0100 -@@ -124,8 +124,8 @@ +@@ -944,8 +937,6 @@ class HTTPSConnectionWithTimeout(httplib + cert_file=cert_file, strict=strict) + self.timeout = timeout + self.proxy_info = proxy_info +-if ca_certs is None: +-ca_certs = CA_CERTS + self.ca_certs = ca_certs + self.disable_ssl_certificate_validation = \ + disable_ssl_certificate_validation +Index: httplib2-0.9.2/python3/httplib2/__init__.py +=== +--- httplib2-0.9.2.orig/python3/httplib2/__init__.py httplib2-0.9.2/python3/httplib2/__init__.py +@@ -124,8 +124,7 @@ DEFAULT_MAX_REDIRECTS = 5 HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] # Default CA certificates file bundled with httplib2. -CA_CERTS = os.path.join( -os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt") -+CA_CERTS = '/etc/ssl/ca-bundle.pem' -+ ++CA_CERTS = None def _get_end2end_headers(response): hopbyhop = list(HOP_BY_HOP) -diff -ruN a/setup.py b/setup.py a/setup.py 2013-03-06
commit python3-httplib2 for openSUSE:Factory
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.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-httplib2.new/python3-httplib2.changes 2015-11-02 12:55:41.0 +0100 @@ -1,0 +2,7 @@ +Sun Nov 1 18:21:47 UTC 2015 - a...@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.0 +0100 +++ /var/tmp/diff_new_pack.P8L5yv/_new 2015-11-02 12:55:42.0 +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.0 +0200 +++ new/httplib2-0.9.2/PKG-INFO 2015-09-28 15:55:46.0 +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.0 +0200 +++ new/httplib2-0.9.2/python2/httplib2/__init__.py 2015-09-28 15:55:45.0 +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.0 +0200 +++ new/httplib2-0.9.2/python2/httplib2.egg-info/PKG-INFO 2015-09-28 15:55:45.0 +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.0 +0200 +++ new/httplib2-0.9.2/python3/httplib2/__init__.py 2015-09-28 15:55:45.0 +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:
commit python3-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python3-httplib2 for openSUSE:Factory checked in at 2015-04-13 20:30:20 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-01-26 16:47:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-httplib2.new/python3-httplib2.changes 2015-04-13 20:30:21.0 +0200 @@ -1,0 +2,9 @@ +Sun Apr 12 05:22:35 UTC 2015 - a...@gmx.de + +- update to version 0.9.1: + * #296: There was a problem with headers when a binary string is +passed (like b'Authorization'). + * #276: Default to doing DNS resolution through a proxy server if + present. + +--- Old: httplib2-0.9.tar.gz New: httplib2-0.9.1.tar.gz Other differences: -- ++ python3-httplib2.spec ++ --- /var/tmp/diff_new_pack.ltuKqd/_old 2015-04-13 20:30:22.0 +0200 +++ /var/tmp/diff_new_pack.ltuKqd/_new 2015-04-13 20:30:22.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-httplib2 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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-httplib2 -Version:0.9 +Version:0.9.1 Release:0 Url:https://github.com/jcgregorio/httplib2 Summary:A Python HTTP client library ++ httplib2-0.9.tar.gz - httplib2-0.9.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.9/PKG-INFO new/httplib2-0.9.1/PKG-INFO --- old/httplib2-0.9/PKG-INFO 2014-04-14 15:07:38.0 +0200 +++ new/httplib2-0.9.1/PKG-INFO 2015-04-11 15:56:57.0 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: httplib2 -Version: 0.9 +Version: 0.9.1 Summary: A comprehensive HTTP client library. -Home-page: http://code.google.com/p/httplib2/ +Home-page: https://github.com/jcgregorio/httplib2 Author: Joe Gregorio Author-email: j...@bitworking.org License: MIT -Download-URL: http://httplib2.googlecode.com/files/httplib2-0.9.tar.gz Description: A comprehensive HTTP client library, ``httplib2`` supports many features left out of other HTTP libraries. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.9/python2/httplib2/__init__.py new/httplib2-0.9.1/python2/httplib2/__init__.py --- old/httplib2-0.9/python2/httplib2/__init__.py 2014-04-14 14:52:57.0 +0200 +++ new/httplib2-0.9.1/python2/httplib2/__init__.py 2015-04-11 15:56:56.0 +0200 @@ -22,7 +22,7 @@ Sam Ruby, Louis Nyffenegger] __license__ = MIT -__version__ = 0.9 +__version__ = 0.9.1 import re import sys @@ -749,12 +749,27 @@ bypass_hosts = () def __init__(self, proxy_type, proxy_host, proxy_port, - proxy_rdns=None, proxy_user=None, proxy_pass=None): -The parameter proxy_type must be set to one of socks.PROXY_TYPE_XXX -constants. For example: + proxy_rdns=True, proxy_user=None, proxy_pass=None): + +Args: + proxy_type: The type of proxy server. This must be set to one of + socks.PROXY_TYPE_XXX constants. For example: + +p = ProxyInfo(proxy_type=socks.PROXY_TYPE_HTTP, + proxy_host='localhost', proxy_port=8000) + + proxy_host: The hostname or IP address of the proxy server. + + proxy_port: The port that the proxy server is running on. -p = ProxyInfo(proxy_type=socks.PROXY_TYPE_HTTP, -proxy_host='localhost', proxy_port=8000) + proxy_rdns: If True (default), DNS queries will not be performed + locally, and instead, handed to the proxy to resolve. This is useful + if the network does not allow resolution of non-local names. In + httplib2 0.9 and earlier, this defaulted to False. + + proxy_user: The username used to authenticate with the proxy server. + + proxy_pass: The password used to authenticate with the proxy server. self.proxy_type = proxy_type self.proxy_host = proxy_host @@ -871,12 +886,12 @@ if self.proxy_info and self.proxy_info.isgood(): use_proxy = True proxy_type, proxy_host, proxy_port, proxy_rdns, proxy_user,
commit python3-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python3-httplib2 for openSUSE:Factory checked in at 2015-01-26 16:47:11 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 2013-06-20 16:41:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-httplib2.new/python3-httplib2.changes 2015-01-26 16:47:14.0 +0100 @@ -1,0 +2,15 @@ +Sun Jan 25 17:00:09 UTC 2015 - a...@gmx.de + +- specfile: + * update copyright year + * update url (moved to github) + * removed README (not provided in tar ball anymore) + +- update to version 0.9: (taken from git log) + * Add an updated cacerts.txt file and fix some tests. + * use socket.getdefaulttimeout() on App Engine as well as off + * Moving README over to README.md + * Pass method by name, not positionally. Fixes issue #252. + * Fix handling of BadStatusLine. Fixes issue #250. + +--- Old: httplib2-0.8.tar.gz pre_checkin.sh New: httplib2-0.9.tar.gz Other differences: -- ++ python3-httplib2.spec ++ --- /var/tmp/diff_new_pack.MJbyXZ/_old 2015-01-26 16:47:15.0 +0100 +++ /var/tmp/diff_new_pack.MJbyXZ/_new 2015-01-26 16:47:15.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-httplib2 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products 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,9 +17,9 @@ Name: python3-httplib2 -Version:0.8 +Version:0.9 Release:0 -Url:http://code.google.com/p/httplib2/ +Url:https://github.com/jcgregorio/httplib2 Summary:A Python HTTP client library License:MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+) Group: Development/Libraries/Python @@ -59,7 +59,6 @@ %files %defattr(-,root,root) -%doc README %{python3_sitelib}/* %changelog ++ httplib2-0.8.tar.gz - httplib2-0.9.tar.gz ++ 5641 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python3-httplib2 for openSUSE:Factory checked in at 2013-02-26 06:53:50 Comparing /work/SRC/openSUSE:Factory/python3-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python3-httplib2.new (New) Package is python3-httplib2, Maintainer is Changes: New Changes file: NO CHANGES FILE!!! New: _link Other differences: -- ++ _link ++ link package=python-httplib2 cicount=copy / -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org