diff --git a/aioitertools-0.7.1.tar.gz b/aioitertools-0.7.1.tar.gz deleted file mode 100644 index 0613882..0000000 --- a/aioitertools-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54a56c7cf3b5290d1cb5e8974353c9f52c677612b5d69a859369a020c53414a3 -size 27838 diff --git a/aioitertools-0.8.0.tar.gz b/aioitertools-0.8.0.tar.gz new file mode 100644 index 0000000..fcbb0b4 --- /dev/null +++ b/aioitertools-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b02facfbc9b0f1867739949a223f3d3267ed8663691cc95abd94e2c1d8c2b46 +size 30284 diff --git a/python-aioitertools.changes b/python-aioitertools.changes index c18611c..cf658b0 100644 --- a/python-aioitertools.changes +++ b/python-aioitertools.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Aug 17 10:11:54 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 0.8.0: + - Added `builtins.any()` and `builtins.all()` (#44) + - `builtins.next()` takes an optional `default` parameter (#40, #41) + - `asyncio.gather()` now handles cancellation (#64) + - Better exception handling in `itertools.tee()` (#47) + - Removed dependency on typing_extensions for Python 3.8 and newer (#49) + - Improved documentation and formatting +- Drop patches for issues fixed upstream + - stdlib-typing_extensions.patch + ------------------------------------------------------------------- Thu May 13 17:58:59 UTC 2021 - Matej Cepl diff --git a/python-aioitertools.spec b/python-aioitertools.spec index 3fadebb..64e60e2 100644 --- a/python-aioitertools.spec +++ b/python-aioitertools.spec @@ -19,16 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-aioitertools -Version: 0.7.1 +Version: 0.8.0 Release: 0 Summary: itertools and builtins for AsyncIO and mixed iterables License: MIT Group: Development/Languages/Python URL: https://aioitertools.omnilib.dev Source: https://files.pythonhosted.org/packages/source/a/aioitertools/aioitertools-%{version}.tar.gz -# PATCH-FIX-UPSTREAM stdlib-typing_extensions.patch gh#omnilib/aioitertools#49 mcepl@suse.com -# Improve dependencies for Python 3.8+ -Patch0: stdlib-typing_extensions.patch BuildRequires: %{python_module asyncio} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing_extensions if %python-base < 3.8} diff --git a/stdlib-typing_extensions.patch b/stdlib-typing_extensions.patch deleted file mode 100644 index 19fd5ab..0000000 --- a/stdlib-typing_extensions.patch +++ /dev/null @@ -1,49 +0,0 @@ -From b8a14c2bee11a954b01288669f4b35a5e4d4c493 Mon Sep 17 00:00:00 2001 -From: Bryan Forbes -Date: Mon, 4 Jan 2021 19:26:31 -0600 -Subject: [PATCH] Improve dependencies for Python 3.8+ - ---- - aioitertools/helpers.py | 8 ++++++-- - pyproject.toml | 2 +- - requirements.txt | 2 +- - 3 files changed, 8 insertions(+), 4 deletions(-) - ---- a/aioitertools/helpers.py -+++ b/aioitertools/helpers.py -@@ -2,12 +2,16 @@ - # Licensed under the MIT license - - import inspect -+import sys - from typing import Awaitable, Union - --from typing_extensions import Protocol -- - from .types import T - -+if sys.version_info < (3, 8): -+ from typing_extensions import Protocol -+else: -+ from typing import Protocol # pylint: disable=no-name-in-module -+ - - class Orderable(Protocol): # pragma: no cover - def __lt__(self, other): ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -8,7 +8,7 @@ author = "John Reese" - author-email = "john@noswap.com" - description-file = "README.md" - home-page = "https://aioitertools.omnilib.dev" --requires = ["typing_extensions>=3.7"] -+requires = ["typing_extensions>=3.7; python_version < '3.8'"] - requires-python = ">=3.6" - classifiers = [ - "Development Status :: 4 - Beta", ---- a/requirements.txt -+++ b/requirements.txt -@@ -1 +1 @@ --typing_extensions>=3.7 -\ No newline at end of file -+typing_extensions>=3.7;python_version<"3.8"