- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pyro4?expand=0&rev=24
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e130da06478b813173b959f7013d134865e07fbf58cc5f1a2598f99479cdac5f
|
||||
size 514678
|
||||
3
Pyro4-4.82.tar.gz
Normal file
3
Pyro4-4.82.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:511f5b0804e92dd77dc33adf9c947787e3f9e9c5a96b12162f0557a7c4ce21fb
|
||||
size 516110
|
||||
@@ -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__
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user