Hello community,

here is the log from the commit of package python-jsonrpclib-pelix for 
openSUSE:Leap:15.2 checked in at 2020-05-01 15:07:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-jsonrpclib-pelix (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-jsonrpclib-pelix.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jsonrpclib-pelix"

Fri May  1 15:07:49 2020 rev:12 rq:799456 version:0.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-jsonrpclib-pelix/python-jsonrpclib-pelix.changes
        2020-03-09 18:07:08.476870407 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-jsonrpclib-pelix.new.2738/python-jsonrpclib-pelix.changes
      2020-05-01 15:07:53.534641941 +0200
@@ -1,0 +2,11 @@
+Thu Apr 30 07:42:48 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
+Thu Apr 30 07:34:43 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.4.1:
+  * Fixed a size computation issue in the request handler (see #42)
+
+-------------------------------------------------------------------

Old:
----
  v0.4.0.tar.gz

New:
----
  v0.4.1.tar.gz

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

Other differences:
------------------
++++++ python-jsonrpclib-pelix.spec ++++++
--- /var/tmp/diff_new_pack.rkZyP7/_old  2020-05-01 15:07:54.186643357 +0200
+++ /var/tmp/diff_new_pack.rkZyP7/_new  2020-05-01 15:07:54.190643366 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonrpclib-pelix
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,11 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jsonrpclib-pelix
-Version:        0.4.0
+Version:        0.4.1
 Release:        0
 Summary:        JSPN-RPC over HTTP Library for Pelix Remote Services
 License:        Apache-2.0
-Group:          Development/Libraries/Python
-Url:            https://github.com/tcalmant/jsonrpclib/
+URL:            https://github.com/tcalmant/jsonrpclib/
 Source:         
https://github.com/tcalmant/jsonrpclib/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -37,6 +36,7 @@
 
 %prep
 %setup -q -n jsonrpclib-%{version}
+sed -i -e 's:python$:python3:' tests/cgi-bin/cgi_server.py
 
 %build
 %python_build

++++++ v0.4.0.tar.gz -> v0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/README.md 
new/jsonrpclib-0.4.1/README.md
--- old/jsonrpclib-0.4.0/README.md      2019-01-13 19:12:05.000000000 +0100
+++ new/jsonrpclib-0.4.1/README.md      2020-04-12 16:36:53.000000000 +0200
@@ -95,6 +95,21 @@
 python setup.py install
 ```
 
+## A note on logging
+
+`jsonrpclib-pelix` uses the `logging` module from the standard Python
+library to trace warnings and errors, but doesn't set it up.
+As a result, you have to configure the Python logging to print out traces.
+
+The easiest way to do it is to add those lines at the beginning of your code:
+```python
+import logging
+logging.basiConfig()
+```
+
+More information can be found in the
+[`logging` documentation page](https://docs.python.org/3/library/logging.html).
+
 ## `SimpleJSONRPCServer`
 
 This is identical in usage (or should be) to the `SimpleXMLRPCServer` in the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/docs/license.rst 
new/jsonrpclib-0.4.1/docs/license.rst
--- old/jsonrpclib-0.4.0/docs/license.rst       2019-01-13 19:12:05.000000000 
+0100
+++ new/jsonrpclib-0.4.1/docs/license.rst       2020-04-12 16:36:53.000000000 
+0200
@@ -10,7 +10,7 @@
 
 This snippet is added to the module-level documentation::
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/docs/server.rst 
new/jsonrpclib-0.4.1/docs/server.rst
--- old/jsonrpclib-0.4.0/docs/server.rst        2019-01-13 19:12:05.000000000 
+0100
+++ new/jsonrpclib-0.4.1/docs/server.rst        2020-04-12 16:36:53.000000000 
+0200
@@ -39,6 +39,24 @@
    server.serve_forever()
 
 
+A note on logging
+=================
+
+``jsonrpclib-pelix`` uses the ``logging`` module from the standard Python
+library to trace warnings and errors, but doesn't set it up.
+As a result, you have to configure the Python logging to print out traces.
+
+The easiest way to do it is to add those lines at the beginning of your code:
+
+.. code-block:: python
+
+   import logging
+   logging.basicConfig()
+
+More information can be found in the
+`logging documentation page <https://docs.python.org/3/library/logging.html>`_.
+
+
 Notification Thread Pool
 ========================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/SimpleJSONRPCServer.py 
new/jsonrpclib-0.4.1/jsonrpclib/SimpleJSONRPCServer.py
--- old/jsonrpclib-0.4.0/jsonrpclib/SimpleJSONRPCServer.py      2019-01-13 
19:12:05.000000000 +0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/SimpleJSONRPCServer.py      2020-04-12 
16:36:53.000000000 +0200
@@ -5,13 +5,13 @@
 CGI request handler.
 
 :authors: Josh Marshall, Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@
 # 
------------------------------------------------------------------------------
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
@@ -442,7 +442,7 @@
                 if not raw_chunk:
                     break
                 chunks.append(utils.from_bytes(raw_chunk))
-                size_remaining -= len(chunks[-1])
+                size_remaining -= len(raw_chunk)
             data = ''.join(chunks)
 
             try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/__init__.py 
new/jsonrpclib-0.4.1/jsonrpclib/__init__.py
--- old/jsonrpclib-0.4.0/jsonrpclib/__init__.py 2019-01-13 19:12:05.000000000 
+0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/__init__.py 2020-04-12 16:36:53.000000000 
+0200
@@ -4,13 +4,13 @@
 Aliases to ease access to jsonrpclib classes
 
 :authors: Josh Marshall, Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@
 
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/config.py 
new/jsonrpclib-0.4.1/jsonrpclib/config.py
--- old/jsonrpclib-0.4.0/jsonrpclib/config.py   2019-01-13 19:12:05.000000000 
+0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/config.py   2020-04-12 16:36:53.000000000 
+0200
@@ -3,13 +3,13 @@
 """
 The configuration module.
 
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
 # 
------------------------------------------------------------------------------
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/history.py 
new/jsonrpclib-0.4.1/jsonrpclib/history.py
--- old/jsonrpclib-0.4.0/jsonrpclib/history.py  2019-01-13 19:12:05.000000000 
+0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/history.py  2020-04-12 16:36:53.000000000 
+0200
@@ -4,13 +4,13 @@
 The history module.
 
 :authors: Josh Marshall, Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@
 """
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/jsonclass.py 
new/jsonrpclib-0.4.1/jsonrpclib/jsonclass.py
--- old/jsonrpclib-0.4.0/jsonrpclib/jsonclass.py        2019-01-13 
19:12:05.000000000 +0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/jsonclass.py        2020-04-12 
16:36:53.000000000 +0200
@@ -4,13 +4,13 @@
 The serialization module
 
 :authors: Josh Marshall, Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@
 # 
------------------------------------------------------------------------------
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/jsonrpc.py 
new/jsonrpclib-0.4.1/jsonrpclib/jsonrpc.py
--- old/jsonrpclib-0.4.0/jsonrpclib/jsonrpc.py  2019-01-13 19:12:05.000000000 
+0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/jsonrpc.py  2020-04-12 16:36:53.000000000 
+0200
@@ -36,13 +36,13 @@
 See https://github.com/tcalmant/jsonrpclib for more info.
 
 :authors: Josh Marshall, Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -100,7 +100,7 @@
 # 
------------------------------------------------------------------------------
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/threadpool.py 
new/jsonrpclib-0.4.1/jsonrpclib/threadpool.py
--- old/jsonrpclib-0.4.0/jsonrpclib/threadpool.py       2019-01-13 
19:12:05.000000000 +0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/threadpool.py       2020-04-12 
16:36:53.000000000 +0200
@@ -4,13 +4,13 @@
 Cached thread pool, inspired from Pelix/iPOPO Thread Pool
 
 :author: Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@
 # 
------------------------------------------------------------------------------
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/jsonrpclib/utils.py 
new/jsonrpclib-0.4.1/jsonrpclib/utils.py
--- old/jsonrpclib-0.4.0/jsonrpclib/utils.py    2019-01-13 19:12:05.000000000 
+0100
+++ new/jsonrpclib-0.4.1/jsonrpclib/utils.py    2020-04-12 16:36:53.000000000 
+0200
@@ -4,13 +4,13 @@
 Utility methods, for compatibility between Python version
 
 :author: Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
 # 
------------------------------------------------------------------------------
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/setup.py 
new/jsonrpclib-0.4.1/setup.py
--- old/jsonrpclib-0.4.0/setup.py       2019-01-13 19:12:05.000000000 +0100
+++ new/jsonrpclib-0.4.1/setup.py       2020-04-12 16:36:53.000000000 +0200
@@ -4,13 +4,13 @@
 Installation script
 
 :authors: Josh Marshall, Thomas Calmant
-:copyright: Copyright 2019, Thomas Calmant
+:copyright: Copyright 2020, Thomas Calmant
 :license: Apache License 2.0
-:version: 0.4.0
+:version: 0.4.1
 
 ..
 
-    Copyright 2019 Thomas Calmant
+    Copyright 2020 Thomas Calmant
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@
 """
 
 # Module version
-__version_info__ = (0, 4, 0)
+__version_info__ = (0, 4, 1)
 __version__ = ".".join(str(x) for x in __version_info__)
 
 # Documentation strings format


Reply via email to