From 3a6d209a0b59eb5785a7df86fdc7ef4980f2acf4b508c526f33da1b563ca136d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 1 Sep 2021 18:56:34 +0000 Subject: [PATCH] Accepting request 915405 from home:fusionfuture:branches:devel:languages:python - Remove h2 < 4.0 and priority < 2.0 version restriction. (boo#1190036) * remove-dependency-version-upper-bounds.patch OBS-URL: https://build.opensuse.org/request/show/915405 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=111 --- python-Twisted.changes | 6 ++++++ python-Twisted.spec | 2 ++ remove-dependency-version-upper-bounds.patch | 13 +++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 remove-dependency-version-upper-bounds.patch diff --git a/python-Twisted.changes b/python-Twisted.changes index 26c5177..57ae4e3 100644 --- a/python-Twisted.changes +++ b/python-Twisted.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 1 05:35:01 UTC 2021 - Fusion Future + +- Remove h2 < 4.0 and priority < 2.0 version restriction. (boo#1190036) + * remove-dependency-version-upper-bounds.patch + ------------------------------------------------------------------- Sat Aug 13 11:50:00 UTC 2021 - Michael Gumsley diff --git a/python-Twisted.spec b/python-Twisted.spec index a51cffb..f5d61ea 100644 --- a/python-Twisted.spec +++ b/python-Twisted.spec @@ -38,6 +38,8 @@ Patch3: 1521_delegate_parseqs_stdlib_bpo42967.patch Patch4: no-cython_test_exception_raiser.patch # boo#1110669 Our variant of PyGObject has pygtkcompat stripped which Twisted does not handle Patch5: no-pygtkcompat.patch +# PATCH-FIX-OPENSUSE remove-dependency-version-upper-bounds.patch boo#1190036 -- run with h2 >= 4.0.0 and priority >= 2.0 +Patch6: remove-dependency-version-upper-bounds.patch BuildRequires: %{python_module Automat >= 0.8.0} BuildRequires: %{python_module PyHamcrest >= 1.9.0} BuildRequires: %{python_module appdirs >= 1.4.0} diff --git a/remove-dependency-version-upper-bounds.patch b/remove-dependency-version-upper-bounds.patch new file mode 100644 index 0000000..34f39ff --- /dev/null +++ b/remove-dependency-version-upper-bounds.patch @@ -0,0 +1,13 @@ +--- a/setup.cfg ++++ b/setup.cfg +@@ -67,8 +67,8 @@ serial = + pyserial >= 3.0 + pywin32 != 226; platform_system == "Windows" + http2 = +- h2 >= 3.0, < 4.0 +- priority >= 1.1.0, < 2.0 ++ h2 >= 3.0 ++ priority >= 1.1.0 + contextvars = + contextvars >= 2.4, < 3; python_version < "3.7" + all_non_platform =