Dirk Mueller 2023-09-06 19:51:40 +00:00 committed by Git OBS Bridge
parent 0119833f3c
commit bf9157ec5e
2 changed files with 8 additions and 6 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,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