From e7f8cf5f1738f39a32dabaddcd05ca08938b1054 Mon Sep 17 00:00:00 2001 From: dgarcia <> Date: Feb 21 2023 14:51:52 +0000 Subject: Update python-Pyro4 to version 4.82 / rev 10 via SR 1066990 https://build.opensuse.org/request/show/1066990 by user dgarcia + dimstar_suse - Delete Pyro4-pr238-py310-cmethod-smethod.patch - Skip python 3.11, it's not supported and won't be supported. It's recommended to use Pyro5, gh#irmen/Pyro4#246 - Update to v4.82 * fixed @expose issue on static method/classmethod due to API change in Python 3.10 * switched from travis to using github actions for CI builds and tests * Python 3.10 is now included in the unit test runs --- diff --git a/.files b/.files index c03f7c5..90da021 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index ce79f3a..d744e4c 100644 --- a/.rev +++ b/.rev @@ -94,4 +94,19 @@ <comment></comment> <requestid>942010</requestid> </revision> + <revision rev="10" vrev="1"> + <srcmd5>c114374d9470228ef9cf865d24311b84</srcmd5> + <version>4.82</version> + <time>1676990204</time> + <user>dimstar_suse</user> + <comment>- Delete Pyro4-pr238-py310-cmethod-smethod.patch +- Skip python 3.11, it's not supported and won't be supported. It's + recommended to use Pyro5, gh#irmen/Pyro4#246 +- Update to v4.82 + * fixed @expose issue on static method/classmethod due to API change in Python 3.10 + * switched from travis to using github actions for CI builds and tests + * Python 3.10 is now included in the unit test runs +</comment> + <requestid>1066990</requestid> + </revision> </revisionlist> diff --git a/Pyro4-4.81.tar.gz b/Pyro4-4.81.tar.gz deleted file mode 120000 index 11bc23c..0000000 --- a/Pyro4-4.81.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeiall3zeq3ghuoeexhw3hkdxeefdylgl7yqp724437v5pbzrfr4kpi \ No newline at end of file diff --git a/Pyro4-4.82.tar.gz b/Pyro4-4.82.tar.gz new file mode 120000 index 0000000..3cb17b7 --- /dev/null +++ b/Pyro4-4.82.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeibopwkz7ottkyzjcltg2hoktgd625rvkrxzhpcflbpge42pi7agqa \ No newline at end of file diff --git a/Pyro4-pr238-py310-cmethod-smethod.patch b/Pyro4-pr238-py310-cmethod-smethod.patch deleted file mode 100644 index f1fae29..0000000 --- a/Pyro4-pr238-py310-cmethod-smethod.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: Pyro4-4.81/src/Pyro4/core.py -=================================================================== ---- Pyro4-4.81.orig/src/Pyro4/core.py -+++ Pyro4-4.81/src/Pyro4/core.py -@@ -987,7 +987,7 @@ def expose(method_or_class): - func._pyroExposed = True - return method_or_class - attrname = getattr(method_or_class, "__name__", None) -- if not attrname: -+ if not attrname or isinstance(method_or_class, (classmethod, staticmethod)): - # we could be dealing with a descriptor (classmethod/staticmethod), this means the order of the decorators is wrong - if inspect.ismethoddescriptor(method_or_class): - attrname = method_or_class.__get__(None, dict).__name__ diff --git a/python-Pyro4.changes b/python-Pyro4.changes index e80896a..74edcb2 100644 --- a/python-Pyro4.changes +++ b/python-Pyro4.changes @@ -1,4 +1,15 @@ ------------------------------------------------------------------- +Tue Feb 21 11:43:49 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> + +- Delete Pyro4-pr238-py310-cmethod-smethod.patch +- Skip python 3.11, it's not supported and won't be supported. It's + recommended to use Pyro5, gh#irmen/Pyro4#246 +- Update to v4.82 + * fixed @expose issue on static method/classmethod due to API change in Python 3.10 + * switched from travis to using github actions for CI builds and tests + * Python 3.10 is now included in the unit test runs + +------------------------------------------------------------------- Tue Dec 21 18:29:33 UTC 2021 - Ben Greiner <code@bnavigator.de> - Update to v4.81 diff --git a/python-Pyro4.spec b/python-Pyro4.spec index a65e802..becffbc 100644 --- a/python-Pyro4.spec +++ b/python-Pyro4.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pyro4 # -# Copyright (c) 2021 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,18 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Do not support pyhon 3.11, and will never support it, it recommends +# to use Pyro5, gh#irmen/Pyro4#246 +%define skip_python311 1 %bcond_without python2 Name: python-Pyro4 -Version: 4.81 +Version: 4.82 Release: 0 Summary: Distributed object middleware for Python (RPC) License: MIT URL: https://github.com/irmen/Pyro4 Source: https://files.pythonhosted.org/packages/source/P/Pyro4/Pyro4-%{version}.tar.gz BuildRequires: %{python_module setuptools} -# PATCH-FIX-UPSTREAM Pyro4-pr238-py310-cmethod-smethod.patch gh#irmen/Pyro4#238 -Patch0: Pyro4-pr238-py310-cmethod-smethod.patch BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-serpent >= 1.27