From bf9157ec5e7c9613e208a9253253d857640654d3b624049b71c52fc1a327281c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 6 Sep 2023 19:51:40 +0000 Subject: [PATCH] - drop outdated depndendy on async_generator (see https://github.com/python-trio/outcome/issues/12) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-outcome?expand=0&rev=17 --- python-outcome.changes | 6 ++++++ python-outcome.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-outcome.changes b/python-outcome.changes index 9d99466..80c85ef 100644 --- a/python-outcome.changes +++ b/python-outcome.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 6 19:50:20 UTC 2023 - Dirk Müller + +- drop outdated depndendy on async_generator + (see https://github.com/python-trio/outcome/issues/12) + ------------------------------------------------------------------- Fri Apr 21 12:28:51 UTC 2023 - Dirk Müller diff --git a/python-outcome.spec b/python-outcome.spec index 00044db..71c247f 100644 --- a/python-outcome.spec +++ b/python-outcome.spec @@ -16,9 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%{?sle15_python_module_pythons} Name: python-outcome Version: 1.2.0 Release: 0 @@ -32,15 +29,14 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 BuildArch: noarch +%{?sle15_python_module_pythons} # SECTION test requirements BuildRequires: %{python_module attrs >= 19.2.0} BuildRequires: %{python_module pytest} -%if 0%{suse_version} >= 1550 || (0%{suse_version} == 1500 && 0%{?sle_version} >= 150400) +%if 0%{?suse_version} >= 1550 || (0%{?suse_version} == 1500 && 0%{?sle_version} >= 150400) # for more than one python 3 flavor, but no python2 flavor -BuildRequires: %{python_module async_generator} BuildRequires: %{python_module pytest-asyncio} %else -BuildRequires: python3-async_generator BuildRequires: python3-pytest-asyncio %endif # /SECTION