Hello community, here is the log from the commit of package python-Paste for openSUSE:Factory checked in at 2020-01-01 14:58:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Paste (Old) and /work/SRC/openSUSE:Factory/.python-Paste.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Paste" Wed Jan 1 14:58:03 2020 rev:25 rq:758637 version:3.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Paste/python-Paste.changes 2019-11-04 17:04:31.980141043 +0100 +++ /work/SRC/openSUSE:Factory/.python-Paste.new.6675/python-Paste.changes 2020-01-01 14:58:26.885935794 +0100 @@ -1,0 +2,7 @@ +Fri Dec 20 19:27:02 UTC 2019 - Dirk Mueller <[email protected]> + +- update to 3.2.3: + * Correct ``100 Continue`` in Python 3 + * Avoid some reference cycles through tracebacks in httpserver.py + +------------------------------------------------------------------- Old: ---- Paste-3.2.1.tar.gz New: ---- Paste-3.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Paste.spec ++++++ --- /var/tmp/diff_new_pack.NWaE2b/_old 2020-01-01 14:58:27.301936012 +0100 +++ /var/tmp/diff_new_pack.NWaE2b/_new 2020-01-01 14:58:27.301936012 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Paste # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Paste -Version: 3.2.1 +Version: 3.2.3 Release: 0 Summary: Tools for using a Web Server Gateway Interface stack License: MIT ++++++ Paste-3.2.1.tar.gz -> Paste-3.2.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.2.1/PKG-INFO new/Paste-3.2.3/PKG-INFO --- old/Paste-3.2.1/PKG-INFO 2019-09-25 14:32:20.000000000 +0200 +++ new/Paste-3.2.3/PKG-INFO 2019-11-25 22:07:03.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Paste -Version: 3.2.1 +Version: 3.2.3 Summary: Tools for using a Web Server Gateway Interface stack Home-page: https://pythonpaste.readthedocs.io/ Author: Chris Dent @@ -130,8 +130,8 @@ Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server Classifier: Framework :: Paste +Provides-Extra: Flup Provides-Extra: hotshot Provides-Extra: subprocess -Provides-Extra: openid Provides-Extra: Paste -Provides-Extra: Flup +Provides-Extra: openid diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.2.1/Paste.egg-info/PKG-INFO new/Paste-3.2.3/Paste.egg-info/PKG-INFO --- old/Paste-3.2.1/Paste.egg-info/PKG-INFO 2019-09-25 14:32:19.000000000 +0200 +++ new/Paste-3.2.3/Paste.egg-info/PKG-INFO 2019-11-25 22:07:02.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Paste -Version: 3.2.1 +Version: 3.2.3 Summary: Tools for using a Web Server Gateway Interface stack Home-page: https://pythonpaste.readthedocs.io/ Author: Chris Dent @@ -130,8 +130,8 @@ Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server Classifier: Framework :: Paste +Provides-Extra: Flup Provides-Extra: hotshot Provides-Extra: subprocess -Provides-Extra: openid Provides-Extra: Paste -Provides-Extra: Flup +Provides-Extra: openid diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.2.1/docs/news.txt new/Paste-3.2.3/docs/news.txt --- old/Paste-3.2.1/docs/news.txt 2019-09-25 14:29:52.000000000 +0200 +++ new/Paste-3.2.3/docs/news.txt 2019-11-25 22:05:12.000000000 +0100 @@ -3,6 +3,16 @@ .. contents:: +3.2.3 +----- + +* Correct ``100 Continue`` in Python 3 + +3.2.2 +----- + +* Avoid some reference cycles through tracebacks in httpserver.py + 3.2.1 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.2.1/paste/httpserver.py new/Paste-3.2.3/paste/httpserver.py --- old/Paste-3.2.1/paste/httpserver.py 2019-09-25 14:27:36.000000000 +0200 +++ new/Paste-3.2.3/paste/httpserver.py 2019-11-25 22:04:00.000000000 +0100 @@ -82,7 +82,7 @@ setattr(self, attr, getattr(self, '_ContinueFile_' + attr)) def _ContinueFile_send(self): - self._ContinueFile_write("HTTP/1.1 100 Continue\r\n\r\n") + self._ContinueFile_write("HTTP/1.1 100 Continue\r\n\r\n".encode('utf-8')) rfile = self._ContinueFile_rfile for attr in ('read', 'readline', 'readlines'): if hasattr(rfile, attr): @@ -1077,8 +1077,7 @@ lambda: self.process_request_in_thread(request, client_address)) def handle_error(self, request, client_address): - exc_class, exc, tb = sys.exc_info() - if exc_class is ServerExit: + if sys.exc_info()[0] is ServerExit: # This is actually a request to stop the server raise return super(ThreadPoolMixIn, self).handle_error(request, client_address) @@ -1092,11 +1091,10 @@ try: self.finish_request(request, client_address) self.close_request(request) - except: + except BaseException as e: self.handle_error(request, client_address) self.close_request(request) - exc = sys.exc_info()[1] - if isinstance(exc, (MemoryError, KeyboardInterrupt)): + if isinstance(e, (MemoryError, KeyboardInterrupt)): raise def serve_forever(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.2.1/setup.py new/Paste-3.2.3/setup.py --- old/Paste-3.2.1/setup.py 2019-09-25 14:29:30.000000000 +0200 +++ new/Paste-3.2.3/setup.py 2019-11-25 22:04:31.000000000 +0100 @@ -12,7 +12,7 @@ # - git push # - python setup.py sdist bdist_wheel upload --sign -__version__ = '3.2.1' +__version__ = '3.2.3' from setuptools import setup, find_packages import sys, os
