Hello community,

here is the log from the commit of package python-wsgi_intercept for 
openSUSE:Factory checked in at 2017-07-04 13:40:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
 and      /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wsgi_intercept"

Tue Jul  4 13:40:50 2017 rev:14 rq:495323 version:1.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes  
    2016-09-30 15:33:47.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-wsgi_intercept.new/python-wsgi_intercept.changes
 2017-07-04 13:40:51.423395372 +0200
@@ -1,0 +2,6 @@
+Tue May 16 12:41:43 UTC 2017 - dmuel...@suse.com
+
+- update to 1.5.0:
+  * compatibility fixes
+
+-------------------------------------------------------------------

Old:
----
  wsgi_intercept-1.4.1.tar.gz

New:
----
  wsgi_intercept-1.5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.mUCqyN/_old  2017-07-04 13:40:52.287273729 +0200
+++ /var/tmp/diff_new_pack.mUCqyN/_new  2017-07-04 13:40:52.287273729 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wsgi_intercept
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:           python-wsgi_intercept
-Version:        1.4.1
+Version:        1.5.0
 Release:        0
 Summary:        Installs a WSGI application in place of a real URI for testing
 License:        MIT

++++++ wsgi_intercept-1.4.1.tar.gz -> wsgi_intercept-1.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.4.1/PKG-INFO 
new/wsgi_intercept-1.5.0/PKG-INFO
--- old/wsgi_intercept-1.4.1/PKG-INFO   2016-09-27 11:58:12.000000000 +0200
+++ new/wsgi_intercept-1.5.0/PKG-INFO   2017-03-06 18:49:49.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: wsgi_intercept
-Version: 1.4.1
+Version: 1.5.0
 Summary: wsgi_intercept installs a WSGI application in place of a real URI for 
testing.
 Home-page: http://pypi.python.org/pypi/wsgi_intercept
 Author: Titus Brown, Kumar McMillan, Chris Dent, Sasha Hart
@@ -123,7 +123,7 @@
         The Python 2 version of wsgi-intercept was the result. Kumar McMillan
         later took over maintenance.
         
-        The current version is tested with Python 2.7, 3.3, 3.4, 3.5 and pypy
+        The current version is tested with Python 2.7, 3.3, 3.4, 3.5, 3.6, and 
pypy
         and was assembled by `Chris Dent`_. Testing and documentation 
improvements
         from `Sasha Hart`_.
         
@@ -157,5 +157,6 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
 Classifier: Topic :: Software Development :: Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.4.1/README 
new/wsgi_intercept-1.5.0/README
--- old/wsgi_intercept-1.4.1/README     2016-09-27 11:58:06.000000000 +0200
+++ new/wsgi_intercept-1.5.0/README     2017-03-06 18:49:42.000000000 +0100
@@ -115,7 +115,7 @@
 The Python 2 version of wsgi-intercept was the result. Kumar McMillan
 later took over maintenance.
 
-The current version is tested with Python 2.7, 3.3, 3.4, 3.5 and pypy
+The current version is tested with Python 2.7, 3.3, 3.4, 3.5, 3.6, and pypy
 and was assembled by `Chris Dent`_. Testing and documentation improvements
 from `Sasha Hart`_.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.4.1/docs/httplib2.rst 
new/wsgi_intercept-1.5.0/docs/httplib2.rst
--- old/wsgi_intercept-1.4.1/docs/httplib2.rst  2015-12-28 13:23:56.000000000 
+0100
+++ new/wsgi_intercept-1.5.0/docs/httplib2.rst  2017-03-05 15:07:23.000000000 
+0100
@@ -3,6 +3,11 @@
 
 .. automodule:: wsgi_intercept.httplib2_intercept
 
+.. note:: No effort is made to pass SSL certificate or version
+          information to the the underlying ``HTTPSConnection``. The
+          assumption is that wsgi-intercept is testing the behavior
+          of the application, not the connection.
+
 Example:
 
 .. testcode:: 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.4.1/setup.py 
new/wsgi_intercept-1.5.0/setup.py
--- old/wsgi_intercept-1.4.1/setup.py   2016-09-27 11:54:40.000000000 +0200
+++ new/wsgi_intercept-1.5.0/setup.py   2017-03-06 18:42:37.000000000 +0100
@@ -1,7 +1,7 @@
 
 from setuptools import setup, find_packages
 
-VERSION = '1.4.1'
+VERSION = '1.5.0'
 
 CLASSIFIERS = """
 Environment :: Web Environment
@@ -14,6 +14,7 @@
 Programming Language :: Python :: 3.3
 Programming Language :: Python :: 3.4
 Programming Language :: Python :: 3.5
+Programming Language :: Python :: 3.6
 Topic :: Internet :: WWW/HTTP :: WSGI
 Topic :: Software Development :: Testing
 """.strip().splitlines()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.4.1/wsgi_intercept/__init__.py 
new/wsgi_intercept-1.5.0/wsgi_intercept/__init__.py
--- old/wsgi_intercept-1.4.1/wsgi_intercept/__init__.py 2016-09-27 
11:44:15.000000000 +0200
+++ new/wsgi_intercept-1.5.0/wsgi_intercept/__init__.py 2017-03-06 
18:42:19.000000000 +0100
@@ -115,7 +115,7 @@
 The Python 2 version of wsgi-intercept was the result. Kumar McMillan
 later took over maintenance.
 
