15
0
forked from pool/python-fire

- support-python-311.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=27
This commit is contained in:
2024-11-12 00:32:43 +00:00
committed by Git OBS Bridge
parent 152c0ff7a1
commit bdc123da6b
2 changed files with 1 additions and 14 deletions

View File

@@ -41,6 +41,7 @@ Thu Oct 31 14:31:28 UTC 2024 - pgajdos@suse.com
* Replace Python 2 type hints with real type annotations by @dbieber in #559
- Replace upstreamed patch:
- python-fire-no-mock.patch
- support-python-311.patch
-------------------------------------------------------------------
Tue Feb 7 01:05:45 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,14 +0,0 @@
Index: fire-0.5.0/fire/test_components_py3.py
===================================================================
--- fire-0.5.0.orig/fire/test_components_py3.py
+++ fire-0.5.0/fire/test_components_py3.py
@@ -57,8 +57,7 @@ def lru_cache_decorated(arg1):
class WithAsyncio(object):
- @asyncio.coroutine
- def double(self, count=0):
+ async def double(self, count=0):
return 2 * count