Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Pyro4 for openSUSE:Factory 
checked in at 2021-12-23 17:53:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pyro4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-Pyro4.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Pyro4"

Thu Dec 23 17:53:26 2021 rev:9 rq:942010 version:4.81

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pyro4/python-Pyro4.changes        
2021-03-05 13:44:28.587578569 +0100
+++ /work/SRC/openSUSE:Factory/.python-Pyro4.new.2520/python-Pyro4.changes      
2021-12-23 17:53:28.443708874 +0100
@@ -1,0 +2,12 @@
+Tue Dec 21 18:29:33 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to v4.81
+  * fix some typo's in docs
+  * corrected some minor other things in docs
+  * Python 3.9 is now included in the unit test runs
+  * No actual code changes.
+- (update just to satisfy the weekly report on d:l:python* scripts)
+- Add patch Pyro4-pr238-py310-cmethod-smethod.patch
+  * gh#irmen/Pyro4#238
+
+-------------------------------------------------------------------

Old:
----
  Pyro4-4.80.tar.gz

New:
----
  Pyro4-4.81.tar.gz
  Pyro4-pr238-py310-cmethod-smethod.patch

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

Other differences:
------------------
++++++ python-Pyro4.spec ++++++
--- /var/tmp/diff_new_pack.771Pa2/_old  2021-12-23 17:53:28.883709147 +0100
+++ /var/tmp/diff_new_pack.771Pa2/_new  2021-12-23 17:53:28.891709152 +0100
@@ -19,18 +19,20 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-Pyro4
-Version:        4.80
+Version:        4.81
 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
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 Recommends:     ca-certificates
 Recommends:     python-cloudpickle >= 0.4.0
 Recommends:     python-dill >= 0.2.6
@@ -64,7 +66,7 @@
 runs on many different platforms and Python versions.
 
 %prep
-%setup -q -n Pyro4-%{version}
+%autosetup -p1 -n Pyro4-%{version}
 
 %build
 %python_build
@@ -80,7 +82,6 @@
 %python_clone -a %{buildroot}%{_bindir}/pyro4-test-echoserver
 
 %check
-# testContextAndSock missing cert fixtures 
https://github.com/irmen/Pyro4/issues/216
 # socket tests require at least lo interface thus skip them
 skip="testContextAndSock"
 skip+=" or testGetIP or testAutoClean"
@@ -115,6 +116,7 @@
 %python_alternative %{_bindir}/pyro4-ns
 %python_alternative %{_bindir}/pyro4-nsc
 %python_alternative %{_bindir}/pyro4-test-echoserver