-The current version is tested with Python 2.7, 3.3, 3.4, 3.5 and pypy
+The current version is tested with Python 2.7, 3.3, 3.4, 3.5, 3.6, and pypy
 and was assembled by `Chris Dent`_. Testing and documentation improvements
 from `Sasha Hart`_.
 
@@ -487,7 +487,7 @@
                 for data in self.write_results:
                     self.output.write(data)
 
-            if generator_data:
+            if generator_data is not None:
                 try:
                     self.output.write(generator_data)
                 except TypeError as exc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.4.1/wsgi_intercept/httplib2_intercept.py 
new/wsgi_intercept-1.5.0/wsgi_intercept/httplib2_intercept.py
--- old/wsgi_intercept-1.4.1/wsgi_intercept/httplib2_intercept.py       
2016-01-22 15:40:23.000000000 +0100
+++ new/wsgi_intercept-1.5.0/wsgi_intercept/httplib2_intercept.py       
2017-03-05 14:07:19.000000000 +0100
@@ -32,7 +32,8 @@
         HTTPSConnectionWithTimeout):
     def __init__(self, host, port=None, strict=None, timeout=None,
             proxy_info=None, ca_certs=None, source_address=None,
-            disable_ssl_certificate_validation=False):
+            disable_ssl_certificate_validation=False,
+            ssl_version=None):
 
         # ignore proxy_info and ca_certs
         # In Python3 strict is deprecated
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.4.1/wsgi_intercept/tests/test_response_headers.py 
new/wsgi_intercept-1.5.0/wsgi_intercept/tests/test_response_headers.py
--- old/wsgi_intercept-1.4.1/wsgi_intercept/tests/test_response_headers.py      
2016-09-27 11:44:15.000000000 +0200
+++ new/wsgi_intercept-1.5.0/wsgi_intercept/tests/test_response_headers.py      
2017-03-06 18:41:21.000000000 +0100
@@ -28,7 +28,7 @@
         for header in self.headers:
             headers.append((header, self.headers[header]))
         start_response('200 OK', headers)
-        return ['']
+        return [b'']
 
 
 def app(headers):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.4.1/wsgi_intercept/tests/test_wsgi_compliance.py 
new/wsgi_intercept-1.5.0/wsgi_intercept/tests/test_wsgi_compliance.py
--- old/wsgi_intercept-1.4.1/wsgi_intercept/tests/test_wsgi_compliance.py       
2016-09-23 13:57:20.000000000 +0200
+++ new/wsgi_intercept-1.5.0/wsgi_intercept/tests/test_wsgi_compliance.py       
2017-03-06 18:41:21.000000000 +0100
@@ -105,3 +105,12 @@
             'http://some_hopefully_nonexistant_domain/', 'GET')
         assert app.success()
         assert resp.get('content-type') == 'text/plain'
+
+
+def test_empty_iterator():
+    with InstalledApp(wsgi_app.empty_string_app, host=HOST) as app:
+        http = httplib2.Http()
+        resp, content = http.request(
+            'http://some_hopefully_nonexistant_domain/', 'GET')
+        assert app.success()
+        assert content == b'second'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.4.1/wsgi_intercept/tests/wsgi_app.py 
new/wsgi_intercept-1.5.0/wsgi_intercept/tests/wsgi_app.py
--- old/wsgi_intercept-1.4.1/wsgi_intercept/tests/wsgi_app.py   2016-09-27 
11:26:33.000000000 +0200
+++ new/wsgi_intercept-1.5.0/wsgi_intercept/tests/wsgi_app.py   2017-03-06 
18:41:21.000000000 +0100
@@ -32,3 +32,8 @@
 
 def raises_app(environ, start_response):
     raise TypeError("bah")
+
+
+def empty_string_app(environ, start_response):
+    start_response('200 OK', [('Content-type', 'text/plain')])
+    return [b'', b'second']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.4.1/wsgi_intercept.egg-info/PKG-INFO 
new/wsgi_intercept-1.5.0/wsgi_intercept.egg-info/PKG-INFO
--- old/wsgi_intercept-1.4.1/wsgi_intercept.egg-info/PKG-INFO   2016-09-27 
11:58:11.000000000 +0200
+++ new/wsgi_intercept-1.5.0/wsgi_intercept.egg-info/PKG-INFO   2017-03-06 
18:49:48.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: wsgi-intercept
-Version: 1.4.1
+Version: 1.5.0
 Summary: wsgi_intercept installs a WSGI application in place of a real URI for 
testing.
 Home-page: http://pypi.python.org/pypi/wsgi_intercept
 Author: Titus Brown, Kumar McMillan, Chris Dent, Sasha Hart
@@ -123,7 +123,7 @@
         The Python 2 version of wsgi-intercept was the result. Kumar McMillan
         later took over maintenance.
         
-        The current version is tested with Python 2.7, 3.3, 3.4, 3.5 and pypy
+        The current version is tested with Python 2.7, 3.3, 3.4, 3.5, 3.6, and 
pypy
         and was assembled by `Chris Dent`_. Testing and documentation 
improvements
         from `Sasha Hart`_.
         
@@ -157,5 +157,6 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
 Classifier: Topic :: Software Development :: Testing


Reply via email to