commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2020-10-25 18:10:14 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new.3463 (New) Package is "python-httplib2" Sun Oct 25 18:10:14 2020 rev:47 rq:841414 version:0.18.1 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2020-05-08 23:03:28.717632672 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new.3463/python-httplib2.changes 2020-10-25 18:10:15.727552097 +0100 @@ -1,0 +2,9 @@ +Tue Oct 13 07:26:46 UTC 2020 - Dirk Mueller + +- update to 0.18.1: + * explicit build-backend workaround for pip build isolation bug + * IMPORTANT security vulnerability CWE-93 CRLF injection + Force %xx quote of space, CR, LF characters in uri. + * Ship test suite in source dist + +--- Old: httplib2-0.17.3.tar.gz New: httplib2-0.18.1.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.5XARzR/_old 2020-10-25 18:10:16.531552858 +0100 +++ /var/tmp/diff_new_pack.5XARzR/_new 2020-10-25 18:10:16.535552862 +0100 @@ -20,7 +20,7 @@ # Tests require network connection %bcond_with tests Name: python-httplib2 -Version:0.17.3 +Version:0.18.1 Release:0 Summary:A Python HTTP client library License:MIT AND Apache-2.0 AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) ++ httplib2-0.17.3.tar.gz -> httplib2-0.18.1.tar.gz ++ 5150 lines of diff (skipped)
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2020-05-08 23:03:23 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new.2738 (New) Package is "python-httplib2" Fri May 8 23:03:23 2020 rev:46 rq:800676 version:0.17.3 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2020-04-09 23:14:20.522205905 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new.2738/python-httplib2.changes 2020-05-08 23:03:28.717632672 +0200 @@ -1,0 +2,6 @@ +Wed Apr 29 10:54:19 UTC 2020 - Dirk Mueller + +- update to 0.17.3: + * bugfixes + +--- Old: httplib2-0.17.1.tar.gz New: httplib2-0.17.3.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.7T2ewq/_old 2020-05-08 23:03:30.081635459 +0200 +++ /var/tmp/diff_new_pack.7T2ewq/_new 2020-05-08 23:03:30.081635459 +0200 @@ -20,7 +20,7 @@ # Tests require network connection %bcond_with tests Name: python-httplib2 -Version:0.17.1 +Version:0.17.3 Release:0 Summary:A Python HTTP client library License:MIT AND Apache-2.0 AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) ++ httplib2-0.17.1.tar.gz -> httplib2-0.17.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.17.1/PKG-INFO new/httplib2-0.17.3/PKG-INFO --- old/httplib2-0.17.1/PKG-INFO2020-04-02 20:28:49.0 +0200 +++ new/httplib2-0.17.3/PKG-INFO2020-04-22 11:13:28.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: httplib2 -Version: 0.17.1 +Version: 0.17.3 Summary: A comprehensive HTTP client library. Home-page: https://github.com/httplib2/httplib2 Author: Joe Gregorio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.17.1/python2/httplib2/__init__.py new/httplib2-0.17.3/python2/httplib2/__init__.py --- old/httplib2-0.17.1/python2/httplib2/__init__.py2020-04-02 20:28:24.0 +0200 +++ new/httplib2-0.17.3/python2/httplib2/__init__.py2020-04-22 11:13:03.0 +0200 @@ -19,7 +19,7 @@ "Alex Yu", ] __license__ = "MIT" -__version__ = '0.17.1' +__version__ = '0.17.3' import base64 import calendar @@ -129,7 +129,7 @@ _ssl_wrap_socket = _ssl_wrap_socket_unsupported if sys.version_info >= (2, 3): -from iri2uri import iri2uri +from .iri2uri import iri2uri else: def iri2uri(uri): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.17.1/python3/httplib2/__init__.py new/httplib2-0.17.3/python3/httplib2/__init__.py --- old/httplib2-0.17.1/python3/httplib2/__init__.py2020-04-02 20:28:24.0 +0200 +++ new/httplib2-0.17.3/python3/httplib2/__init__.py2020-04-22 11:13:03.0 +0200 @@ -15,7 +15,7 @@ "Alex Yu", ] __license__ = "MIT" -__version__ = '0.17.1' +__version__ = '0.17.3' import base64 import calendar @@ -1366,7 +1366,7 @@ except socket.error as e: socket_err = e if self.debuglevel > 0: -print("connect fail: ({0}, {1})".format((self.host, self.port))) +print("connect fail: ({0}, {1})".format(self.host, self.port)) if use_proxy: print( "proxy: {0}".format( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.17.1/python3/httplib2.egg-info/PKG-INFO new/httplib2-0.17.3/python3/httplib2.egg-info/PKG-INFO --- old/httplib2-0.17.1/python3/httplib2.egg-info/PKG-INFO 2020-04-02 20:28:48.0 +0200 +++ new/httplib2-0.17.3/python3/httplib2.egg-info/PKG-INFO 2020-04-22 11:13:27.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: httplib2 -Version: 0.17.1 +Version: 0.17.3 Summary: A comprehensive HTTP client library. Home-page: https://github.com/httplib2/httplib2 Author: Joe Gregorio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.17.1/setup.py new/httplib2-0.17.3/setup.py --- old/httplib2-0.17.1/setup.py2020-04-02 20:28:24.0 +0200 +++ new/httplib2-0.17.3/setup.py2020-04-22 11:13:03.0 +0200 @@ -4,7 +4,7 @@ import sys pkgdir = {"": "python%s" % sys.version_info[0]} -VERSION = '0.17.1' +VERSION = '0.17.3' # `python setup.py test` uses existing Python environment, no virtualenv, no pip.
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2020-04-09 23:14:19 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new.3248 (New) Package is "python-httplib2" Thu Apr 9 23:14:19 2020 rev:45 rq:791798 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2019-11-04 17:04:44.780154718 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new.3248/python-httplib2.changes 2020-04-09 23:14:20.522205905 +0200 @@ -1,0 +2,14 @@ +Mon Apr 6 14:02:25 UTC 2020 - Marketa Calabkova + +- Update to 0.17.1 + * python3: no_proxy was not checked with https + * feature: Http().redirect_codes set, works after follow(_all)_redirects check +This allows one line workaround for old gcloud library that uses 308 +response without redirect semantics. + * IMPORTANT cache invalidation change, fix 307 keep method, add 308 Redirects + * proxy: username/password as str compatible with pysocks + * python2: regression in connect() error handling + * add support for password protected certificate files + * feature: Http.close() to clean persistent connections and sensitive data + +--- Old: httplib2-0.14.0.tar.gz New: httplib2-0.17.1.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.MrWjrw/_old 2020-04-09 23:14:21.166206277 +0200 +++ /var/tmp/diff_new_pack.MrWjrw/_new 2020-04-09 23:14:21.170206280 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-httplib2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ # Tests require network connection %bcond_with tests Name: python-httplib2 -Version:0.14.0 +Version:0.17.1 Release:0 Summary:A Python HTTP client library License:MIT AND Apache-2.0 AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) ++ httplib2-0.14.0.tar.gz -> httplib2-0.17.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.14.0/PKG-INFO new/httplib2-0.17.1/PKG-INFO --- old/httplib2-0.14.0/PKG-INFO2019-09-27 06:52:00.0 +0200 +++ new/httplib2-0.17.1/PKG-INFO2020-04-02 20:28:49.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: httplib2 -Version: 0.14.0 +Version: 0.17.1 Summary: A comprehensive HTTP client library. Home-page: https://github.com/httplib2/httplib2 Author: Joe Gregorio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.14.0/python2/httplib2/__init__.py new/httplib2-0.17.1/python2/httplib2/__init__.py --- old/httplib2-0.14.0/python2/httplib2/__init__.py2019-09-27 06:51:36.0 +0200 +++ new/httplib2-0.17.1/python2/httplib2/__init__.py2020-04-02 20:28:24.0 +0200 @@ -19,7 +19,7 @@ "Alex Yu", ] __license__ = "MIT" -__version__ = '0.14.0' +__version__ = '0.17.1' import base64 import calendar @@ -76,7 +76,7 @@ def _ssl_wrap_socket( -sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname +sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname, key_password ): if disable_validation: cert_reqs = ssl.CERT_NONE @@ -90,11 +90,16 @@ context.verify_mode = cert_reqs context.check_hostname = cert_reqs != ssl.CERT_NONE if cert_file: -context.load_cert_chain(cert_file, key_file) +if key_password: +context.load_cert_chain(cert_file, key_file, key_password) +else: +context.load_cert_chain(cert_file, key_file) if ca_certs: context.load_verify_locations(ca_certs) return context.wrap_socket(sock, server_hostname=hostname) else: +if key_password: +raise NotSupportedOnThisPlatform("Certificate with password is not supported.") return ssl.wrap_socket( sock, keyfile=key_file, @@ -106,7 +111,7 @@ def _ssl_wrap_socket_unsupported( -sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname +sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname, key_password ): if not disable_validation: raise CertificateValidationUnsupported( @@ -114,6 +119,8 @@ "the ssl module installed. To
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2019-11-04 17:04:43 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new.2990 (New) Package is "python-httplib2" Mon Nov 4 17:04:43 2019 rev:44 rq:736453 version:0.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2019-08-27 10:10:18.387983845 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new.2990/python-httplib2.changes 2019-11-04 17:04:44.780154718 +0100 @@ -1,0 +2,6 @@ +Wed Oct 9 10:45:30 UTC 2019 - Tomáš Chvátal + +- Update to 0.14.0: + * Python3: PROXY_TYPE_SOCKS5 with str user/pass raised TypeError + +--- Old: httplib2-0.13.1.tar.gz New: httplib2-0.14.0.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.3SN2eU/_old 2019-11-04 17:04:45.316155291 +0100 +++ /var/tmp/diff_new_pack.3SN2eU/_new 2019-11-04 17:04:45.324155299 +0100 @@ -16,37 +16,33 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests require network connection %bcond_with tests - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-httplib2 -Version:0.13.1 +Version:0.14.0 Release:0 -Url:https://github.com/httplib2/httplib2 Summary:A Python HTTP client library License:MIT AND Apache-2.0 AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) -Group: Development/Libraries/Python +URL:https://github.com/httplib2/httplib2 Source: https://files.pythonhosted.org/packages/source/h/httplib2/httplib2-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: ca-certificates +Requires: python-certifi +BuildArch: noarch %if %{with tests} # Test requirements (for ssl module): BuildRequires: python BuildRequires: python3 %endif -Requires: ca-certificates -Requires: python-certifi -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description A comprehensive HTTP client library that supports many features left out of other HTTP libraries. - %prep %setup -q -n httplib2-%{version} @@ -59,16 +55,15 @@ %if %{with tests} %check -%if %have_python2 +%if %{have_python2} python2 python2/httplib2test.py %endif -%if %have_python2 +%if %{have_python3} python3 python3/httplib2test.py %endif %endif %files %{python_files} -%defattr(-,root,root) %{python_sitelib}/httplib2-%{version}-py*.egg-info %{python_sitelib}/httplib2 ++ httplib2-0.13.1.tar.gz -> httplib2-0.14.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.13.1/PKG-INFO new/httplib2-0.14.0/PKG-INFO --- old/httplib2-0.13.1/PKG-INFO2019-07-28 13:35:41.0 +0200 +++ new/httplib2-0.14.0/PKG-INFO2019-09-27 06:52:00.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: httplib2 -Version: 0.13.1 +Version: 0.14.0 Summary: A comprehensive HTTP client library. Home-page: https://github.com/httplib2/httplib2 Author: Joe Gregorio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.13.1/python2/httplib2/__init__.py new/httplib2-0.14.0/python2/httplib2/__init__.py --- old/httplib2-0.13.1/python2/httplib2/__init__.py2019-07-28 13:34:30.0 +0200 +++ new/httplib2-0.14.0/python2/httplib2/__init__.py2019-09-27 06:51:36.0 +0200 @@ -19,7 +19,7 @@ "Alex Yu", ] __license__ = "MIT" -__version__ = '0.13.1' +__version__ = '0.14.0' import base64 import calendar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.13.1/python3/httplib2/__init__.py new/httplib2-0.14.0/python3/httplib2/__init__.py --- old/httplib2-0.13.1/python3/httplib2/__init__.py2019-07-28 13:34:30.0 +0200 +++ new/httplib2-0.14.0/python3/httplib2/__init__.py2019-09-27 06:51:36.0 +0200 @@ -15,7 +15,7 @@ "Alex Yu", ] __license__ = "MIT" -__version__ = '0.13.1' +__version__ = '0.14.0' import base64 import calendar @@ -999,6 +999,10 @@ proxy_headers: Additional or modified headers for the proxy connect request. """ +if isinstance(proxy_user, str): +proxy_user = proxy_user.encode() +if isinstance(proxy_pass, str): +proxy_pass = proxy_pass.encode() self.proxy_type,
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2019-08-27 10:10:16 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new.7948 (New) Package is "python-httplib2" Tue Aug 27 10:10:16 2019 rev:43 rq:725772 version:0.13.1 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2018-02-27 16:59:31.564642299 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new.7948/python-httplib2.changes 2019-08-27 10:10:18.387983845 +0200 @@ -1,0 +2,62 @@ +Fri Aug 2 09:41:37 UTC 2019 - pgaj...@suse.com + +- version update to 0.13.1 + 0.13.1 + * Python3: Use no_proxy + https://github.com/httplib2/httplib2/pull/140 + 0.13.0 +* Allow setting TLS max/min versions + https://github.com/httplib2/httplib2/pull/138 + 0.12.3 +* No changes to library. Distribute py3 wheels. + 0.12.1 +* Catch socket timeouts and clear dead connection + https://github.com/httplib2/httplib2/issues/18 + https://github.com/httplib2/httplib2/pull/111 +* Officially support Python 3.7 (package metadata) + https://github.com/httplib2/httplib2/issues/123 + 0.12.0 +* Drop support for Python 3.3 +* ca_certs from environment HTTPLIB2_CA_CERTS or certifi + https://github.com/httplib2/httplib2/pull/117 +* PROXY_TYPE_HTTP with non-empty user/pass raised TypeError: bytes required + https://github.com/httplib2/httplib2/pull/115 +* Revert http:443->https workaround + https://github.com/httplib2/httplib2/issues/112 +* eliminate connection pool read race + https://github.com/httplib2/httplib2/pull/110 +* cache: stronger safename + https://github.com/httplib2/httplib2/pull/101 + 0.11.3 +* No changes, just reupload of 0.11.2 after fixing automatic release conditions in Travis. + 0.11.2 +* proxy: py3 NameError basestring + https://github.com/httplib2/httplib2/pull/100 + 0.11.1 +* Fix HTTP(S)ConnectionWithTimeout AttributeError proxy_info + https://github.com/httplib2/httplib2/pull/97 + 0.11.0 +* Add DigiCert Global Root G2 serial 033af1e6a711a9a0bb2864b11d09fae5 + https://github.com/httplib2/httplib2/pull/91 +* python3 proxy support + https://github.com/httplib2/httplib2/pull/90 +* If no_proxy environment value ends with comma then proxy is not used + https://github.com/httplib2/httplib2/issues/11 +* fix UnicodeDecodeError using socks5 proxy + https://github.com/httplib2/httplib2/pull/64 +* Respect NO_PROXY env var in proxy_info_from_url + https://github.com/httplib2/httplib2/pull/58 +* NO_PROXY=bar was matching foobar (suffix without dot delimiter) + New behavior matches curl/wget: + - no_proxy=foo.bar will only skip proxy for exact hostname match + - no_proxy=.wild.card will skip proxy for any.subdomains.wild.card + https://github.com/httplib2/httplib2/issues/94 +* Bugfix for Content-Encoding: deflate + https://stackoverflow.com/a/22311297 +- deleted patches + - httplib2-use-system-certs.patch (not needed) +httplib2 started to use certifi and this is already bent to +use system certificate bundle by +python-certifi-shipped-requests-cabundle.patch + +--- Old: httplib2-0.10.3.tar.gz httplib2-use-system-certs.patch New: httplib2-0.13.1.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.e267nX/_old 2019-08-27 10:10:20.275983719 +0200 +++ /var/tmp/diff_new_pack.e267nX/_new 2019-08-27 10:10:20.315983716 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-httplib2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,16 +21,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-httplib2 -Version:0.10.3 +Version:0.13.1 Release:0 Url:https://github.com/httplib2/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+) +License:MIT AND Apache-2.0 AND (MPL-1.1 OR GPL-2.0-or-later
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2018-02-27 16:58:40 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is "python-httplib2" Tue Feb 27 16:58:40 2018 rev:42 rq:580064 version:0.10.3 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2018-01-16 09:33:25.630802795 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2018-02-27 16:59:31.564642299 +0100 @@ -1,0 +2,11 @@ +Fri Feb 23 16:31:07 UTC 2018 - sn...@suse.com + +- update httplib2-use-system-certs.patch: handle + the case when validation is disabled correctly. + + The 'check_hostname' context attribute has to be + set first, othewise a "ValueError: Cannot set + verify_mode to CERT_NONE when check_hostname + is enabled." exception is raised. + +--- Other differences: -- ++ httplib2-use-system-certs.patch ++ --- /var/tmp/diff_new_pack.SNLPeY/_old 2018-02-27 16:59:32.304615562 +0100 +++ /var/tmp/diff_new_pack.SNLPeY/_new 2018-02-27 16:59:32.308615418 +0100 @@ -1,8 +1,8 @@ -Index: httplib2-0.10.3/python2/httplib2/__init__.py -=== httplib2-0.10.3.orig/python2/httplib2/__init__.py -+++ httplib2-0.10.3/python2/httplib2/__init__.py -@@ -83,11 +83,18 @@ def _ssl_wrap_socket(sock, key_file, cer +diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py +index 32ec959..cf7f2f9 100644 +--- a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py +@@ -83,11 +83,20 @@ def _ssl_wrap_socket(sock, key_file, cert_file, disable_validation, cert_reqs = ssl.CERT_NONE else: cert_reqs = ssl.CERT_REQUIRED @@ -19,13 +19,15 @@ + +if ssl_version is None: +context = ssl.create_default_context(cafile=cafile, capath=capath) ++if disable_validation: ++context.check_hostname = False +else: +context = ssl.SSLContext(ssl_version) + context.verify_mode = cert_reqs context.check_hostname = (cert_reqs != ssl.CERT_NONE) if cert_file: -@@ -96,6 +103,9 @@ def _ssl_wrap_socket(sock, key_file, cer +@@ -96,6 +105,9 @@ def _ssl_wrap_socket(sock, key_file, cert_file, disable_validation, context.load_verify_locations(ca_certs) return context.wrap_socket(sock, server_hostname=hostname) else: @@ -35,7 +37,7 @@ return ssl.wrap_socket(sock, keyfile=key_file, certfile=cert_file, cert_reqs=cert_reqs, ca_certs=ca_certs, ssl_version=ssl_version) -@@ -210,15 +220,8 @@ class NotRunningAppEngineEnvironment(Htt +@@ -210,15 +222,8 @@ class NotRunningAppEngineEnvironment(HttpLib2Error): pass # requesting that URI again. DEFAULT_MAX_REDIRECTS = 5 @@ -53,7 +55,7 @@ # Which headers are hop-by-hop headers by default HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] -@@ -975,8 +978,6 @@ class HTTPSConnectionWithTimeout(httplib +@@ -975,8 +980,6 @@ class HTTPSConnectionWithTimeout(httplib.HTTPSConnection): cert_file=cert_file, strict=strict) self.timeout = timeout self.proxy_info = proxy_info @@ -62,10 +64,10 @@ self.ca_certs = ca_certs self.disable_ssl_certificate_validation = \ disable_ssl_certificate_validation -Index: httplib2-0.10.3/python3/httplib2/__init__.py -=== httplib2-0.10.3.orig/python3/httplib2/__init__.py -+++ httplib2-0.10.3/python3/httplib2/__init__.py +diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py +index ed9..40f4556 100644 +--- a/python3/httplib2/__init__.py b/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'] @@ -76,7 +78,7 @@ def _get_end2end_headers(response): hopbyhop = list(HOP_BY_HOP) -@@ -838,16 +837,17 @@ class HTTPSConnectionWithTimeout(http.cl +@@ -838,16 +837,17 @@ class HTTPSConnectionWithTimeout(http.client.HTTPSConnection): # TODO: implement proxy_info self.proxy_info = proxy_info context = None @@ -102,11 +104,11 @@ if cert_file: context.load_cert_chain(cert_file, key_file)
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2018-01-16 09:33:24 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is "python-httplib2" Tue Jan 16 09:33:24 2018 rev:41 rq:563204 version:0.10.3 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2017-04-28 10:43:42.832275240 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2018-01-16 09:33:25.630802795 +0100 @@ -1,0 +2,13 @@ +Wed Jan 10 07:47:54 UTC 2018 - dmuel...@suse.com + +- update httplib2-use-system-certs.patch: handle + the case with ssl_version being None correctly + +--- +Tue Jan 9 11:04:53 UTC 2018 - dmuel...@suse.com + +- update httplib2-use-system-certs.patch: Also use + ssl.create_default_context in the python2 case so that + the system wide certificates are loaded as trusted again. + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.6t6ti4/_old 2018-01-16 09:33:26.082781648 +0100 +++ /var/tmp/diff_new_pack.6t6ti4/_new 2018-01-16 09:33:26.086781460 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-httplib2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + # Tests require network connection %bcond_with tests @@ -24,7 +25,7 @@ Release:0 Url:https://github.com/httplib2/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+) +License:MIT AND Apache-2.0 AND (MPL-1.1 OR GPL-2.0+ OR LGPL-2.1+) Group: Development/Libraries/Python 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) ++ httplib2-use-system-certs.patch ++ --- /var/tmp/diff_new_pack.6t6ti4/_old 2018-01-16 09:33:26.110780338 +0100 +++ /var/tmp/diff_new_pack.6t6ti4/_new 2018-01-16 09:33:26.110780338 +0100 @@ -1,8 +1,41 @@ -Index: httplib2-0.9.2/python2/httplib2/__init__.py +Index: httplib2-0.10.3/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 +--- httplib2-0.10.3.orig/python2/httplib2/__init__.py httplib2-0.10.3/python2/httplib2/__init__.py +@@ -83,11 +83,18 @@ def _ssl_wrap_socket(sock, key_file, cer + cert_reqs = ssl.CERT_NONE + else: + cert_reqs = ssl.CERT_REQUIRED +-if ssl_version is None: +-ssl_version = ssl.PROTOCOL_SSLv23 +- + if hasattr(ssl, 'SSLContext'): # Python 2.7.9 +-context = ssl.SSLContext(ssl_version) ++cafile = ca_certs ++capath = None ++if cafile is not None and os.path.isdir(cafile): ++cafile = None ++capath = ca_certs ++ ++if ssl_version is None: ++context = ssl.create_default_context(cafile=cafile, capath=capath) ++else: ++context = ssl.SSLContext(ssl_version) ++ + context.verify_mode = cert_reqs + context.check_hostname = (cert_reqs != ssl.CERT_NONE) + if cert_file: +@@ -96,6 +103,9 @@ def _ssl_wrap_socket(sock, key_file, cer + context.load_verify_locations(ca_certs) + return context.wrap_socket(sock, server_hostname=hostname) + else: ++if ssl_version is None: ++ssl_version = ssl.PROTOCOL_SSLv23 ++ + return ssl.wrap_socket(sock, keyfile=key_file, certfile=cert_file, +cert_reqs=cert_reqs, ca_certs=ca_certs, +ssl_version=ssl_version) +@@ -210,15 +220,8 @@ class NotRunningAppEngineEnvironment(Htt # requesting that URI again. DEFAULT_MAX_REDIRECTS = 5 @@ -20,7 +53,7 @@ # Which headers are hop-by-hop headers by default HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] -@@ -944,8 +937,6 @@ class HTTPSConnectionWithTimeout(httplib +@@ -975,8 +978,6 @@ class
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2017-04-28 10:43:37 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is "python-httplib2" Fri Apr 28 10:43:37 2017 rev:40 rq:489492 version:0.10.3 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2016-10-22 13:11:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2017-04-28 10:43:42.832275240 +0200 @@ -1,0 +2,31 @@ +Wed Apr 19 22:13:57 UTC 2017 - toddrme2...@gmail.com + +- Source url must be https. + +--- +Wed Apr 19 14:16:35 UTC 2017 - toddrme2...@gmail.com + +- Spec file cleanups + +--- +Wed Apr 12 18:16:09 UTC 2017 - toddrme2...@gmail.com + +- Update to 0.10.3 + * Fix certificate validation on Python<=2.7.8 without ssl.CertificateError +- Update to 0.10.2 + * Just a reupload of 0.10.1, which was broken for Python3 +because wheel distribution doesn't play well with our 2/3 split code base. +- Update to 0.10.1 + * Remove VeriSign Class 3 CA from trusted certs + * Add IdenTrust DST Root CA X3 + * Support for specifying the SSL protocol version (Python v2) + * On App Engine use urlfetch's default deadline if None is passed. + * Fix TypeError on AppEngine “__init__() got an unexpected keyword argument 'ssl_version’” + * Send SNI data for SSL connections on Python 2.7.9+ + * Verify the server hostname if certificate validation is enabled + * Add proxy_headers argument to ProxyInfo constructor + * Make disable_ssl_certificate_validation work with Python 3.5. + * Fix socket error handling +- Remove httplib2-bnc-818100.patch, merged upstream. + +--- @@ -5,0 +37,5 @@ + +--- +Wed Apr 27 14:38:59 UTC 2016 - jmate...@suse.com + +- attempt to build multi-python Old: httplib2-0.9.2.tar.gz httplib2-bnc-818100.patch New: httplib2-0.10.3.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.bKIC1f/_old 2017-04-28 10:43:43.780141265 +0200 +++ /var/tmp/diff_new_pack.bKIC1f/_new 2017-04-28 10:43:43.784140700 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-httplib2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -15,55 +15,60 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# Tests require network connection +%bcond_with tests +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-httplib2 -Version:0.9.2 +Version:0.10.3 Release:0 Url:https://github.com/httplib2/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 -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 -Patch1: httplib2-bnc-818100.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +%if %{with tests} # Test requirements (for ssl module): -#BuildRequires: python -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -Requires: openssl-certs -%else -Requires: ca-certificates +BuildRequires: python +BuildRequires: python3 %endif -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +Requires: ca-certificates +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%endif +%python_subpackages %description A comprehensive HTTP client library that supports many features left out of other HTTP libraries. + %prep %setup -q -n httplib2-%{version} %patch0 -p1
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2016-10-22 13:11:30 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is "python-httplib2" Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2016-03-29 09:54:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2016-10-22 13:11:31.0 +0200 @@ -1,0 +2,6 @@ +Wed Oct 12 19:50:16 UTC 2016 - rjsch...@suse.com + +- Project moved from code.google.com to GitHub, fix the url + accordingly + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.qVHJqp/_old 2016-10-22 13:11:32.0 +0200 +++ /var/tmp/diff_new_pack.qVHJqp/_new 2016-10-22 13:11:32.0 +0200 @@ -19,7 +19,7 @@ Name: python-httplib2 Version:0.9.2 Release:0 -Url:http://code.google.com/p/httplib2/ +Url:https://github.com/httplib2/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
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2016-03-29 09:54:23 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is "python-httplib2" Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2015-12-17 15:54:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2016-03-29 09:54:24.0 +0200 @@ -1,0 +2,7 @@ +Wed Mar 2 16:45:18 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 + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.1afw2Y/_old 2016-03-29 09:54:25.0 +0200 +++ /var/tmp/diff_new_pack.1afw2Y/_new 2016-03-29 09:54:25.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-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 ++ httplib2-use-system-certs.patch ++ --- /var/tmp/diff_new_pack.1afw2Y/_old 2016-03-29 09:54:25.0 +0200 +++ /var/tmp/diff_new_pack.1afw2Y/_new 2016-03-29 09:54:25.0 +0200 @@ -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 @@ -19,24 +20,57 @@ # 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 21:45:31.0 +0100 -+++ b/setup.py 2013-03-22 14:02:33.031410660 +0100 -@@ -62,7 +62,6 @@ +@@ -833,13 +832,17 @@ class HTTPSConnectionWithTimeout(http.cl + ca_certs=None, disable_ssl_certificate_validation=False): + self.proxy_info = proxy_info + context = None +-if ca_certs is None: +-ca_certs = CA_CERTS +-if (cert_file or ca_certs) and not disable_ssl_certificate_validation: ++if not disable_ssl_certificate_validation: + if not hasattr(ssl, 'SSLContext'): + raise CertificateValidationUnsupportedInPython31() +-context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) +-context.verify_mode = ssl.CERT_REQUIRED ++ ++cafile = ca_certs ++capath = None ++if cafile is not None and os.path.isdir(cafile): ++cafile = None ++capath = ca_certs ++ ++
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2015-12-17 15:54:22 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is "python-httplib2" Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2015-05-10 10:52:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2015-12-17 15:54:23.0 +0100 @@ -1,0 +2,11 @@ +Thu Dec 3 18:18:16 UTC 2015 - rjsch...@suse.com + +- Update to version 0.9.2: + * Fix incorrect ResponseNotReady exceptions, retry on transient errors. + +--- +Tue Dec 1 14:59:02 UTC 2015 - rjsch...@suse.com + +- Include 0.9.1 in SLE 12 (FATE#319904, bsc#954690) + +--- Old: httplib2-0.9.1.tar.gz New: httplib2-0.9.2.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.44OG2f/_old 2015-12-17 15:54:24.0 +0100 +++ /var/tmp/diff_new_pack.44OG2f/_new 2015-12-17 15:54:24.0 +0100 @@ -17,7 +17,7 @@ Name: python-httplib2 -Version:0.9.1 +Version:0.9.2 Release:0 Url:http://code.google.com/p/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
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2014-09-17 17:24:25 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2014-03-07 07:06:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2014-09-17 17:24:26.0 +0200 @@ -1,0 +2,26 @@ +Mon Sep 15 09:28:56 UTC 2014 - tbecht...@suse.com + +- update to version 0.9 + * Release 0.9. The heartbleed release. + * Add an updated cacerts.txt file and fix some tests. Turns out nginx doesn't support etags on gzip'd content. + * Merge pull request #259 from snarfed/master + * use socket.getdefaulttimeout() on App Engine as well as off, take 2 + * Merge pull request #258 from snarfed/master + * use socket.getdefaulttimeout() on App Engine as well as off + * Update README.md + * whitespace fix + * Remove redundant README + * Remove unused files. + * Update README.md + * Merge ../httplib2.current + * Update README.md + * Last fixed for markdown. + * Update README.md + * Markdown fixes. + * Moving README over to README.md + * Pass method by name, not positionally. Fixes issue #252. Reviewed in https://codereview.appspot.com/7987046/. + * Fix handling of BadStatusLine. Fixes issue #250. Review in https://codereview.appspot.com/7529045/. + * Clean up tags + * Added tag 0.8 for changeset 427a4ff7b7e4 + +--- Old: httplib2-0.8.tar.gz New: httplib2-0.9.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.Drj0O8/_old 2014-09-17 17:24:27.0 +0200 +++ /var/tmp/diff_new_pack.Drj0O8/_new 2014-09-17 17:24:27.0 +0200 @@ -17,7 +17,7 @@ Name: python-httplib2 -Version:0.8 +Version:0.9 Release:0 Url:http://code.google.com/p/httplib2/ Summary:A Python HTTP client library @@ -63,7 +63,6 @@ %files %defattr(-,root,root) -%doc README %{python_sitelib}/httplib2-%{version}-py%{py_ver}.egg-info %{python_sitelib}/httplib2 ++ 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 python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2014-03-07 07:06:03 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2014-02-26 06:55:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2014-03-07 07:06:04.0 +0100 @@ -1,0 +2,7 @@ +Wed Mar 5 21:21:56 UTC 2014 - rschweik...@suse.com + +- Modify httplib2-use-system-certs.patch to not depend on a generated bundle. + OpenSSL has everything built in to do the cert verification, we do not + need to pass a cert bundle file + +--- Other differences: -- ++ httplib2-use-system-certs.patch ++ --- /var/tmp/diff_new_pack.AcWYnt/_old 2014-03-07 07:06:04.0 +0100 +++ /var/tmp/diff_new_pack.AcWYnt/_new 2014-03-07 07:06:04.0 +0100 @@ -15,7 +15,7 @@ -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'] -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2014-02-26 06:55:02 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2013-12-02 09:53:17.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2014-02-26 06:55:05.0 +0100 @@ -1,0 +2,5 @@ +Thu Feb 13 08:00:00 UTC 2014 - rschweik...@suse.com + +- Include in SLE 12 (FATE #316168) + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.ii7DjO/_old 2014-02-26 06:55:06.0 +0100 +++ /var/tmp/diff_new_pack.ii7DjO/_new 2014-02-26 06:55:06.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-httplib2 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2013-12-02 09:53:15 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2013-08-15 20:03:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2013-12-02 09:53:17.0 +0100 @@ -1,0 +2,7 @@ +Sat Nov 30 10:26:23 UTC 2013 - rschweik...@suse.com + +- SUSE internal build service does not recognize %0{sles_version} + use a different version inidcator to depend on openssl-certs vs + ca-certificates + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.a8xTeL/_old 2013-12-02 09:53:17.0 +0100 +++ /var/tmp/diff_new_pack.a8xTeL/_new 2013-12-02 09:53:17.0 +0100 @@ -32,7 +32,7 @@ BuildRequires: python-devel # Test requirements (for ssl module): #BuildRequires: python -%if 0%{?sles_version} +%if 0%{?suse_version} 0%{?suse_version} = 1110 Requires: openssl-certs %else Requires: ca-certificates -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2013-08-15 20:03:27 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2013-05-02 15:30:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2013-08-15 20:03:32.0 +0200 @@ -1,0 +2,5 @@ +Thu Aug 15 10:06:46 UTC 2013 - speili...@suse.com + +- Drop pre_checkin.sh + +--- Old: pre_checkin.sh Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.raBlJy/_old 2013-08-15 20:03:33.0 +0200 +++ /var/tmp/diff_new_pack.raBlJy/_new 2013-08-15 20:03:33.0 +0200 @@ -64,6 +64,7 @@ %files %defattr(-,root,root) %doc README -%{python_sitelib}/* +%{python_sitelib}/httplib2-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/httplib2 %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2013-06-19 16:38:28 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2 Changes: Old: python3-httplib2.changes python3-httplib2.spec Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2013-05-02 15:30:39 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2 Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2013-03-30 15:00:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2013-05-02 15:30:43.0 +0200 @@ -1,0 +2,6 @@ +Thu May 2 10:23:29 UTC 2013 - speili...@suse.com + +- Add httplib2-bnc-818100.patch (bnc#818100): Fix for subsequent + request SSL certificate validation + +--- --- /work/SRC/openSUSE:Factory/python-httplib2/python3-httplib2.changes 2013-02-25 20:40:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python3-httplib2.changes 2013-05-02 15:30:43.0 +0200 @@ -1,0 +2,6 @@ +Thu May 2 10:23:36 UTC 2013 - speili...@suse.com + +- Add httplib2-bnc-818100.patch (bnc#818100): Fix for subsequent + request SSL certificate validation + +--- New: httplib2-bnc-818100.patch Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.WizFUB/_old 2013-05-02 15:30:44.0 +0200 +++ /var/tmp/diff_new_pack.WizFUB/_new 2013-05-02 15:30:44.0 +0200 @@ -26,6 +26,8 @@ Source: http://pypi.python.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 +Patch1: httplib2-bnc-818100.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel # Test requirements (for ssl module): @@ -48,6 +50,7 @@ %prep %setup -q -n httplib2-%{version} %patch0 -p1 +%patch1 -p1 %build python setup.py build ++ python3-httplib2.spec ++ --- /var/tmp/diff_new_pack.WizFUB/_old 2013-05-02 15:30:44.0 +0200 +++ /var/tmp/diff_new_pack.WizFUB/_new 2013-05-02 15:30:44.0 +0200 @@ -26,6 +26,8 @@ Source: http://pypi.python.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 +Patch1: httplib2-bnc-818100.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel # Test requirements (for ssl module): @@ -44,6 +46,7 @@ %prep %setup -q -n httplib2-%{version} %patch0 -p1 +%patch1 -p1 %build python3 setup.py build ++ httplib2-bnc-818100.patch ++ diff -r 93291649202b python2/httplib2/__init__.py --- a/python2/httplib2/__init__.py Tue Mar 26 14:17:48 2013 -0400 +++ b/python2/httplib2/__init__.py Tue Apr 23 10:32:15 2013 +0300 @@ -1030,7 +1030,7 @@ raise CertificateHostnameMismatch( 'Server presented certificate that does not match ' 'host %s: %s' % (hostname, cert), hostname, cert) -except ssl_SSLError, e: +except (ssl_SSLError, CertificateHostnameMismatch), e: if sock: sock.close() if self.sock: @@ -1040,7 +1040,7 @@ # to get at more detailed error information, in particular # whether the error is due to certificate validation or # something else (such as SSL protocol mismatch). -if e.errno == ssl.SSL_ERROR_SSL: +if hasattr(e, 'errno') and e.errno == ssl.SSL_ERROR_SSL: raise SSLHandshakeError(e) else: raise -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2013-03-30 15:00:05 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2013-02-25 20:40:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2013-03-30 15:00:07.0 +0100 @@ -1,0 +2,6 @@ +Fri Mar 22 13:30:17 UTC 2013 - speili...@suse.com + +- Update to version 0.8: + + Improved App Engine behavior + +--- Old: httplib2-0.7.7.tar.gz New: httplib2-0.8.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.oLX1U7/_old 2013-03-30 15:00:08.0 +0100 +++ /var/tmp/diff_new_pack.oLX1U7/_new 2013-03-30 15:00:08.0 +0100 @@ -15,20 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define mod_name httplib2 Name: python-httplib2 -Version:0.7.7 +Version:0.8 Release:0 Url:http://code.google.com/p/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 -Source0:%{mod_name}-%{version}.tar.gz +Source: http://pypi.python.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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +# Test requirements (for ssl module): +#BuildRequires: python %if 0%{?sles_version} Requires: openssl-certs %else @@ -45,7 +46,7 @@ left out of other HTTP libraries. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n httplib2-%{version} %patch0 -p1 %build ++ python3-httplib2.spec ++ --- /var/tmp/diff_new_pack.oLX1U7/_old 2013-03-30 15:00:08.0 +0100 +++ /var/tmp/diff_new_pack.oLX1U7/_new 2013-03-30 15:00:08.0 +0100 @@ -1,5 +1,5 @@ # -# spec file for package python-httplib2 +# spec file for package python3-httplib2 # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,37 +15,34 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define mod_name httplib2 Name: python3-httplib2 -Version:0.7.7 +Version:0.8 Release:0 Url:http://code.google.com/p/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 -Source0:%{mod_name}-%{version}.tar.gz +Source: http://pypi.python.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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel +# Test requirements (for ssl module): +#BuildRequires: python3 %if 0%{?sles_version} Requires: openssl-certs %else Requires: ca-certificates %endif -%if 0%{?suse_version} 0%{?suse_version} = 1110 -%{!?python3_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} -%else BuildArch: noarch -%endif %description A comprehensive HTTP client library that supports many features left out of other HTTP libraries. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n httplib2-%{version} %patch0 -p1 %build @@ -55,7 +52,7 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} #%%check -#python python2/httplib2test.py +#python3 python3/httplib2test.py %files %defattr(-,root,root) ++ httplib2-0.7.7.tar.gz - httplib2-0.8.tar.gz ++ 2789 lines of diff (skipped) ++ httplib2-use-system-certs.patch ++ --- /var/tmp/diff_new_pack.oLX1U7/_old 2013-03-30 15:00:08.0 +0100 +++ /var/tmp/diff_new_pack.oLX1U7/_new 2013-03-30 15:00:08.0 +0100 @@ -1,41 +1,42 @@ -Only in a/python2/httplib2: cacerts.txt -diff -ru a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py a/python2/httplib2/__init__.py 2012-03-02 21:12:34.0 +0100 -+++ b/python2/httplib2/__init__.py 2012-06-20 13:30:39.524140796 +0200 -@@ -180,9 +180,8 @@ +diff -ruN
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2012-10-08 20:33:48 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2012-09-11 11:37:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2012-10-08 20:33:49.0 +0200 @@ -1,0 +2,9 @@ +Sat Oct 6 22:26:47 UTC 2012 - os-...@jacraig.com + +- Update to 0.7.6: + * Fix app engine + * On Python App Engine 2.7 a body can be passed in that is actually a +stream. Do a full read of the contents of that stream before proceeding. +- Update URL to one given in setup.py; also where the old one redirects to. + +--- Old: httplib2-0.7.5.tar.gz New: httplib2-0.7.6.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.H2wk2X/_old 2012-10-08 20:33:50.0 +0200 +++ /var/tmp/diff_new_pack.H2wk2X/_new 2012-10-08 20:33:50.0 +0200 @@ -17,9 +17,9 @@ Name: python-httplib2 -Version:0.7.5 +Version:0.7.6 Release:0 -Url:http://bitworking.org/projects/httplib2/ +Url:http://code.google.com/p/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 ++ httplib2-0.7.5.tar.gz - httplib2-0.7.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.7.5/MANIFEST.in new/httplib2-0.7.6/MANIFEST.in --- old/httplib2-0.7.5/MANIFEST.in 2012-08-28 19:10:39.0 +0200 +++ new/httplib2-0.7.6/MANIFEST.in 1970-01-01 01:00:00.0 +0100 @@ -1,3 +0,0 @@ -recursive-include python2 *.py *.txt -recursive-include python3 *.py *.txt -include python2/httplib2/test/*.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.7.5/PKG-INFO new/httplib2-0.7.6/PKG-INFO --- old/httplib2-0.7.5/PKG-INFO 2012-08-28 19:10:39.0 +0200 +++ new/httplib2-0.7.6/PKG-INFO 2012-09-11 19:22:03.0 +0200 @@ -1,12 +1,12 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: httplib2 -Version: 0.7.5 +Version: 0.7.6 Summary: A comprehensive HTTP client library. Home-page: http://code.google.com/p/httplib2/ Author: Joe Gregorio Author-email: j...@bitworking.org License: MIT -Download-URL: http://httplib2.googlecode.com/files/httplib2-0.7.5.tar.gz +Download-URL: http://httplib2.googlecode.com/files/httplib2-0.7.6.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.7.5/python2/httplib2/__init__.py new/httplib2-0.7.6/python2/httplib2/__init__.py --- old/httplib2-0.7.5/python2/httplib2/__init__.py 2012-08-28 19:10:39.0 +0200 +++ new/httplib2-0.7.6/python2/httplib2/__init__.py 2012-09-11 19:22:02.0 +0200 @@ -22,7 +22,7 @@ Sam Ruby, Louis Nyffenegger] __license__ = MIT -__version__ = 0.7.5 +__version__ = 0.7.6 import re import sys @@ -1102,6 +1102,10 @@ netloc = '%s:%s' % (self.host, self.port) absolute_uri = '%s://%s%s' % (self.scheme, netloc, url) try: +try: # 'body' can be a stream. + body = body.read() +except AttributeError: + pass response = fetch(absolute_uri, payload=body, method=method, headers=headers, allow_truncated=False, follow_redirects=False, deadline=self.timeout, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.7.5/python2/httplib2.egg-info/PKG-INFO new/httplib2-0.7.6/python2/httplib2.egg-info/PKG-INFO --- old/httplib2-0.7.5/python2/httplib2.egg-info/PKG-INFO 2012-08-28 19:10:39.0 +0200 +++ new/httplib2-0.7.6/python2/httplib2.egg-info/PKG-INFO 1970-01-01 01:00:00.0 +0100 @@ -1,64 +0,0 @@ -Metadata-Version: 1.0 -Name: httplib2 -Version: 0.7.5 -Summary: A comprehensive HTTP client library. -Home-page: http://code.google.com/p/httplib2/ -Author: Joe Gregorio -Author-email: j...@bitworking.org -License: MIT -Download-URL: http://httplib2.googlecode.com/files/httplib2-0.7.5.tar.gz -Description: - -A comprehensive HTTP client library, ``httplib2`` supports
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2012-07-24 15:33:49 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2012-07-17 13:14:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2012-07-24 17:20:28.0 +0200 @@ -1,0 +2,5 @@ +Mon Jul 23 14:56:00 UTC 2012 - sasc...@suse.de + +- Require openssl-certs on SLE instead of ca-certificates + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.2fIe2p/_old 2012-07-24 17:20:30.0 +0200 +++ /var/tmp/diff_new_pack.2fIe2p/_new 2012-07-24 17:20:30.0 +0200 @@ -29,7 +29,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel #BuildRequires: python-pyOpenSSL +%if 0%{?sles_version} +Requires: openssl-certs +%else Requires: ca-certificates +%endif Requires: python-pyOpenSSL %if 0%{?suse_version} 0%{?suse_version} = 1110 %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2012-07-17 13:14:54 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2012-07-09 18:34:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2012-07-17 13:14:56.0 +0200 @@ -1,0 +2,6 @@ +Tue Jul 17 08:24:44 UTC 2012 - sasc...@suse.de + +- Add missing runtime requirement on python-pyOpenSSL to gain + access to 'ssl' module + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.3HyDOt/_old 2012-07-17 13:14:57.0 +0200 +++ /var/tmp/diff_new_pack.3HyDOt/_new 2012-07-17 13:14:57.0 +0200 @@ -28,7 +28,9 @@ Patch0: httplib2-use-system-certs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +#BuildRequires: python-pyOpenSSL Requires: ca-certificates +Requires: python-pyOpenSSL %if 0%{?suse_version} 0%{?suse_version} = 1110 %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %else @@ -49,6 +51,9 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +#%%check +#python python2/httplib2test.py + %files %defattr(-,root,root) %doc README -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2012-07-09 18:34:37 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2012-06-25 12:44:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2012-07-09 18:34:38.0 +0200 @@ -1,0 +2,7 @@ +Mon Jul 9 08:47:20 UTC 2012 - cfarr...@suse.com + +- license update: MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+) + __init__.py contains code derived from a Google owned Apache project. + cacerts.txt is Mozilla triple-licensed. + +--- Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.i4Gjpf/_old 2012-07-09 18:34:42.0 +0200 +++ /var/tmp/diff_new_pack.i4Gjpf/_new 2012-07-09 18:34:42.0 +0200 @@ -21,7 +21,7 @@ Release:0 Url:http://bitworking.org/projects/httplib2/ Summary:A Python HTTP client library -License:MIT +License:MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+) Group: Development/Libraries/Python Source0:httplib2-%{version}.tar.gz # PATCH-FIX-OPENSUSE: Don't ship private copy of Mozilla NSS certs, use system certs instead (bnc#761162) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2012-06-25 12:44:50 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2012-06-06 16:09:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2012-06-25 12:44:52.0 +0200 @@ -1,0 +2,6 @@ +Wed Jun 20 11:41:56 UTC 2012 - sasc...@suse.de + +- Don't ship private copy of Mozilla NSS certs, use system certs + instead (bnc#761162) + +--- New: httplib2-use-system-certs.patch Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.crOfE5/_old 2012-06-25 12:44:53.0 +0200 +++ /var/tmp/diff_new_pack.crOfE5/_new 2012-06-25 12:44:53.0 +0200 @@ -24,14 +24,16 @@ License:MIT Group: Development/Libraries/Python Source0: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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} 1110 +Requires: ca-certificates +%if 0%{?suse_version} 0%{?suse_version} = 1110 +%{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} +%else BuildArch: noarch %endif -%endif %description A comprehensive HTTP client library that supports many features @@ -39,15 +41,17 @@ %prep %setup -q -n httplib2-%{version} +%patch0 -p1 %build python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%files -f INSTALLED_FILES +%files %defattr(-,root,root) -%doc CHANGELOG README +%doc README +%{python_sitelib}/* %changelog ++ httplib2-use-system-certs.patch ++ Only in a/python2/httplib2: cacerts.txt diff -ru a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py --- a/python2/httplib2/__init__.py 2012-03-02 21:12:34.0 +0100 +++ b/python2/httplib2/__init__.py 2012-06-20 13:30:39.524140796 +0200 @@ -180,9 +180,8 @@ # requesting that URI again. DEFAULT_MAX_REDIRECTS = 5 -# Default CA certificates file bundled with httplib2. -CA_CERTS = os.path.join( -os.path.dirname(os.path.abspath(__file__ )), cacerts.txt) +# Use system-wide CA certificates: +CA_CERTS = '/etc/ssl/ca-bundle.pem' # Which headers are hop-by-hop headers by default HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] Only in b/python2/httplib2: .__init__.py.swp Only in a/python3/httplib2: cacerts.txt diff -ru a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py --- a/python3/httplib2/__init__.py 2012-03-02 21:12:34.0 +0100 +++ b/python3/httplib2/__init__.py 2012-06-20 13:30:22.156140376 +0200 @@ -119,9 +119,8 @@ # Which headers are hop-by-hop headers by default 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) +# Use system-wide CA certificates: +CA_CERTS = '/etc/ssl/ca-bundle.pem' def _get_end2end_headers(response): hopbyhop = list(HOP_BY_HOP) Only in b/python3/httplib2: .__init__.py.swp diff -ru a/setup.py b/setup.py --- a/setup.py 2012-03-02 21:12:34.0 +0100 +++ b/setup.py 2012-06-20 13:28:26.560137617 +0200 @@ -63,7 +63,6 @@ , package_dir=pkgdir, packages=['httplib2'], -package_data={'httplib2': ['*.txt']}, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2012-06-06 16:09:25 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2011-12-25 17:40:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2012-06-06 16:09:36.0 +0200 @@ -1,0 +2,6 @@ +Tue Jun 5 09:56:01 UTC 2012 - csten...@opensuse.org + +- update to version 0.7.4 + * See CHANGELOG for all changes and fixes + +--- Old: httplib2-0.7.2.tar.gz New: httplib2-0.7.4.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.xDMLk5/_old 2012-06-06 16:09:39.0 +0200 +++ /var/tmp/diff_new_pack.xDMLk5/_new 2012-06-06 16:09:39.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-httplib2 # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,46 +15,36 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: python-httplib2 -BuildRequires: python-devel -Summary:A Python HTTP library -Version:0.7.2 +Version:0.7.4 Release:0 -Source0:httplib2-%{version}.tar.gz +Url:http://bitworking.org/projects/httplib2/ +Summary:A Python HTTP client library License:MIT Group: Development/Libraries/Python +Source0:httplib2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url:http://bitworking.org/projects/httplib2/ -%define prefix /usr +BuildRequires: python-devel +%if 0%{?suse_version} %py_requires -%if %{?suse_version: %{suse_version} 1110} %{!?suse_version:1} +%if 0%{?suse_version} 1110 BuildArch: noarch %endif +%endif %description -A comprehensive python HTTP client library, which supports many -features left out of other HTTP libraries. - - - -Authors: - -Joe Gregorio j...@bitworking.org +A comprehensive HTTP client library that supports many features +left out of other HTTP libraries. %prep %setup -q -n httplib2-%{version} %build -CFLAGS=$RPM_OPT_FLAGS python setup.py build +python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES - -%clean -rm -rf $RPM_BUILD_ROOT +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES %files -f INSTALLED_FILES %defattr(-,root,root) ++ httplib2-0.7.2.tar.gz - httplib2-0.7.4.tar.gz ++ 1913 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2011-12-06 18:56:01 Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) Package is python-httplib2, Maintainer is csten...@suse.com Changes: Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.xYHF4x/_old 2011-12-06 19:29:18.0 +0100 +++ /var/tmp/diff_new_pack.xYHF4x/_new 2011-12-06 19:29:18.0 +0100 @@ -24,7 +24,7 @@ Version:0.7.1 Release:1 Source0:httplib2-%{version}.tar.gz -License:MIT License (or similar) +License:MIT Group: Development/Libraries/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Url:http://bitworking.org/projects/httplib2/ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-httplib2 for openSUSE:Factory
Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at Mon Jul 11 15:57:52 CEST 2011. --- python-httplib2/python-httplib2.changes 2010-04-19 13:53:52.0 +0200 +++ /mounts/work_src_done/STABLE/python-httplib2/python-httplib2.changes 2011-07-11 14:57:39.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 11 14:06:42 CEST 2011 - csten...@suse.de + +- updated to version 0.7.1 + * See CHANGELOG for all changes and fixes + +--- calling whatdependson for head-i586 Old: httplib2-0.6.0.tar.bz2 New: httplib2-0.7.1.tar.gz Other differences: -- ++ python-httplib2.spec ++ --- /var/tmp/diff_new_pack.WCsKrF/_old 2011-07-11 15:55:33.0 +0200 +++ /var/tmp/diff_new_pack.WCsKrF/_new 2011-07-11 15:55:33.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-httplib2 (Version 0.6.0) +# spec file for package python-httplib2 # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -21,9 +21,9 @@ Name: python-httplib2 BuildRequires: python-devel Summary:A Python HTTP library -Version:0.6.0 +Version:0.7.1 Release:1 -Source0:httplib2-%{version}.tar.bz2 +Source0:httplib2-%{version}.tar.gz License:MIT License (or similar) Group: Development/Libraries/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org