-%{python_sitelib}/*
+%{python_sitelib}/Pyro4
+%{python_sitelib}/Pyro4-%{version}*-info
 
 %changelog

++++++ Pyro4-4.80.tar.gz -> Pyro4-4.81.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/PKG-INFO new/Pyro4-4.81/PKG-INFO
--- old/Pyro4-4.80/PKG-INFO     2020-04-29 15:29:05.131391800 +0200
+++ new/Pyro4-4.81/PKG-INFO     2021-09-14 00:10:43.984010700 +0200
@@ -1,25 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: Pyro4
-Version: 4.80
+Version: 4.81
 Summary: distributed object middleware for Python (RPC)
 Home-page: http://pyro4.readthedocs.io
 Author: Irmen de Jong
 Author-email: ir...@razorvine.net
 License: MIT
-Description: Pyro means PYthon Remote Objects.
-        It is a library that enables you to build applications in which
-        objects can talk to eachother over the network, with minimal 
programming effort.
-        You can just use normal Python method calls, with almost every 
possible parameter
-        and return value type, and Pyro takes care of locating the right 
object on the right
-        computer to execute the method. It is designed to be very easy to use, 
and to
-        generally stay out of your way. But it also provides a set of powerful 
features that
-        enables you to build distributed applications rapidly and effortlessly.
-        Pyro is a pure Python library and runs on many different platforms and 
Python versions.
-        
-        The source code repository is on Github: https://github.com/irmen/Pyro4
-        
-        The documentation can be found here: http://pyro4.readthedocs.io
-        
 Keywords: distributed objects,RPC,remote method call,IPC
 Platform: any
 Classifier: Development Status :: 5 - Production/Stable
@@ -35,7 +21,25 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Topic :: Software Development :: Object Brokering
 Classifier: Topic :: System :: Distributed Computing
 Classifier: Topic :: System :: Networking
 Requires: serpent
+License-File: LICENSE
+
+Pyro means PYthon Remote Objects.
+It is a library that enables you to build applications in which
+objects can talk to eachother over the network, with minimal programming 
effort.
+You can just use normal Python method calls, with almost every possible 
parameter
+and return value type, and Pyro takes care of locating the right object on the 
right
+computer to execute the method. It is designed to be very easy to use, and to
+generally stay out of your way. But it also provides a set of powerful 
features that
+enables you to build distributed applications rapidly and effortlessly.
+Pyro is a pure Python library and runs on many different platforms and Python 
versions.
+
+The source code repository is on Github: https://github.com/irmen/Pyro4
+
+The documentation can be found here: http://pyro4.readthedocs.io
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/docs/source/changelog.rst 
new/Pyro4-4.81/docs/source/changelog.rst
--- old/Pyro4-4.80/docs/source/changelog.rst    2020-03-09 21:46:25.000000000 
+0100
+++ new/Pyro4-4.81/docs/source/changelog.rst    2021-09-13 23:38:17.000000000 
+0200
@@ -2,6 +2,14 @@
 Change Log
 **********
 
+**Pyro 4.81**
+
+- fix some typo's in docs
+- corrected some minor other things in docs
+- Python 3.9 is now included in the unit test runs
+- No actual code changes.
+
+
 **Pyro 4.80**
 
 - fix possible race condition when creating instances with instancemode 
"single"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/docs/source/conf.py 
new/Pyro4-4.81/docs/source/conf.py
--- old/Pyro4-4.80/docs/source/conf.py  2018-09-04 00:09:27.000000000 +0200
+++ new/Pyro4-4.81/docs/source/conf.py  2021-09-14 00:03:46.000000000 +0200
@@ -230,7 +230,7 @@
 
 def setup(app):
     # add custom css
-    app.add_stylesheet("css/customize.css")
+    app.add_css_file("css/customize.css")
     from sphinx.ext.autodoc import cut_lines
     # skip the copyright line in every module docstring (last line of 
docstring)
     app.connect('autodoc-process-docstring', cut_lines(pre=0, post=1, 
what=['module']))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/docs/source/pyrolite.rst 
new/Pyro4-4.81/docs/source/pyrolite.rst
--- old/Pyro4-4.80/docs/source/pyrolite.rst     2019-07-15 22:21:46.000000000 
+0200
+++ new/Pyro4-4.81/docs/source/pyrolite.rst     2020-10-06 19:32:01.000000000 
+0200
@@ -20,6 +20,7 @@
 and a small part of Pyro's client network protocol and proxy logic. It can  use
 the Serpent serialization format as well.
 
+*Use the 4.x version of the library with Pyro4.*
 
 *Getting the .NET version:*
 The .NET version is available using the nuget package manager, package name is 
``Razorvine.Pyrolite``
@@ -28,9 +29,9 @@
 *Getting the Java version:*
 The Java library can be obtained from `Maven 
<http://search.maven.org/#search|ga|1|razorvine>`_, groupid ``net.razorvine`` 
artifactid ``pyrolite``.
 
-Source is on Github: https://github.com/irmen/Pyrolite
+Source is on Github: https://github.com/irmen/Pyrolite/tree/pyro4-legacy  in 
the 'pyro4-legacy' branch.
 
-Readme: https://github.com/irmen/Pyrolite/blob/master/README.md
+Readme: https://github.com/irmen/Pyrolite/blob/pyro4-legacy/README.md
 
 
 Small code example in Java:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/docs/source/servercode.rst 
new/Pyro4-4.81/docs/source/servercode.rst
--- old/Pyro4-4.80/docs/source/servercode.rst   2018-08-16 09:50:01.000000000 
+0200
+++ new/Pyro4-4.81/docs/source/servercode.rst   2020-10-06 19:32:01.000000000 
+0200
@@ -341,7 +341,7 @@
 It has a few optional arguments when you create it:
 
 
-.. function:: Daemon([host=None, port=0, unixsocket=None, nathost=None, 
natport=None, interface=DaemonObject])
+.. function:: Daemon([host=None, port=0, unixsocket=None, nathost=None, 
natport=None, interface=DaemonObject, connected_socket=None])
 
     Create a new Pyro daemon.
 
@@ -360,6 +360,8 @@
     :type port: int
     :param interface: optional alternative daemon object implementation (that 
provides the Pyro API of the daemon itself)
     :type interface: Pyro4.core.DaemonObject
+    :param connected_socket: optional existing socket connection to use 
instead of creating a new server socket
+    :type interface: socket
 
 
 .. index::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/docs/source/tipstricks.rst 
new/Pyro4-4.81/docs/source/tipstricks.rst
--- old/Pyro4-4.80/docs/source/tipstricks.rst   2019-07-02 15:39:15.000000000 
+0200
+++ new/Pyro4-4.81/docs/source/tipstricks.rst   2021-07-03 14:52:49.000000000 
+0200
@@ -119,7 +119,7 @@
     $ export PYRO_LOGLEVEL=DEBUG
     $ python my_pyro_program.py
 
-Another way is by modifiying ``os.environ`` from within your code itself, 
*before* any import of Pyro4 is done::
+Another way is by modifying ``os.environ`` from within your code itself, 
*before* any import of Pyro4 is done::
 
     import os
     os.environ["PYRO_LOGFILE"] = "pyro.log"
@@ -631,6 +631,9 @@
 - 500 Internal server error: something went wrong during request processing, 
response is serialized exception object (if available)
 
 
+Look at the :file:`http` example for working code how you could set this up.
+
+
 .. index:: current_context, correlation_id
 .. _current_context:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/examples/itunes/itunescontroller.py 
new/Pyro4-4.81/examples/itunes/itunescontroller.py
--- old/Pyro4-4.80/examples/itunes/itunescontroller.py  2018-08-16 
09:50:01.000000000 +0200
+++ new/Pyro4-4.81/examples/itunes/itunescontroller.py  2021-07-03 
14:52:49.000000000 +0200
@@ -35,7 +35,7 @@
         subprocess.call(["osascript", "-e", "tell application \"iTunes\" to 
previous track"])
 
     def playlist(self, listname):
-        # start playling a defined play list
+        # start playing a defined play list
         subprocess.call(["osascript", "-e", "tell application \"iTunes\" to 
play playlist \"{0}\"".format(listname)])
 
     def currentsong(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Pyro4-4.80/examples/messagebus/messagebus/__init__.py 
new/Pyro4-4.81/examples/messagebus/messagebus/__init__.py
--- old/Pyro4-4.80/examples/messagebus/messagebus/__init__.py   2018-08-16 
09:50:01.000000000 +0200
+++ new/Pyro4-4.81/examples/messagebus/messagebus/__init__.py   2021-07-03 
14:52:49.000000000 +0200
@@ -1,6 +1,6 @@
 """
 Pyro MessageBus:  a simple pub/sub message bus.
-Provides a way of cummunicating where the sender and receivers are fully 
decoupled.
+Provides a way of communicating where the sender and receivers are fully 
decoupled.
 
 Pyro - Python Remote Objects.  Copyright by Irmen de Jong 
(ir...@razorvine.net).
 """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Pyro4-4.80/examples/messagebus/messagebus/messagebus.py 
new/Pyro4-4.81/examples/messagebus/messagebus/messagebus.py
--- old/Pyro4-4.80/examples/messagebus/messagebus/messagebus.py 2018-08-16 
09:50:01.000000000 +0200
+++ new/Pyro4-4.81/examples/messagebus/messagebus/messagebus.py 2021-07-03 
14:52:49.000000000 +0200
@@ -1,6 +1,6 @@
 """
 Pyro MessageBus:  a simple pub/sub message bus.
-Provides a way of cummunicating where the sender and receivers are fully 
decoupled.
+Provides a way of communicating where the sender and receivers are fully 
decoupled.
 
 Pyro - Python Remote Objects.  Copyright by Irmen de Jong 
(ir...@razorvine.net).
 """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/examples/messagebus/messagebus/server.py 
new/Pyro4-4.81/examples/messagebus/messagebus/server.py
--- old/Pyro4-4.80/examples/messagebus/messagebus/server.py     2018-08-16 
09:50:01.000000000 +0200
+++ new/Pyro4-4.81/examples/messagebus/messagebus/server.py     2021-07-03 
14:52:49.000000000 +0200
@@ -1,6 +1,6 @@
 """
 Pyro MessageBus:  a simple pub/sub message bus.
-Provides a way of cummunicating where the sender and receivers are fully 
decoupled.
+Provides a way of communicating where the sender and receivers are fully 
decoupled.
 
 Pyro - Python Remote Objects.  Copyright by Irmen de Jong 
(ir...@razorvine.net).
 """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/setup.py new/Pyro4-4.81/setup.py
--- old/Pyro4-4.80/setup.py     2020-01-28 00:32:08.000000000 +0100
+++ new/Pyro4-4.81/setup.py     2021-06-12 13:51:38.000000000 +0200
@@ -77,6 +77,7 @@
             "Programming Language :: Python :: 3.6",
             "Programming Language :: Python :: 3.7",
             "Programming Language :: Python :: 3.8",
+            "Programming Language :: Python :: 3.9",
             "Topic :: Software Development :: Object Brokering",
             "Topic :: System :: Distributed Computing",
             "Topic :: System :: Networking"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/src/Pyro4/constants.py 
new/Pyro4-4.81/src/Pyro4/constants.py
--- old/Pyro4-4.80/src/Pyro4/constants.py       2020-04-29 15:02:31.000000000 
+0200
+++ new/Pyro4-4.81/src/Pyro4/constants.py       2021-09-13 23:39:04.000000000 
+0200
@@ -5,7 +5,7 @@
 """
 
 # Pyro version
-VERSION = "4.80"
+VERSION = "4.81"
 
 # standard object name for the Daemon object
 DAEMON_NAME = "Pyro.Daemon"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/src/Pyro4/futures.py 
new/Pyro4-4.81/src/Pyro4/futures.py
--- old/Pyro4-4.80/src/Pyro4/futures.py 2018-08-16 09:50:01.000000000 +0200
+++ new/Pyro4-4.81/src/Pyro4/futures.py 2021-07-03 14:52:49.000000000 +0200
@@ -78,7 +78,7 @@
     def delay(self, seconds):
         """
         Delay the evaluation of the future for the given number of seconds.
-        Return True if succesful otherwise False if the future has already 
been evaluated.
+        Return True if successful otherwise False if the future has already 
been evaluated.
         """
         if self.completed:
             return False
@@ -88,7 +88,7 @@
     def cancel(self):
         """
         Cancels the execution of the future altogether.
-        If the execution hasn't been started yet, the cancellation is 
succesful and returns True.
+        If the execution hasn't been started yet, the cancellation is 
successful and returns True.
         Otherwise, it failed and returns False.
         """
         if self.completed:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/src/Pyro4.egg-info/PKG-INFO 
new/Pyro4-4.81/src/Pyro4.egg-info/PKG-INFO
--- old/Pyro4-4.80/src/Pyro4.egg-info/PKG-INFO  2020-04-29 15:29:05.000000000 
+0200
+++ new/Pyro4-4.81/src/Pyro4.egg-info/PKG-INFO  2021-09-14 00:10:43.000000000 
+0200
@@ -1,25 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: Pyro4
-Version: 4.80
+Version: 4.81
 Summary: distributed object middleware for Python (RPC)
 Home-page: http://pyro4.readthedocs.io
 Author: Irmen de Jong
 Author-email: ir...@razorvine.net
 License: MIT
-Description: Pyro means PYthon Remote Objects.
-        It is a library that enables you to build applications in which
-        objects can talk to eachother over the network, with minimal 
programming effort.
-        You can just use normal Python method calls, with almost every 
possible parameter
-        and return value type, and Pyro takes care of locating the right 
object on the right
-        computer to execute the method. It is designed to be very easy to use, 
and to
-        generally stay out of your way. But it also provides a set of powerful 
features that
-        enables you to build distributed applications rapidly and effortlessly.
-        Pyro is a pure Python library and runs on many different platforms and 
Python versions.
-        
-        The source code repository is on Github: https://github.com/irmen/Pyro4
-        
-        The documentation can be found here: http://pyro4.readthedocs.io
-        
 Keywords: distributed objects,RPC,remote method call,IPC
 Platform: any
 Classifier: Development Status :: 5 - Production/Stable
@@ -35,7 +21,25 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Topic :: Software Development :: Object Brokering
 Classifier: Topic :: System :: Distributed Computing
 Classifier: Topic :: System :: Networking
 Requires: serpent
+License-File: LICENSE
+
+Pyro means PYthon Remote Objects.
+It is a library that enables you to build applications in which
+objects can talk to eachother over the network, with minimal programming 
effort.
+You can just use normal Python method calls, with almost every possible 
parameter
+and return value type, and Pyro takes care of locating the right object on the 
right
+computer to execute the method. It is designed to be very easy to use, and to
+generally stay out of your way. But it also provides a set of powerful 
features that
+enables you to build distributed applications rapidly and effortlessly.
+Pyro is a pure Python library and runs on many different platforms and Python 
versions.
+
+The source code repository is on Github: https://github.com/irmen/Pyro4
+
+The documentation can be found here: http://pyro4.readthedocs.io
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyro4-4.80/tox.ini new/Pyro4-4.81/tox.ini
--- old/Pyro4-4.80/tox.ini      2019-06-25 00:18:10.000000000 +0200
+++ new/Pyro4-4.81/tox.ini      2020-10-06 19:34:15.000000000 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist=py27,py35,py36,py37,py38,pypy
+envlist=py27,py35,py36,py37,py38,py39,pypy
 
 [testenv]
 deps=-rtest_requirements.txt

++++++ Pyro4-pr238-py310-cmethod-smethod.patch ++++++
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__

Reply via email to