15
0

- Add python-311.patch to support python 3.11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-JsonWeb?expand=0&rev=12
This commit is contained in:
2023-04-10 12:15:44 +00:00
committed by Git OBS Bridge
parent 9b458350b7
commit b16c829a72
3 changed files with 24 additions and 4 deletions

13
python-311.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: JsonWeb-0.8.2/jsonweb/decode.py
===================================================================
--- JsonWeb-0.8.2.orig/jsonweb/decode.py
+++ JsonWeb-0.8.2/jsonweb/decode.py
@@ -231,7 +231,7 @@ class ObjectHook(object):
def get_arg_spec(func):
- arg_spec = inspect.getargspec(func)
+ arg_spec = inspect.getfullargspec(func)
args = arg_spec.args
try: