- Update to 0.5.0:
* Support for custom serializers with fire.Fire(serializer=your_serializer)
* Auto-generated help text now shows short arguments (e.g. -a) when
appropriate
* Default values are now shown in help for kwonly arguments
* Completion script fix where previously completions might not show at all
- Refresh python-fire-no-mock.patch
- Add patch support-python-311.patch:
* Support Python 3.11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=23
This commit is contained in:
14
support-python-311.patch
Normal file
14
support-python-311.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user