Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Paste for openSUSE:Factory checked in at 2022-08-04 13:23:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Paste (Old) and /work/SRC/openSUSE:Factory/.python-Paste.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Paste" Thu Aug 4 13:23:05 2022 rev:33 rq:989492 version:3.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Paste/python-Paste.changes 2021-03-02 12:29:18.743524177 +0100 +++ /work/SRC/openSUSE:Factory/.python-Paste.new.1521/python-Paste.changes 2022-08-04 13:23:15.324463244 +0200 @@ -1,0 +2,7 @@ +Fri Jul 15 19:15:51 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 3.5.1: + * Replace deprecated threading.currentThread, getName and setDaemon + with threading.current_thread, name and daemon. + +------------------------------------------------------------------- Old: ---- Paste-3.5.0.tar.gz New: ---- Paste-3.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Paste.spec ++++++ --- /var/tmp/diff_new_pack.u9I0le/_old 2022-08-04 13:23:15.764464492 +0200 +++ /var/tmp/diff_new_pack.u9I0le/_new 2022-08-04 13:23:15.768464504 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Paste # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 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.5.0 +Version: 3.5.1 Release: 0 Summary: Tools for using a Web Server Gateway Interface stack License: MIT ++++++ Paste-3.5.0.tar.gz -> Paste-3.5.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/PKG-INFO new/Paste-3.5.1/PKG-INFO --- old/Paste-3.5.0/PKG-INFO 2020-10-12 14:48:10.120894700 +0200 +++ new/Paste-3.5.1/PKG-INFO 2022-06-22 12:22:38.272450400 +0200 @@ -1,120 +1,11 @@ Metadata-Version: 2.1 Name: Paste -Version: 3.5.0 +Version: 3.5.1 Summary: Tools for using a Web Server Gateway Interface stack Home-page: https://pythonpaste.readthedocs.io/ Author: Chris Dent Author-email: chris.d...@gmail.com License: MIT -Description: - *Paste is in maintenance mode and recently moved from bitbucket to github. - Patches are accepted to keep it on life support, but for the most part, please - consider using other options.* - - Paste provides several pieces of "middleware" (or filters) that can be nested - to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_) - interface, and should be compatible with other middleware based on those - interfaces. - - .. _PEP 333: http://www.python.org/dev/peps/pep-0333/ - - * `Paste project at GitHub (source code, bug tracker) - <https://github.com/cdent/paste/>`_ - * `Paste on the Python Cheeseshop (PyPI) - <https://pypi.python.org/pypi/Paste>`_ - * `Paste on Read the Docs - <https://pythonpaste.readthedocs.io>`_ - - See also: - - * `WebOb <https://docs.pylonsproject.org/projects/webob>`_ - - Includes these features... - - Testing - ------- - - * A fixture for testing WSGI applications conveniently and in-process, - in ``paste.fixture`` - - * A fixture for testing command-line applications, also in - ``paste.fixture`` - - * Check components for WSGI-compliance in ``paste.lint`` - - Dispatching - ----------- - - * Chain and cascade WSGI applications (returning the first non-error - response) in ``paste.cascade`` - - * Dispatch to several WSGI applications based on URL prefixes, in - ``paste.urlmap`` - - * Allow applications to make subrequests and forward requests - internally, in ``paste.recursive`` - - Web Application - --------------- - - * Run CGI programs as WSGI applications in ``paste.cgiapp`` - - * Traverse files and load WSGI applications from ``.py`` files (or - static files), in ``paste.urlparser`` - - * Serve static directories of files, also in ``paste.urlparser``; also - in that module serving from Egg resources using ``pkg_resources``. - - Tools - ----- - - * Catch HTTP-related exceptions (e.g., ``HTTPNotFound``) and turn them - into proper responses in ``paste.httpexceptions`` - - * Several authentication techniques, including HTTP (Basic and - Digest), signed cookies, and CAS single-signon, in the - ``paste.auth`` package. - - * Create sessions in ``paste.session`` and ``paste.flup_session`` - - * Gzip responses in ``paste.gzip`` - - * A wide variety of routines for manipulating WSGI requests and - producing responses, in ``paste.request``, ``paste.response`` and - ``paste.wsgilib`` - - Debugging Filters - ----------------- - - * Catch (optionally email) errors with extended tracebacks (using - Zope/ZPT conventions) in ``paste.exceptions`` - - * Catch errors presenting a `cgitb - <http://docs.python.org/2/library/cgitb.html>`_-based - output, in ``paste.cgitb_catcher``. - - * Profile each request and append profiling information to the HTML, - in ``paste.debug.profile`` - - * Capture ``print`` output and present it in the browser for - debugging, in ``paste.debug.prints`` - - * Validate all HTML output from applications using the `WDG Validator - <http://www.htmlhelp.com/tools/validator/>`_, appending any errors - or warnings to the page, in ``paste.debug.wdg_validator`` - - Other Tools - ----------- - - * A file monitor to allow restarting the server when files have been - updated (for automatic restarting when editing code) in - ``paste.reloader`` - - * A class for generating and traversing URLs, and creating associated - HTML code, in ``paste.url`` - - The official development repo is at https://github.com/cdent/paste. - Keywords: web application server wsgi Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable @@ -135,3 +26,114 @@ Provides-Extra: Flup Provides-Extra: Paste Provides-Extra: openid + + +*Paste is in maintenance mode and recently moved from bitbucket to github. +Patches are accepted to keep it on life support, but for the most part, please +consider using other options.* + +Paste provides several pieces of "middleware" (or filters) that can be nested +to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_) +interface, and should be compatible with other middleware based on those +interfaces. + +.. _PEP 333: http://www.python.org/dev/peps/pep-0333/ + +* `Paste project at GitHub (source code, bug tracker) + <https://github.com/cdent/paste/>`_ +* `Paste on the Python Cheeseshop (PyPI) + <https://pypi.python.org/pypi/Paste>`_ +* `Paste on Read the Docs + <https://pythonpaste.readthedocs.io>`_ + +See also: + +* `WebOb <https://docs.pylonsproject.org/projects/webob>`_ + +Includes these features... + +Testing +------- + +* A fixture for testing WSGI applications conveniently and in-process, + in ``paste.fixture`` + +* A fixture for testing command-line applications, also in + ``paste.fixture`` + +* Check components for WSGI-compliance in ``paste.lint`` + +Dispatching +----------- + +* Chain and cascade WSGI applications (returning the first non-error + response) in ``paste.cascade`` + +* Dispatch to several WSGI applications based on URL prefixes, in + ``paste.urlmap`` + +* Allow applications to make subrequests and forward requests + internally, in ``paste.recursive`` + +Web Application +--------------- + +* Run CGI programs as WSGI applications in ``paste.cgiapp`` + +* Traverse files and load WSGI applications from ``.py`` files (or + static files), in ``paste.urlparser`` + +* Serve static directories of files, also in ``paste.urlparser``; also + in that module serving from Egg resources using ``pkg_resources``. + +Tools +----- + +* Catch HTTP-related exceptions (e.g., ``HTTPNotFound``) and turn them + into proper responses in ``paste.httpexceptions`` + +* Several authentication techniques, including HTTP (Basic and + Digest), signed cookies, and CAS single-signon, in the + ``paste.auth`` package. + +* Create sessions in ``paste.session`` and ``paste.flup_session`` + +* Gzip responses in ``paste.gzip`` + +* A wide variety of routines for manipulating WSGI requests and + producing responses, in ``paste.request``, ``paste.response`` and + ``paste.wsgilib`` + +Debugging Filters +----------------- + +* Catch (optionally email) errors with extended tracebacks (using + Zope/ZPT conventions) in ``paste.exceptions`` + +* Catch errors presenting a `cgitb + <http://docs.python.org/2/library/cgitb.html>`_-based + output, in ``paste.cgitb_catcher``. + +* Profile each request and append profiling information to the HTML, + in ``paste.debug.profile`` + +* Capture ``print`` output and present it in the browser for + debugging, in ``paste.debug.prints`` + +* Validate all HTML output from applications using the `WDG Validator + <http://www.htmlhelp.com/tools/validator/>`_, appending any errors + or warnings to the page, in ``paste.debug.wdg_validator`` + +Other Tools +----------- + +* A file monitor to allow restarting the server when files have been + updated (for automatic restarting when editing code) in + ``paste.reloader`` + +* A class for generating and traversing URLs, and creating associated + HTML code, in ``paste.url`` + +The official development repo is at https://github.com/cdent/paste. + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/Paste.egg-info/PKG-INFO new/Paste-3.5.1/Paste.egg-info/PKG-INFO --- old/Paste-3.5.0/Paste.egg-info/PKG-INFO 2020-10-12 14:48:09.000000000 +0200 +++ new/Paste-3.5.1/Paste.egg-info/PKG-INFO 2022-06-22 12:22:37.000000000 +0200 @@ -1,120 +1,11 @@ Metadata-Version: 2.1 Name: Paste -Version: 3.5.0 +Version: 3.5.1 Summary: Tools for using a Web Server Gateway Interface stack Home-page: https://pythonpaste.readthedocs.io/ Author: Chris Dent Author-email: chris.d...@gmail.com License: MIT -Description: - *Paste is in maintenance mode and recently moved from bitbucket to github. - Patches are accepted to keep it on life support, but for the most part, please - consider using other options.* - - Paste provides several pieces of "middleware" (or filters) that can be nested - to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_) - interface, and should be compatible with other middleware based on those - interfaces. - - .. _PEP 333: http://www.python.org/dev/peps/pep-0333/ - - * `Paste project at GitHub (source code, bug tracker) - <https://github.com/cdent/paste/>`_ - * `Paste on the Python Cheeseshop (PyPI) - <https://pypi.python.org/pypi/Paste>`_ - * `Paste on Read the Docs - <https://pythonpaste.readthedocs.io>`_ - - See also: - - * `WebOb <https://docs.pylonsproject.org/projects/webob>`_ - - Includes these features... - - Testing - ------- - - * A fixture for testing WSGI applications conveniently and in-process, - in ``paste.fixture`` - - * A fixture for testing command-line applications, also in - ``paste.fixture`` - - * Check components for WSGI-compliance in ``paste.lint`` - - Dispatching - ----------- - - * Chain and cascade WSGI applications (returning the first non-error - response) in ``paste.cascade`` - - * Dispatch to several WSGI applications based on URL prefixes, in - ``paste.urlmap`` - - * Allow applications to make subrequests and forward requests - internally, in ``paste.recursive`` - - Web Application - --------------- - - * Run CGI programs as WSGI applications in ``paste.cgiapp`` - - * Traverse files and load WSGI applications from ``.py`` files (or - static files), in ``paste.urlparser`` - - * Serve static directories of files, also in ``paste.urlparser``; also - in that module serving from Egg resources using ``pkg_resources``. - - Tools - ----- - - * Catch HTTP-related exceptions (e.g., ``HTTPNotFound``) and turn them - into proper responses in ``paste.httpexceptions`` - - * Several authentication techniques, including HTTP (Basic and - Digest), signed cookies, and CAS single-signon, in the - ``paste.auth`` package. - - * Create sessions in ``paste.session`` and ``paste.flup_session`` - - * Gzip responses in ``paste.gzip`` - - * A wide variety of routines for manipulating WSGI requests and - producing responses, in ``paste.request``, ``paste.response`` and - ``paste.wsgilib`` - - Debugging Filters - ----------------- - - * Catch (optionally email) errors with extended tracebacks (using - Zope/ZPT conventions) in ``paste.exceptions`` - - * Catch errors presenting a `cgitb - <http://docs.python.org/2/library/cgitb.html>`_-based - output, in ``paste.cgitb_catcher``. - - * Profile each request and append profiling information to the HTML, - in ``paste.debug.profile`` - - * Capture ``print`` output and present it in the browser for - debugging, in ``paste.debug.prints`` - - * Validate all HTML output from applications using the `WDG Validator - <http://www.htmlhelp.com/tools/validator/>`_, appending any errors - or warnings to the page, in ``paste.debug.wdg_validator`` - - Other Tools - ----------- - - * A file monitor to allow restarting the server when files have been - updated (for automatic restarting when editing code) in - ``paste.reloader`` - - * A class for generating and traversing URLs, and creating associated - HTML code, in ``paste.url`` - - The official development repo is at https://github.com/cdent/paste. - Keywords: web application server wsgi Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable @@ -135,3 +26,114 @@ Provides-Extra: Flup Provides-Extra: Paste Provides-Extra: openid + + +*Paste is in maintenance mode and recently moved from bitbucket to github. +Patches are accepted to keep it on life support, but for the most part, please +consider using other options.* + +Paste provides several pieces of "middleware" (or filters) that can be nested +to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_) +interface, and should be compatible with other middleware based on those +interfaces. + +.. _PEP 333: http://www.python.org/dev/peps/pep-0333/ + +* `Paste project at GitHub (source code, bug tracker) + <https://github.com/cdent/paste/>`_ +* `Paste on the Python Cheeseshop (PyPI) + <https://pypi.python.org/pypi/Paste>`_ +* `Paste on Read the Docs + <https://pythonpaste.readthedocs.io>`_ + +See also: + +* `WebOb <https://docs.pylonsproject.org/projects/webob>`_ + +Includes these features... + +Testing +------- + +* A fixture for testing WSGI applications conveniently and in-process, + in ``paste.fixture`` + +* A fixture for testing command-line applications, also in + ``paste.fixture`` + +* Check components for WSGI-compliance in ``paste.lint`` + +Dispatching +----------- + +* Chain and cascade WSGI applications (returning the first non-error + response) in ``paste.cascade`` + +* Dispatch to several WSGI applications based on URL prefixes, in + ``paste.urlmap`` + +* Allow applications to make subrequests and forward requests + internally, in ``paste.recursive`` + +Web Application +--------------- + +* Run CGI programs as WSGI applications in ``paste.cgiapp`` + +* Traverse files and load WSGI applications from ``.py`` files (or + static files), in ``paste.urlparser`` + +* Serve static directories of files, also in ``paste.urlparser``; also + in that module serving from Egg resources using ``pkg_resources``. + +Tools +----- + +* Catch HTTP-related exceptions (e.g., ``HTTPNotFound``) and turn them + into proper responses in ``paste.httpexceptions`` + +* Several authentication techniques, including HTTP (Basic and + Digest), signed cookies, and CAS single-signon, in the + ``paste.auth`` package. + +* Create sessions in ``paste.session`` and ``paste.flup_session`` + +* Gzip responses in ``paste.gzip`` + +* A wide variety of routines for manipulating WSGI requests and + producing responses, in ``paste.request``, ``paste.response`` and + ``paste.wsgilib`` + +Debugging Filters +----------------- + +* Catch (optionally email) errors with extended tracebacks (using + Zope/ZPT conventions) in ``paste.exceptions`` + +* Catch errors presenting a `cgitb + <http://docs.python.org/2/library/cgitb.html>`_-based + output, in ``paste.cgitb_catcher``. + +* Profile each request and append profiling information to the HTML, + in ``paste.debug.profile`` + +* Capture ``print`` output and present it in the browser for + debugging, in ``paste.debug.prints`` + +* Validate all HTML output from applications using the `WDG Validator + <http://www.htmlhelp.com/tools/validator/>`_, appending any errors + or warnings to the page, in ``paste.debug.wdg_validator`` + +Other Tools +----------- + +* A file monitor to allow restarting the server when files have been + updated (for automatic restarting when editing code) in + ``paste.reloader`` + +* A class for generating and traversing URLs, and creating associated + HTML code, in ``paste.url`` + +The official development repo is at https://github.com/cdent/paste. + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/docs/news.txt new/Paste-3.5.1/docs/news.txt --- old/Paste-3.5.0/docs/news.txt 2020-10-12 14:45:58.000000000 +0200 +++ new/Paste-3.5.1/docs/news.txt 2022-06-22 12:18:46.000000000 +0200 @@ -3,6 +3,14 @@ .. contents:: +3.5.1 +----- + +* Replace deprecated threading.currentThread, getName and setDaemon + with threading.current_thread, name and daemon. + +Thanks to hugovk. + 3.5.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/paste/httpserver.py new/Paste-3.5.1/paste/httpserver.py --- old/Paste-3.5.0/paste/httpserver.py 2020-02-12 11:40:19.000000000 +0100 +++ new/Paste-3.5.1/paste/httpserver.py 2022-06-22 12:14:29.000000000 +0200 @@ -764,7 +764,7 @@ worker = threading.Thread(target=self.worker_thread_callback, args=args, kwargs=kwargs, name=("worker %d" % index)) - worker.setDaemon(self.daemon) + worker.daemon = self.daemon worker.start() def kill_hung_threads(self): @@ -865,7 +865,7 @@ ids="\n ".join(map(str, found))), subject="Process restart (too many zombie threads)") self.shutdown(10) - print('Shutting down', threading.currentThread()) + print('Shutting down', threading.current_thread()) raise ServerExit(3) def worker_thread_callback(self, message=None): @@ -873,7 +873,7 @@ Worker thread should call this method to get and process queued callables. """ - thread_obj = threading.currentThread() + thread_obj = threading.current_thread() thread_id = thread_obj.thread_id = _thread.get_ident() self.workers.append(thread_obj) self.idle_workers.append(thread_id) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/paste/reloader.py new/Paste-3.5.1/paste/reloader.py --- old/Paste-3.5.0/paste/reloader.py 2020-01-26 16:30:37.000000000 +0100 +++ new/Paste-3.5.1/paste/reloader.py 2022-06-22 12:14:29.000000000 +0200 @@ -59,7 +59,7 @@ """ mon = Monitor(poll_interval=poll_interval) t = threading.Thread(target=mon.periodic_reload) - t.setDaemon(True) + t.daemon = True t.start() class Monitor(object): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/paste/util/threadedprint.py new/Paste-3.5.1/paste/util/threadedprint.py --- old/Paste-3.5.0/paste/util/threadedprint.py 2020-01-26 16:30:37.000000000 +0100 +++ new/Paste-3.5.1/paste/util/threadedprint.py 2022-06-22 12:14:29.000000000 +0200 @@ -27,7 +27,7 @@ called like ``paramwriter(thread_name, text)`` for every write. The thread name is the value returned by -``threading.currentThread().getName()``, a string (typically something +``threading.current_thread().name``, a string (typically something like Thread-N). You can also submit file-like objects for specific threads, which will @@ -89,8 +89,8 @@ self._paramwriter = paramwriter self._catchers = {} - def write(self, v, currentThread=threading.currentThread): - name = currentThread().getName() + def write(self, v, currentThread=threading.current_thread): + name = current_thread().name catchers = self._catchers if not catchers.has_key(name): self._defaultfunc(name, v) @@ -100,7 +100,7 @@ def seek(self, *args): # Weird, but Google App Engine is seeking on stdout - name = threading.currentThread().getName() + name = threading.current_thread().name catchers = self._catchers if not name in catchers: self._default.seek(*args) @@ -108,7 +108,7 @@ catchers[name].seek(*args) def read(self, *args): - name = threading.currentThread().getName() + name = threading.current_thread().name catchers = self._catchers if not name in catchers: self._default.read(*args) @@ -131,15 +131,15 @@ % name) def register(self, catcher, name=None, - currentThread=threading.currentThread): + currentThread=threading.current_thread): if name is None: - name = currentThread().getName() + name = currentThread().name self._catchers[name] = catcher def deregister(self, name=None, - currentThread=threading.currentThread): + currentThread=threading.current_thread): if name is None: - name = currentThread().getName() + name = currentThread().name assert self._catchers.has_key(name), ( "There is no PrintCatcher catcher for the thread %r" % name) del self._catchers[name] @@ -189,8 +189,8 @@ self._paramwriter = paramwriter self._catchers = {} - def read(self, size=None, currentThread=threading.currentThread): - name = currentThread().getName() + def read(self, size=None, currentThread=threading.current_thread): + name = currentThread().name catchers = self._catchers if not catchers.has_key(name): return self._defaultfunc(name, size) @@ -213,15 +213,15 @@ % name) def register(self, catcher, name=None, - currentThread=threading.currentThread): + currentThread=threading.current_thread): if name is None: - name = currentThread().getName() + name = currentThread().name self._catchers[name] = catcher def deregister(self, catcher, name=None, - currentThread=threading.currentThread): + currentThread=threading.current_thread): if name is None: - name = currentThread().getName() + name = currentThread().name assert self._catchers.has_key(name), ( "There is no StdinCatcher catcher for the thread %r" % name) del self._catchers[name] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/setup.py new/Paste-3.5.1/setup.py --- old/Paste-3.5.0/setup.py 2020-10-12 14:44:56.000000000 +0200 +++ new/Paste-3.5.1/setup.py 2022-06-22 12:19:41.000000000 +0200 @@ -12,7 +12,7 @@ # - git push # - python setup.py sdist bdist_wheel upload --sign -__version__ = '3.5.0' +__version__ = '3.5.1' from setuptools import setup, find_packages import sys, os diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Paste-3.5.0/tox.ini new/Paste-3.5.1/tox.ini --- old/Paste-3.5.0/tox.ini 2020-10-12 14:41:22.000000000 +0200 +++ new/Paste-3.5.1/tox.ini 2022-06-22 12:16:25.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist = py27, py36, py37, py38, pypy +envlist = py27, py36, py37, py38, py39, pypy [testenv] # For performance, but also for using "source" with coveragepy (https://github.com/nedbat/coveragepy/issues/268).