Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cepa for openSUSE:Factory 
checked in at 2023-03-08 14:53:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cepa (Old)
 and      /work/SRC/openSUSE:Factory/.python-cepa.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cepa"

Wed Mar  8 14:53:23 2023 rev:3 rq:1070054 version:1.8.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cepa/python-cepa.changes  2022-10-29 
20:18:41.210715784 +0200
+++ /work/SRC/openSUSE:Factory/.python-cepa.new.31432/python-cepa.changes       
2023-03-08 14:53:28.902973077 +0100
@@ -1,0 +2,6 @@
+Wed Mar  8 04:31:43 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch use-fullargspec.patch:
+  - Stop using a function that was removed in Python 3.11.
+
+-------------------------------------------------------------------

New:
----
  use-fullargspec.patch

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

Other differences:
------------------
++++++ python-cepa.spec ++++++
--- /var/tmp/diff_new_pack.070MdG/_old  2023-03-08 14:53:29.486976257 +0100
+++ /var/tmp/diff_new_pack.070MdG/_new  2023-03-08 14:53:29.490976279 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cepa
 #
-# Copyright (c) 2022 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
@@ -28,6 +28,7 @@
 # PATCH-FIX-UPSTREAM mock.patch gh#onionshare/cepa#1 mc...@suse.com
 # Replace use of the external mock module with the one in stdlib.
 Patch0:         mock.patch
+Patch1:         use-fullargspec.patch
 BuildRequires:  %{python_module cryptography}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{pythons}

++++++ use-fullargspec.patch ++++++
Index: cepa-1.8.4/stem/control.py
===================================================================
--- cepa-1.8.4.orig/stem/control.py
+++ cepa-1.8.4/stem/control.py
@@ -474,7 +474,7 @@ def with_default(yields = False):
 
   def decorator(func):
     def get_default(func, args, kwargs):
-      arg_names = inspect.getargspec(func).args[1:]  # drop 'self'
+      arg_names = inspect.getfullargspec(func).args[1:]  # drop 'self'
       default_position = arg_names.index('default') if 'default' in arg_names 
else None
 
       if default_position is not None and default_position < len(args):
Index: cepa-1.8.4/stem/util/conf.py
===================================================================
--- cepa-1.8.4.orig/stem/util/conf.py
+++ cepa-1.8.4/stem/util/conf.py
@@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_loa
         config.load(path)
         config._settings_loaded = True
 
-      if 'config' in inspect.getargspec(func).args:
+      if 'config' in inspect.getfullargspec(func).args:
         return func(*args, config = config, **kwargs)
       else:
         return func(*args, **kwargs)

Reply via email to