Message ID | 20220307131120.3899473-2-leon.anavi@konsulko.com |
---|---|
State | New |
Headers | show |
Series | [meta-python,1/2] python3-bandit: Upgrade 1.7.2 -> 1.7.4 | expand |
this was proposed earlier today as well. I have taken that patch instead On Mon, Mar 7, 2022 at 5:11 AM Leon Anavi <leon.anavi@konsulko.com> wrote: > > Upgrade to release 2.1.0: > > - Python 3.6 is no longer supported by Waitress > - Python 3.10 is fully supported by Waitress > - 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 > - 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. > - 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. > - 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. > - 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: Leon Anavi <leon.anavi@konsulko.com> > --- > .../{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 490dcee6c..99e483962 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 > -- > 2.30.2 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#95859): https://lists.openembedded.org/g/openembedded-devel/message/95859 > Mute This Topic: https://lists.openembedded.org/mt/89611305/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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 490dcee6c..99e483962 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
Upgrade to release 2.1.0: - Python 3.6 is no longer supported by Waitress - Python 3.10 is fully supported by Waitress - 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 - 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. - 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. - 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. - 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: Leon Anavi <leon.anavi@konsulko.com> --- .../{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%)