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 "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2012-09-11 11:37:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2012-10-08 20:33:49.000000000 +0200 @@ -1,0 +2,9 @@ +Sat Oct 6 22:26:47 UTC 2012 - [email protected] + +- 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.000000000 +0200 +++ /var/tmp/diff_new_pack.H2wk2X/_new 2012-10-08 20:33:50.000000000 +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.000000000 +0200 +++ new/httplib2-0.7.6/MANIFEST.in 1970-01-01 01:00:00.000000000 +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.000000000 +0200 +++ new/httplib2-0.7.6/PKG-INFO 2012-09-11 19:22:03.000000000 +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: [email protected] 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.000000000 +0200 +++ new/httplib2-0.7.6/python2/httplib2/__init__.py 2012-09-11 19:22:02.000000000 +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.000000000 +0200 +++ new/httplib2-0.7.6/python2/httplib2.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +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: [email protected] -License: MIT -Download-URL: http://httplib2.googlecode.com/files/httplib2-0.7.5.tar.gz -Description: - - A comprehensive HTTP client library, ``httplib2`` supports many features left out of other HTTP libraries. - - **HTTP and HTTPS** - HTTPS support is only available if the socket module was compiled with SSL support. - - - **Keep-Alive** - Supports HTTP 1.1 Keep-Alive, keeping the socket open and performing multiple requests over the same connection if possible. - - - **Authentication** - The following three types of HTTP Authentication are supported. These can be used over both HTTP and HTTPS. - - * Digest - * Basic - * WSSE - - **Caching** - The module can optionally operate with a private cache that understands the Cache-Control: - header and uses both the ETag and Last-Modified cache validators. Both file system - and memcached based caches are supported. - - - **All Methods** - The module can handle any HTTP request method, not just GET and POST. - - - **Redirects** - Automatically follows 3XX redirects on GETs. - - - **Compression** - Handles both 'deflate' and 'gzip' types of compression. - - - **Lost update support** - Automatically adds back ETags into PUT requests to resources we have already cached. This implements Section 3.2 of Detecting the Lost Update Problem Using Unreserved Checkout - - - **Unit Tested** - A large and growing set of unit tests. - - -Platform: UNKNOWN -Classifier: Development Status :: 4 - Beta -Classifier: Environment :: Web Environment -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Topic :: Internet :: WWW/HTTP -Classifier: Topic :: Software Development :: Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.7.5/python2/httplib2.egg-info/SOURCES.txt new/httplib2-0.7.6/python2/httplib2.egg-info/SOURCES.txt --- old/httplib2-0.7.5/python2/httplib2.egg-info/SOURCES.txt 2012-08-28 19:10:39.000000000 +0200 +++ new/httplib2-0.7.6/python2/httplib2.egg-info/SOURCES.txt 2012-09-11 19:22:02.000000000 +0200 @@ -4,7 +4,6 @@ python2/httplib2test.py python2/httplib2test_appengine.py python2/httplib2/__init__.py -python2/httplib2/cacerts.txt python2/httplib2/iri2uri.py python2/httplib2/socks.py python2/httplib2.egg-info/PKG-INFO @@ -20,6 +19,4 @@ python2/httplib2/test/functional/test_proxies.py python3/httplib2test.py python3/httplib2/__init__.py -python3/httplib2/cacerts.txt -python3/httplib2/iri2uri.py -python3/httplib2/test/other_cacerts.txt \ No newline at end of file +python3/httplib2/iri2uri.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.7.5/python3/httplib2/__init__.py new/httplib2-0.7.6/python3/httplib2/__init__.py --- old/httplib2-0.7.5/python3/httplib2/__init__.py 2012-08-28 19:10:39.000000000 +0200 +++ new/httplib2-0.7.6/python3/httplib2/__init__.py 2012-09-11 19:22:02.000000000 +0200 @@ -24,7 +24,7 @@ "Louis Nyffenegger", "Mark Pilgrim"] __license__ = "MIT" -__version__ = "0.7.5" +__version__ = "0.7.6" import re import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.7.5/setup.cfg new/httplib2-0.7.6/setup.cfg --- old/httplib2-0.7.5/setup.cfg 2012-08-28 19:10:39.000000000 +0200 +++ new/httplib2-0.7.6/setup.cfg 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -[egg_info] -tag_build = -tag_date = 0 -tag_svn_revision = 0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/httplib2-0.7.5/setup.py new/httplib2-0.7.6/setup.py --- old/httplib2-0.7.5/setup.py 2012-08-28 19:10:39.000000000 +0200 +++ new/httplib2-0.7.6/setup.py 2012-09-11 19:22:02.000000000 +0200 @@ -5,7 +5,7 @@ import sys pkgdir = {'': 'python%s' % sys.version_info[0]} -VERSION = '0.7.5' +VERSION = '0.7.6' setup(name='httplib2', version=VERSION, -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
