From d6e00dd6fc7c63c052fa2b444446bbef998f11da9858dc8247251e15dfd80408 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 17 Sep 2021 13:22:19 +0000 Subject: [PATCH] Accepting request 919662 from home:dimstar:Factory - Do not build for python 3.6: the required dependency uvloop does no longer support Python 3.6 since version 0.16. OBS-URL: https://build.opensuse.org/request/show/919662 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=7 --- python-uvicorn.changes | 6 ++++++ python-uvicorn.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-uvicorn.changes b/python-uvicorn.changes index 26064a0..9385aab 100644 --- a/python-uvicorn.changes +++ b/python-uvicorn.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 17 07:04:38 UTC 2021 - Dominique Leuenberger + +- Do not build for python 3.6: the required dependency uvloop does + no longer support Python 3.6 since version 0.16. + ------------------------------------------------------------------- Sun Nov 29 09:56:12 UTC 2020 - John Vandenberg diff --git a/python-uvicorn.spec b/python-uvicorn.spec index a2b2316..b6bf2ac 100644 --- a/python-uvicorn.spec +++ b/python-uvicorn.spec @@ -1,7 +1,7 @@ # # spec file for package python-uvicorn # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python36 1 Name: python-uvicorn Version: 0.12.3 Release: 0 @@ -39,7 +40,7 @@ Suggests: python-uvloop >= 0.14.0 Suggests: python-watchgod >= 0.6 Suggests: python-wsproto >= 0.15.0 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML >= 5.1}