Accepting request 953813 from home:stroeder:iam

- Only recommend and not require the installation of python-h2 because it is
  seriously broken and prevents any other Python software to run correctly with -bb.
  (See also: https://github.com/python-hyper/h2/issues/1236)
  This also matches upstream's setup.py which lists h2 as optional
  dependency in extra_requires.

Note: python-httpx:test  won't build in my home project but the .spec change is trivial.

OBS-URL: https://build.opensuse.org/request/show/953813
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=7
This commit is contained in:
Matej Cepl 2022-02-12 14:40:42 +00:00 committed by Git OBS Bridge
parent a48e72919e
commit 2d4674ac21
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Feb 11 19:31:34 UTC 2022 - Michael Ströder <michael@stroeder.com>
- Only recommend and not require the installation of python-h2 because it is
seriously broken and prevents any other Python software to run correctly with -bb.
(See also: https://github.com/python-hyper/h2/issues/1236)
This also matches upstream's setup.py which lists h2 as optional
dependency in extra_requires.
-------------------------------------------------------------------
Tue Feb 1 07:01:13 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -41,7 +41,6 @@ Requires: python-certifi
Requires: python-chardet >= 3.0
Requires: python-charset-normalizer >= 2.0.6
Requires: python-h11 >= 0.8.0
Requires: python-h2 >= 3.0
Requires: python-hstspreload >= 2019.8.27
Requires: python-httpcore >= 0.14.0
Requires: python-idna >= 2.0
@ -49,6 +48,7 @@ Requires: python-rfc3986 >= 1.3
Requires: python-sniffio
Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-h2 >= 3.0
BuildArch: noarch
# SECTION test requirements
%if %{with test}