diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-11 07:02:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-11 07:02:28 +0100 |
commit | 068424b26532f3551a81421a9be67ed206e5c11a (patch) | |
tree | 583b8d979899a463a4ef5b26d3d49e85df987623 /dev-python/tqdm/files/tqdm-4.61.1-py310.patch | |
parent | d162ba1860a88062f4cd61f8b52fc303ba0b2991 (diff) |
gentoo resync : 11.08.2021
Diffstat (limited to 'dev-python/tqdm/files/tqdm-4.61.1-py310.patch')
-rw-r--r-- | dev-python/tqdm/files/tqdm-4.61.1-py310.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-python/tqdm/files/tqdm-4.61.1-py310.patch b/dev-python/tqdm/files/tqdm-4.61.1-py310.patch deleted file mode 100644 index 10cb898d4809..000000000000 --- a/dev-python/tqdm/files/tqdm-4.61.1-py310.patch +++ /dev/null @@ -1,35 +0,0 @@ -From d2a6ec2ab84aec847b1598bb2a777103cea7fc9f Mon Sep 17 00:00:00 2001 -From: Casper da Costa-Luis <tqdm@cdcl.ml> -Date: Sat, 12 Jun 2021 17:39:37 +0100 -Subject: [PATCH] fix py3.10 `asyncio` tests - -- fixes #1176 ---- - tqdm/asyncio.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/tqdm/asyncio.py b/tqdm/asyncio.py -index 0d3ba747d..8f9b4ed6e 100644 ---- a/tqdm/asyncio.py -+++ b/tqdm/asyncio.py -@@ -8,6 +8,7 @@ - ... ... - """ - import asyncio -+from sys import version_info - - from .std import tqdm as std_tqdm - -@@ -60,7 +61,11 @@ def as_completed(cls, fs, *, loop=None, timeout=None, total=None, **tqdm_kwargs) - """ - if total is None: - total = len(fs) -- yield from cls(asyncio.as_completed(fs, loop=loop, timeout=timeout), -+ -+ kwargs = {} -+ if version_info[:2] < (3, 10): -+ kwargs['loop'] = loop -+ yield from cls(asyncio.as_completed(fs, timeout=timeout, **kwargs), - total=total, **tqdm_kwargs) - - @classmethod |