openSUSE Recommended Update: Recommended update for python-Paste ______________________________________________________________________________ Announcement ID: openSUSE-RU-2024:0279-1 Rating: moderate References: Affected Products: openSUSE Backports SLE-15-SP6 ______________________________________________________________________________ An update that has 0 recommended fixes can now be installed. Description: This update for python-Paste fixes the following issues: Update to 3.10.1: * Correct packaging and testing when not in a clean virtualenv version 3.10.0: * Move development to https://github.com/pasteorg/paste * Vendor cgi.FieldStorage and cgitb.Hook * More cleaning of Python 2 style code. update to 3.9.0: * misc bugs + please pyflakes * Remove unused format_environ method in watchthreads APP update to 3.8.0: * remove most python2 compatibility update to 3.7.1: * The main change for 3.7.0 and beyond is dropping support for Python 2. In the past it was possible to get Paste to work in Python 2 with some effort. That's now no longer possible. If Python 2 is required for some reason, use an older version of Paste. update to 3.6.1: * Turn on github action for tests on pull requests * Add a Makefile for simple automation Update to 3.5.3: * Use importlib instead of imp with Python 3. update to 3.5.2: * Fix py3 compatibility in paste.wsgilib.catch_errors (#70) * A Python 3 application might only define `__next__`, not `next`. Use `six.next` instead. * This is very similar to https://github.com/cdent/paste/pull/53, and was apparently missed there. update to 3.5.1: * Replace deprecated threading.currentThread, getName and setDaemon with threading.current_thread, name and daemon. update to 3.5.0: * Python 3 fixes to auth and wsgi.errors handling; notably making wsgi.errors text. Update to 3.4.6: * Explicit pkg_resource dependency to easy packaging. * Remove deprecated dependencies paste/fixture.py. * Update setup.py to work with setuptools 50.1.0+ update to 3.4.3: * Patch auth ticket to be python3 compatible. update to 3.4.2: * Correct sorting of items() in EvalHTMLFormatter. * Fix next in iterators in wsgilib.py. update to 3.4.0 * Python 3 updates for use of StringIO and auth_tkt.py. * Use six.BytesIO when reading wsgi.input. * Allow binding IPv6 address when starting a server. update to 3.2.6 * Correctly handle HEAD requests (to send empty body) when gzip encoding requested. * Use is_alive instead of isAlive for Python 3.9 compatibility. * Use encodebytes instead of deprecated encodestring. * Fix Python 2 and 3 compatibility for base64. update to 3.2.3: * Correct ``100 Continue`` in Python 3 * Avoid some reference cycles through tracebacks in httpserver.py Update to 3.2.0: * Ensure unicode URLs work in TestApp. * Make LimitedLengthFile file return empty bytes. * Protect against accidental close in FieldStorage. version update to 3.1.0 * Allow anything that can read() for a file-like response, not just a ``file`` instance. Update to v3.0.8: * Fix quoting of bytestrings Update to 3.0.7: * Write bytestrings when calling wsgi_write_chunk * Revert "Remove use of OpenSSL.tsafe, which links to OpenSSL.SSL update to 3.0.5: * Use correct variable when building message for exception * Remove use of OpenSSL.tsafe, which links to OpenSSL.SSL anyways. (#16) * Fix error on httpserver shutdown * Add support for limited testing with travis-ci * Merged in hroncok/paste/py37 (pull request #41) * Don't raise StopIteration from generator, return instead * Fix up testing after switch to pytest * Make iterators Python3-compatible * Don't raise StopIteration inside a generator * add link to read the docs to README * Prepare docs for publishing to RTFD * py3 fixes for form handling in paste.fixture (#8) * paste.fixture: fix form offset handling (#12) * Don't delete dict item while iterating over same dict (#14) * Enable coverage reporting via codecov (#10) - update to 2.0.3: * Add tests/test_httpserver.py * Fix improper commas in request headers in wsgi_environ * tests/test_httpserver.py: Use `email` module instead of `mimetools` * tests/test_httpserver.py: Add test_environ_with_multiple_values * Make get all values of a header work on both Python 2 and 3 * Make get_headers default to Python 3; fallback to Python 2 * Make utility function private: _get_headers * Fix Python 3 issue in paste/fixture.py * test_wsgirequest_charset: Use UTF-8 instead of iso-8859-1 * Replace cgi.parse_qsl w/ six.moves.urllib.parse.parse_sql * replace ``has_key`` method to ``in`` operator #9 * Don't display invalid error message when socket in use * Update docs/news.txt for 2.0.2 * Added tag 2.0.2 for changeset 53f5c2cd7f50 * Python 3: App must always return binary type. * Python 3: Always encode params if passed as text types * Python 3: Don't mangle strangely encoded input * Python 3: Use the same python interpreter for CGI scripts. * Python 3: add workarounds for cgi.FieldStorage * Python 3: avoid spurious warnings * Python 3: dict.items() doesn't return a list anymore * Python 3: ignore exception details in doctests * Python 3: let html_quote() and url() always return the same type * Python 3: use compatible print syntax in example text * Change six requirement to >=1.4.0 * tox.ini: Add py35 to envlist * Enable testing with pypy * tox.ini: Measure test coverage * paste.wsgilib.add_close: Add __next__ method * Add tests for `add_close` class * Uncomment/cleanup paste.wsgilib.app_close.__next__ * Check paste.wsgilib.add_close._closed * Make add_close.next() leverage add_close.__next__() update to version 2.0.1: * Fix setup.py for six dependency: move the six dependency from extras_require to install_requires * Port paste.proxy to Python 3 * Fix paste.exceptions.serial_number_generator.hash_identifier() on Python 3 * Fix paste.util.threadedprint.uninstall() * Add README.rst file - additional changes from version 2.0: * Experimental Python 3 support * paste now requires the six module * Drop support of Python 2.5 and older * Fixed egg:Paste#cgi * In paste.httpserver: give a 100 Continue response even when the server has been configured as an HTTP/1.0 server * Fixed parsing of paths beginning with multiple forward slashes * Add tox.ini to run tests with tox on Python 2.6, 2.7 and 3.4 - Initial version, obsoletes 'python-paste' Patch Instructions: To install this openSUSE Recommended Update use the SUSE recommended installation methods like YaST online_update or "zypper patch". Alternatively you can run the command listed for your product: - openSUSE Backports SLE-15-SP6: zypper in -t patch openSUSE-2024-279=1 Package List: - openSUSE Backports SLE-15-SP6 (noarch): python311-Paste-3.10.1-bp156.2.1 References: