Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-py-ubjson for 
openSUSE:Factory checked in at 2021-04-23 17:50:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-ubjson (Old)
 and      /work/SRC/openSUSE:Factory/.python-py-ubjson.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-py-ubjson"

Fri Apr 23 17:50:38 2021 rev:6 rq:887880 version:0.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-ubjson/python-py-ubjson.changes        
2020-03-24 22:37:27.653238664 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-py-ubjson.new.12324/python-py-ubjson.changes 
    2021-04-23 17:50:54.646823588 +0200
@@ -1,0 +2,8 @@
+Thu Apr 22 20:14:34 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 0.16.1:
+  - Make recursion unit test work in PyPy also
+  - Don't use C extension under PyPy. (JIT-optimized pure-Python version is
+    considerably faster.)
+
+-------------------------------------------------------------------

Old:
----
  py-ubjson-0.15.0.tar.gz

New:
----
  py-ubjson-0.16.1.tar.gz

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

Other differences:
------------------
++++++ python-py-ubjson.spec ++++++
--- /var/tmp/diff_new_pack.KWiN22/_old  2021-04-23 17:50:55.034824256 +0200
+++ /var/tmp/diff_new_pack.KWiN22/_new  2021-04-23 17:50:55.038824263 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-py-ubjson
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define modname py-ubjson
 Name:           python-py-ubjson
-Version:        0.15.0
+Version:        0.16.1
 Release:        0
 Summary:        Universal Binary JSON encoder/decoder
 License:        Apache-2.0

++++++ py-ubjson-0.15.0.tar.gz -> py-ubjson-0.16.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-ubjson-0.15.0/CHANGELOG 
new/py-ubjson-0.16.1/CHANGELOG
--- old/py-ubjson-0.15.0/CHANGELOG      2020-03-17 11:56:38.000000000 +0100
+++ new/py-ubjson-0.16.1/CHANGELOG      2020-04-18 17:04:08.000000000 +0200
@@ -1,3 +1,10 @@
+0.16.1
+- Make recursion unit test work in PyPy also
+
+0.16.0
+- Don't use C extension under PyPy. (JIT-optimized pure-Python version is
+  considerably faster.)
+
 0.15.0
 - Fix decimal encoding bug/assert (reported by mgorny)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-ubjson-0.15.0/PKG-INFO 
new/py-ubjson-0.16.1/PKG-INFO
--- old/py-ubjson-0.15.0/PKG-INFO       2020-03-17 12:46:10.821954500 +0100
+++ new/py-ubjson-0.16.1/PKG-INFO       2020-04-18 17:05:18.183162200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: py-ubjson
-Version: 0.15.0
+Version: 0.16.1
 Summary: Universal Binary JSON encoder/decoder
 Home-page: https://github.com/Iotic-Labs/py-ubjson
 Author: Iotic Labs Ltd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-ubjson-0.15.0/py_ubjson.egg-info/PKG-INFO 
new/py-ubjson-0.16.1/py_ubjson.egg-info/PKG-INFO
--- old/py-ubjson-0.15.0/py_ubjson.egg-info/PKG-INFO    2020-03-17 
12:46:10.000000000 +0100
+++ new/py-ubjson-0.16.1/py_ubjson.egg-info/PKG-INFO    2020-04-18 
17:05:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: py-ubjson
-Version: 0.15.0
+Version: 0.16.1
 Summary: Universal Binary JSON encoder/decoder
 Home-page: https://github.com/Iotic-Labs/py-ubjson
 Author: Iotic Labs Ltd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-ubjson-0.15.0/setup.py 
new/py-ubjson-0.16.1/setup.py
--- old/py-ubjson-0.15.0/setup.py       2020-03-17 10:34:42.000000000 +0100
+++ new/py-ubjson-0.16.1/setup.py       2020-04-18 16:53:19.000000000 +0200
@@ -18,6 +18,7 @@
 import os
 import warnings
 from glob import glob
+from platform import python_implementation
 
 # Allow for environments without setuptools
 try:
@@ -63,7 +64,7 @@
                           % ext.name)
 
 
-BUILD_EXTENSIONS = 'PYUBJSON_NO_EXTENSION' not in os.environ
+BUILD_EXTENSIONS = 'PYUBJSON_NO_EXTENSION' not in os.environ and 
python_implementation() != 'PyPy'
 
 COMPILE_ARGS = ['-std=c99']
 # For testing/debug only - some of these are GCC-specific
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-ubjson-0.15.0/test/test.py 
new/py-ubjson-0.16.1/test/test.py
--- old/py-ubjson-0.15.0/test/test.py   2019-11-30 10:35:49.000000000 +0100
+++ new/py-ubjson-0.16.1/test/test.py   2020-04-18 17:00:42.000000000 +0200
@@ -13,7 +13,7 @@
 # limitations under the License.
 
 
-from sys import version_info, getrecursionlimit
+from sys import version_info, getrecursionlimit, setrecursionlimit
 from functools import partial
 from io import BytesIO, SEEK_END
 from unittest import TestCase, skipUnless
@@ -464,18 +464,23 @@
         return (self.assertRaisesRegexp if PY2 else 
self.assertRaisesRegex)(*args, **kwargs)
 
     def test_recursion(self):
-        obj = current = []
-        for _ in range(getrecursionlimit()):
-            new_list = []
-            current.append(new_list)
-            current = new_list
-
-        with self.assert_raises_regex(RuntimeError, 'recursion'):
-            self.ubjdumpb(obj)
-
-        raw = ARRAY_START * getrecursionlimit()
-        with self.assert_raises_regex(RuntimeError, 'recursion'):
-            self.ubjloadb(raw)
+        old_limit = getrecursionlimit()
+        setrecursionlimit(200)
+        try:
+            obj = current = []
+            for _ in range(getrecursionlimit() * 2):
+                new_list = []
+                current.append(new_list)
+                current = new_list
+
+            with self.assert_raises_regex(RuntimeError, 'recursion'):
+                self.ubjdumpb(obj)
+
+            raw = ARRAY_START * (getrecursionlimit() * 2)
+            with self.assert_raises_regex(RuntimeError, 'recursion'):
+                self.ubjloadb(raw)
+        finally:
+            setrecursionlimit(old_limit)
 
     def test_encode_default(self):
         def default(obj):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/py-ubjson-0.15.0/ubjson/__init__.py 
new/py-ubjson-0.16.1/ubjson/__init__.py
--- old/py-ubjson-0.15.0/ubjson/__init__.py     2020-03-17 12:46:03.000000000 
+0100
+++ new/py-ubjson-0.16.1/ubjson/__init__.py     2020-04-18 17:03:50.000000000 
+0200
@@ -37,6 +37,6 @@
 from .encoder import EncoderException
 from .decoder import DecoderException
 
-__version__ = '0.15.0'
+__version__ = '0.16.1'
 
 __all__ = ('EXTENSION_ENABLED', 'dump', 'dumpb', 'EncoderException', 'load', 
'loadb', 'DecoderException')

Reply via email to