Compare commits

1 Commits
main ... 1.1

4 changed files with 9 additions and 20 deletions

BIN
outcome-1.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
outcome-1.3.0.post0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,18 +1,3 @@
-------------------------------------------------------------------
Tue Dec 12 13:41:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0.post0:
* Added type hints to the package. :py:class:`Value` and
:py:class:`Outcome` are now generic. A type alias was also added
(:py:data:`Maybe`) for the union of :py:class:`Value` and
:py:class:`Error`. (#36)
-------------------------------------------------------------------
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,11 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-outcome
Version: 1.3.0.post0
Version: 1.2.0
Release: 0
Summary: Function for capturing the outcome of Python function calls
License: Apache-2.0 OR MIT
@@ -33,10 +35,12 @@ 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