From 628f39c508e0dc2da465b09a2be61832227c73f2 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 7 Mar 2022 19:49:04 +0800 Subject: [PATCH] python3-waitress: upgrade 2.0.0 -> 2.1.0 Changelog: ========= Python Version Support ---------------------- - Python 3.6 is no longer supported by Waitress - Python 3.10 is fully supported by Waitress Bugfix ------- - "wsgi.file_wrapper" now sets the "seekable", "seek", and "tell" attributes from the underlying file if the underlying file is seekable. This allows WSGI middleware to implement things like range requests for example See https://github.com/Pylons/waitress/issues/359 and https://github.com/Pylons/waitress/pull/363 - In Python 3 "OSError" is no longer subscriptable, this caused failures on Windows attempting to loop to find an socket that would work for use in the trigger. See https://github.com/Pylons/waitress/pull/361 - Fixed an issue whereby "BytesIO" objects were not properly closed, and thereby would not get cleaned up until garbage collection would get around to it. This led to potential for random memory spikes/memory issues, see https://github.com/Pylons/waitress/pull/358 and https://github.com/Pylons/waitress/issues/357 . Features -------- - When the WSGI app starts sending data to the output buffer, we now attempt to send data directly to the socket. This avoids needing to wake up the main thread to start sending data. Allowing faster transmission of the first byte. See https://github.com/Pylons/waitress/pull/364 - Add REQUEST_URI to the WSGI environment. REQUEST_URI is similar to "request_uri" in nginx. It is a string that contains the request path before separating the query string and decoding "%"-escaped characters. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../{python3-waitress_2.0.0.bb => python3-waitress_2.1.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-waitress_2.0.0.bb => python3-waitress_2.1.0.bb} (80%) diff --git a/meta-python/recipes-devtools/python/python3-waitress_2.0.0.bb b/meta-python/recipes-devtools/python/python3-waitress_2.1.0.bb similarity index 80% rename from meta-python/recipes-devtools/python/python3-waitress_2.0.0.bb rename to meta-python/recipes-devtools/python/python3-waitress_2.1.0.bb index 490dcee6c47..99e483962f3 100644 --- a/meta-python/recipes-devtools/python/python3-waitress_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-waitress_2.1.0.bb @@ -6,6 +6,6 @@ SECTION = "devel/python" LICENSE = "ZPL-2.1" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2" -SRC_URI[sha256sum] = "69e1f242c7f80273490d3403c3976f3ac3b26e289856936d1f620ed48f321897" +SRC_URI[sha256sum] = "ec8a8d9b6b15f3bb2c1a82b8f3929a029c333c35fcafb08c185a9e562d8cc9c2" inherit setuptools3 pypi