From 2d4674ac21d5477e3b5b9d4d6540b3e9d67678c2b39c1d2281fcebccc8b75634 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 12 Feb 2022 14:40:42 +0000 Subject: [PATCH] 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 --- python-httpx.changes | 9 +++++++++ python-httpx.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-httpx.changes b/python-httpx.changes index 69c6c4e..b77dbff 100644 --- a/python-httpx.changes +++ b/python-httpx.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 11 19:31:34 UTC 2022 - Michael Ströder + +- 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 diff --git a/python-httpx.spec b/python-httpx.spec index beb2ab3..3fbf75d 100644 --- a/python-httpx.spec +++ b/python-httpx.spec @@ -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}