From 57b390e17bc3789e0a52a5191ca8f7516b80e8a4377ebc0668dcfe6fa9bd32da Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Fri, 5 Feb 2021 17:16:52 +0000 Subject: [PATCH] Accepting request 869818 from home:alois:branches:devel:languages:python - Update to version to 0.12.0 * Add early detection of invalid http data when request line starts with binary * Drop support for Python 2 * Fix ReST formatting * Tuned maybe_extract_next_line to search only \r\n * Changed the ReceiveBuffer * Speed up maybe_extract_lines and removed unused variables * Changed the maybe_extract_lines logic according PR review * Small rfg (renamed body_and_headers_delimiter_regex -> blank_line_delimiiter_regex) and slightly updated docs * Fixed some performance issues * Added ability to use LF, not only CRLF delimiter OBS-URL: https://build.opensuse.org/request/show/869818 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=16 --- h11-0.11.0.tar.gz | 3 --- h11-0.12.0.tar.gz | 3 +++ python-h11.changes | 17 +++++++++++++++++ python-h11.spec | 5 +++-- 4 files changed, 23 insertions(+), 5 deletions(-) delete mode 100644 h11-0.11.0.tar.gz create mode 100644 h11-0.12.0.tar.gz diff --git a/h11-0.11.0.tar.gz b/h11-0.11.0.tar.gz deleted file mode 100644 index 4dc52ef..0000000 --- a/h11-0.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c6c61d69c6f13d41f1b80ab0322f1872702a3ba26e12aa864c928f6a43fbaab -size 97509 diff --git a/h11-0.12.0.tar.gz b/h11-0.12.0.tar.gz new file mode 100644 index 0000000..6234937 --- /dev/null +++ b/h11-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47222cb6067e4a307d535814917cd98fd0a57b6788ce715755fa2b6c28b56042 +size 98121 diff --git a/python-h11.changes b/python-h11.changes index b758dda..f836e94 100644 --- a/python-h11.changes +++ b/python-h11.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Feb 5 17:05:15 UTC 2021 - Luigi Baldoni + +- Update to version to 0.12.0 + * Add early detection of invalid http data when request line + starts with binary + * Drop support for Python 2 + * Fix ReST formatting + * Tuned maybe_extract_next_line to search only \r\n + * Changed the ReceiveBuffer + * Speed up maybe_extract_lines and removed unused variables + * Changed the maybe_extract_lines logic according PR review + * Small rfg (renamed body_and_headers_delimiter_regex -> + blank_line_delimiiter_regex) and slightly updated docs + * Fixed some performance issues + * Added ability to use LF, not only CRLF delimiter + ------------------------------------------------------------------- Tue Nov 10 08:02:09 UTC 2020 - Dirk Mueller diff --git a/python-h11.spec b/python-h11.spec index 7758466..16e6d64 100644 --- a/python-h11.spec +++ b/python-h11.spec @@ -1,7 +1,7 @@ # # spec file for package python-h11 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-h11 -Version: 0.11.0 +Version: 0.12.0 Release: 0 Summary: A pure-Python, bring-your-own-I/O implementation of HTTP/11 License: MIT