Hello community,

here is the log from the commit of package python-Paste for openSUSE:Factory 
checked in at 2019-03-08 11:00:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Paste (Old)
 and      /work/SRC/openSUSE:Factory/.python-Paste.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Paste"

Fri Mar  8 11:00:51 2019 rev:20 rq:681893 version:3.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Paste/python-Paste.changes        
2019-01-03 18:09:31.851985298 +0100
+++ /work/SRC/openSUSE:Factory/.python-Paste.new.28833/python-Paste.changes     
2019-03-08 11:00:52.996545764 +0100
@@ -1,0 +2,12 @@
+Tue Mar  5 19:12:58 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Do not bother with sphinx docu, it is online anyway
+
+-------------------------------------------------------------------
+Tue Mar  5 17:00:52 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 3.0.7:
+  * Write bytestrings when calling wsgi_write_chunk
+  * Revert "Remove use of OpenSSL.tsafe, which links to OpenSSL.SSL
+
+-------------------------------------------------------------------

Old:
----
  Paste-3.0.5.tar.gz

New:
----
  Paste-3.0.7.tar.gz

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

Other differences:
------------------
++++++ python-Paste.spec ++++++
--- /var/tmp/diff_new_pack.Ac03jf/_old  2019-03-08 11:00:53.524545679 +0100
+++ /var/tmp/diff_new_pack.Ac03jf/_new  2019-03-08 11:00:53.528545679 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-Paste
-Version:        3.0.5
+Version:        3.0.7
 Release:        0
 Summary:        Tools for using a Web Server Gateway Interface stack
 License:        MIT
@@ -32,8 +32,6 @@
 BuildRequires:  %{python_module six > 1.4.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# Documentation build requirements:
-BuildRequires:  python3-Sphinx
 Requires:       python-six > 1.4.0
 BuildArch:      noarch
 Suggests:       python-flup
@@ -60,7 +58,6 @@
 
 %build
 %python_build
-python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
 
 %install
 %python_install
@@ -71,7 +68,7 @@
 
 %files %{python_files}
 %license docs/license.txt
-%doc build/sphinx/html/
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog

++++++ Paste-3.0.5.tar.gz -> Paste-3.0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.0.5/PKG-INFO new/Paste-3.0.7/PKG-INFO
--- old/Paste-3.0.5/PKG-INFO    2018-11-29 12:24:28.000000000 +0100
+++ new/Paste-3.0.7/PKG-INFO    2019-02-28 17:00:46.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Paste
-Version: 3.0.5
+Version: 3.0.7
 Summary: Tools for using a Web Server Gateway Interface stack
 Home-page: https://pythonpaste.readthedocs.io/
 Author: Chris Dent
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.0.5/Paste.egg-info/PKG-INFO 
new/Paste-3.0.7/Paste.egg-info/PKG-INFO
--- old/Paste-3.0.5/Paste.egg-info/PKG-INFO     2018-11-29 12:24:27.000000000 
+0100
+++ new/Paste-3.0.7/Paste.egg-info/PKG-INFO     2019-02-28 17:00:45.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Paste
-Version: 3.0.5
+Version: 3.0.7
 Summary: Tools for using a Web Server Gateway Interface stack
 Home-page: https://pythonpaste.readthedocs.io/
 Author: Chris Dent
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.0.5/docs/news.txt 
new/Paste-3.0.7/docs/news.txt
--- old/Paste-3.0.5/docs/news.txt       2018-11-29 12:23:10.000000000 +0100
+++ new/Paste-3.0.7/docs/news.txt       2019-02-28 16:46:14.000000000 +0100
@@ -3,6 +3,17 @@
 
 .. contents::
 
+3.0.7
+-----
+
+* Send bytestrings when writing chunks from ``paste/httpserver.py``.
+
+3.0.6
+-----
+
+* Revert the changes in the 3.0.5, which introduced unexpected errors in
+  ``paste/httpserver.py`` when using SSL.
+
 3.0.5
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.0.5/paste/httpserver.py 
new/Paste-3.0.7/paste/httpserver.py
--- old/Paste-3.0.5/paste/httpserver.py 2018-11-29 12:19:34.000000000 +0100
+++ new/Paste-3.0.7/paste/httpserver.py 2019-02-28 16:40:34.000000000 +0100
@@ -306,7 +306,7 @@
                 for chunk in result:
                     self.wsgi_write_chunk(chunk)
                 if not self.wsgi_headers_sent:
-                    self.wsgi_write_chunk('')
+                    self.wsgi_write_chunk(b'')
             finally:
                 if hasattr(result,'close'):
                     result.close()
@@ -321,7 +321,7 @@
                     '500 Internal Server Error',
                     [('Content-type', 'text/plain'),
                      ('Content-length', str(len(error_msg)))])
-                self.wsgi_write_chunk("Internal Server Error\n")
+                self.wsgi_write_chunk(b"Internal Server Error\n")
             raise
 
 #
@@ -331,7 +331,7 @@
 # http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/442473
 #
 try:
-    from OpenSSL import SSL
+    from OpenSSL import SSL, tsafe
     SocketErrors = (socket.error, SSL.ZeroReturnError, SSL.SysCallError)
 except ImportError:
     # Do not require pyOpenSSL to be installed, but disable SSL
@@ -379,7 +379,7 @@
                                         self.socket_type)
             self.ssl_context = ssl_context
             if ssl_context:
-                class SSLConnection(SSL.Connection):
+                class TSafeConnection(tsafe.Connection):
                     def settimeout(self, *args):
                         self._lock.acquire()
                         try:
@@ -392,7 +392,7 @@
                             return self._ssl_conn.gettimeout()
                         finally:
                             self._lock.release()
-                self.socket = SSLConnection(ssl_context, self.socket)
+                self.socket = TSafeConnection(ssl_context, self.socket)
             self.server_bind()
             if request_queue_size:
                 self.socket.listen(request_queue_size)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.0.5/setup.py new/Paste-3.0.7/setup.py
--- old/Paste-3.0.5/setup.py    2018-11-29 12:22:24.000000000 +0100
+++ new/Paste-3.0.7/setup.py    2019-02-28 16:45:24.000000000 +0100
@@ -12,7 +12,7 @@
 # - git push
 # - python setup.py sdist bdist_wheel upload --sign
 
-__version__ = '3.0.5'
+__version__ = '3.0.7'
 
 from setuptools import setup, find_packages
 import sys, os


Reply via email to