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
This commit is contained in:
Matej Cepl 2022-07-20 16:55:21 +00:00 committed by Git OBS Bridge
parent 2cc8ce9a89
commit 7cb22c43fa
4 changed files with 18 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a53c3ab6e760028ea2830347b98b27393e9f5f12df0269e397b98db492e15dcc
size 14890

3
httptools-0.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d405ca125a9c58d095cc4a4d9f89182a5a9d15e4d95900ae003844bded223f9e
size 14880

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jul 18 20:30:01 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <simmphonie@opensuse.org> Sun Jan 9 08:53:15 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>

View File

@ -16,10 +16,10 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-httptools Name: python-httptools
Version: 0.3.0 Version: 0.4.0
Release: 0 Release: 0
Summary: Python framework independent HTTP protocol utils Summary: Python framework independent HTTP protocol utils
License: MIT License: MIT
@ -56,14 +56,16 @@ mv vendor/http-parser*/ vendor/http-parser/
%fdupes %{buildroot}%{$python_sitearch} %fdupes %{buildroot}%{$python_sitearch}
} }
%if 0%{?python_version_nodots} > 36
%check %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' %pytest_arch -k 'not test_parser_response_1'
%endif %endif
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitearch}/* %{python_sitearch}/httptools
%{python_sitearch}/httptools-%{version}*-info
%changelog %changelog