From 7cb22c43facecc41319e785e167e6485b933eab531d4633453cbeaaf320da531 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 20 Jul 2022 16:55:21 +0000 Subject: [PATCH] Accepting request 990380 from home:bnavigator:branches:devel:languages:python - update to version 0.4.0 * Bump bundled http-parser to 2.9.4 and llhttp to 6.0.6 fixes CVE-2021-22959 & CVE-2021-22960 (bsc#1191602 and bsc#1191601) - The above was already the case for the rpm package OBS-URL: https://build.opensuse.org/request/show/990380 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httptools?expand=0&rev=4 --- httptools-0.3.0.tar.gz | 3 --- httptools-0.4.0.tar.gz | 3 +++ python-httptools.changes | 9 +++++++++ python-httptools.spec | 10 ++++++---- 4 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 httptools-0.3.0.tar.gz create mode 100644 httptools-0.4.0.tar.gz diff --git a/httptools-0.3.0.tar.gz b/httptools-0.3.0.tar.gz deleted file mode 100644 index 23f5f3c..0000000 --- a/httptools-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a53c3ab6e760028ea2830347b98b27393e9f5f12df0269e397b98db492e15dcc -size 14890 diff --git a/httptools-0.4.0.tar.gz b/httptools-0.4.0.tar.gz new file mode 100644 index 0000000..9861c1c --- /dev/null +++ b/httptools-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d405ca125a9c58d095cc4a4d9f89182a5a9d15e4d95900ae003844bded223f9e +size 14880 diff --git a/python-httptools.changes b/python-httptools.changes index 67afd05..6ba1e58 100644 --- a/python-httptools.changes +++ b/python-httptools.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jul 18 20:30:01 UTC 2022 - Ben Greiner + +- update to version 0.4.0 + * Bump bundled http-parser to 2.9.4 and llhttp to 6.0.6 + fixes CVE-2021-22959 & CVE-2021-22960 + (bsc#1191602 and bsc#1191601) +- The above was already the case for the rpm package + ------------------------------------------------------------------- Sun Jan 9 08:53:15 UTC 2022 - Torsten Gruner diff --git a/python-httptools.spec b/python-httptools.spec index 9b0606d..675d3f8 100644 --- a/python-httptools.spec +++ b/python-httptools.spec @@ -16,10 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-httptools -Version: 0.3.0 +Version: 0.4.0 Release: 0 Summary: Python framework independent HTTP protocol utils License: MIT @@ -56,14 +56,16 @@ mv vendor/http-parser*/ vendor/http-parser/ %fdupes %{buildroot}%{$python_sitearch} } -%if 0%{?python_version_nodots} > 36 %check +%if 0%{suse_version} >= 1550 +# pytest on suse <= 15.4 does not support the required pytest importlib import mode %pytest_arch -k 'not test_parser_response_1' %endif %files %{python_files} %doc README.md %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/httptools +%{python_sitearch}/httptools-%{version}*-info %changelog