Accepting request 1109331 from devel:languages:python

- drop outdated depndendy on async_generator
  (see https://github.com/python-trio/outcome/issues/12)

OBS-URL: https://build.opensuse.org/request/show/1109331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-outcome?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2023-09-07 19:12:05 +00:00 committed by Git OBS Bridge
commit 4640d75b55
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 6 19:50:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@ -16,8 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-outcome
Version: 1.2.0
@ -35,12 +33,10 @@ BuildArch: noarch
# 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