From 76acc1ab21d8d4c777f98ee63f0248791fce44376309f5dd361512347cef3aa9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 22 Jun 2023 15:28:47 +0000 Subject: [PATCH] - limit to newer python versions, older are no longer needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=23 --- python-uvicorn.changes | 5 +++++ python-uvicorn.spec | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/python-uvicorn.changes b/python-uvicorn.changes index bc24170..23b6b5e 100644 --- a/python-uvicorn.changes +++ b/python-uvicorn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller + +- limit to newer python versions, older are no longer needed + ------------------------------------------------------------------- Fri May 12 08:24:05 UTC 2023 - daniel.garcia@suse.com diff --git a/python-uvicorn.spec b/python-uvicorn.spec index 3092f26..be9f8ee 100644 --- a/python-uvicorn.spec +++ b/python-uvicorn.spec @@ -26,7 +26,7 @@ URL: https://github.com/encode/uvicorn Source: https://github.com/encode/uvicorn/archive/%{version}.tar.gz#/uvicorn-%{version}.tar.gz # PATCH-FIX-UPSTREAM fix-websocket-tests.patch -- gh#encode/uvicorn#1929 Patch0: fix-websocket-tests.patch -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} @@ -35,9 +35,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-click >= 7.0 Requires: python-h11 >= 0.8.0 -%if 0%{python_version_nodots} < 38 -Requires: python-typing_extensions -%endif Recommends: python-PyYAML >= 5.1 Recommends: python-httptools >= 0.4.0 Recommends: python-websockets >= 8.0 @@ -61,7 +58,6 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dotenv} BuildRequires: %{python_module requests} BuildRequires: %{python_module trustme} -BuildRequires: %{python_module typing_extensions if %python-base < 3.8} %if 0%{?suse_version} > 1500 BuildRequires: %{python_module uvloop >= 0.14.0} %endif