Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-JsonWeb for openSUSE:Factory 
checked in at 2023-04-10 21:24:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-JsonWeb (Old)
 and      /work/SRC/openSUSE:Factory/.python-JsonWeb.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-JsonWeb"

Mon Apr 10 21:24:51 2023 rev:6 rq:1078256 version:0.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-JsonWeb/python-JsonWeb.changes    
2020-06-10 00:52:27.267577779 +0200
+++ /work/SRC/openSUSE:Factory/.python-JsonWeb.new.19717/python-JsonWeb.changes 
2023-04-10 21:24:55.004775628 +0200
@@ -1,0 +2,5 @@
+Mon Apr 10 12:14:57 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add python-311.patch to support python 3.11
+
+-------------------------------------------------------------------

New:
----
  python-311.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-JsonWeb.spec ++++++
--- /var/tmp/diff_new_pack.psASiB/_old  2023-04-10 21:24:55.704779702 +0200
+++ /var/tmp/diff_new_pack.psASiB/_new  2023-04-10 21:24:55.712779749 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-JsonWeb
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-JsonWeb
 Version:        0.8.2
 Release:        0
@@ -24,6 +23,8 @@
 License:        BSD-3-Clause
 URL:            http://www.jsonweb.info/
 Source:         
https://files.pythonhosted.org/packages/source/J/JsonWeb/JsonWeb-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE python-311.patch
+Patch0:         python-311.patch
 BuildRequires:  %{python_module pytest}
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -34,7 +35,7 @@
 to your python classes.
 
 %prep
-%setup -q -n JsonWeb-%{version}
+%autosetup -p1 -n JsonWeb-%{version}
 
 %build
 %python_build
@@ -47,6 +48,7 @@
 
 %files %{python_files}
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/jsonweb
+%{python_sitelib}/JsonWeb-%{version}*-info
 
 %changelog

++++++ python-311.patch ++++++
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:   

Reply via email to