Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit python-py-ubjson for openSUSE:Factory
Hello community,

here is the log from the commit of package python-py-ubjson for
openSUSE:Factory checked in at 2019-04-14 12:21:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-ubjson (Old)
and /work/SRC/openSUSE:Factory/.python-py-ubjson.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-py-ubjson"

Sun Apr 14 12:21:57 2019 rev:2 rq:692778 version:0.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-ubjson/python-py-ubjson.changes
2019-04-05 12:06:56.998580003 +0200
+++
/work/SRC/openSUSE:Factory/.python-py-ubjson.new.27019/python-py-ubjson.changes
2019-04-14 12:22:02.143733316 +0200
@@ -1,0 +2,7 @@
+Tue Apr 9 14:48:11 UTC 2019 - Bernhard Wiedemann <bwiedemann@xxxxxxxx>
+
+- Update to 0.13.0
+ * Make package build reproducible (boo#1041090)
+ * Fix _ubjson_decode_value case statement fallthrough
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-py-ubjson.spec ++++++
--- /var/tmp/diff_new_pack.TwLauJ/_old 2019-04-14 12:22:02.663733940 +0200
+++ /var/tmp/diff_new_pack.TwLauJ/_new 2019-04-14 12:22:02.663733940 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname py-ubjson
Name: python-py-ubjson
-Version: 0.12.0
+Version: 0.13.0
Release: 0
License: Apache-2.0
Summary: Universal Binary JSON encoder/decoder

++++++ py-ubjson-0.12.0.tar.gz -> py-ubjson-0.13.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/py-ubjson-0.12.0/CHANGELOG
new/py-ubjson-0.13.0/CHANGELOG
--- old/py-ubjson-0.12.0/CHANGELOG 2018-08-03 08:56:27.000000000 +0200
+++ new/py-ubjson-0.13.0/CHANGELOG 2019-04-09 15:27:35.000000000 +0200
@@ -1,3 +1,8 @@
+0.13.0
+- Make extension build more reproducible with sorted sources (bmwiedemann)
+- Fix _ubjson_decode_value case statement fallthrough and use correct check
+ to not re-raise existing decoder DecoderException
+
0.12.0
- Relax floating point type test case (for 32-bit targets)
- Added Python 3.7 to classifiers list
@@ -29,8 +34,8 @@

0.8.4
- License information update
-- Allow for lack of stdin/stdout/stdout buffer access (#1)
-- Allow for extenion building to be skipped via env. var (#2)
+- Allow for lack of stdin/stdout/stdout buffer access
+- Allow for extenion building to be skipped via env. var

0.8.3
- Initial public release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/py-ubjson-0.12.0/PKG-INFO
new/py-ubjson-0.13.0/PKG-INFO
--- old/py-ubjson-0.12.0/PKG-INFO 2018-08-03 08:57:31.000000000 +0200
+++ new/py-ubjson-0.13.0/PKG-INFO 2019-04-09 15:51:09.000000000 +0200
@@ -1,10 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: py-ubjson
-Version: 0.12.0
+Version: 0.13.0
Summary: Universal Binary JSON encoder/decoder
Home-page: https://github.com/Iotic-Labs/py-ubjson
Author: Iotic Labs Ltd
-Author-email: vilnis.termanis@xxxxxxxxxxxxxx
+Author-email: info@xxxxxxxxxxxxxx
+Maintainer: Iotic Labs Ltd
+Maintainer-email: vilnis.termanis@xxxxxxxxxxxxxx
License: Apache License 2.0
Description: Overview
========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/py-ubjson-0.12.0/py_ubjson.egg-info/PKG-INFO
new/py-ubjson-0.13.0/py_ubjson.egg-info/PKG-INFO
--- old/py-ubjson-0.12.0/py_ubjson.egg-info/PKG-INFO 2018-08-03
08:57:31.000000000 +0200
+++ new/py-ubjson-0.13.0/py_ubjson.egg-info/PKG-INFO 2019-04-09
15:51:09.000000000 +0200
@@ -1,10 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: py-ubjson
-Version: 0.12.0
+Version: 0.13.0
Summary: Universal Binary JSON encoder/decoder
Home-page: https://github.com/Iotic-Labs/py-ubjson
Author: Iotic Labs Ltd
-Author-email: vilnis.termanis@xxxxxxxxxxxxxx
+Author-email: info@xxxxxxxxxxxxxx
+Maintainer: Iotic Labs Ltd
+Maintainer-email: vilnis.termanis@xxxxxxxxxxxxxx
License: Apache License 2.0
Description: Overview
========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/py-ubjson-0.12.0/setup.py
new/py-ubjson-0.13.0/setup.py
--- old/py-ubjson-0.12.0/setup.py 2018-08-03 08:56:27.000000000 +0200
+++ new/py-ubjson-0.13.0/setup.py 2019-04-09 13:41:23.000000000 +0200
@@ -89,7 +89,7 @@
license='Apache License 2.0',
packages=['ubjson'],
zip_safe=False,
- ext_modules=([Extension('_ubjson', glob('src/*.c'),
extra_compile_args=COMPILE_ARGS)]
+ ext_modules=([Extension('_ubjson', sorted(glob('src/*.c')),
extra_compile_args=COMPILE_ARGS)]
if BUILD_EXTENSIONS else []),
cmdclass={"build_ext": BuildExtWarnOnFail},
keywords=['ubjson', 'ubj'],
@@ -108,5 +108,5 @@
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
- ]
- )
+ ]
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/py-ubjson-0.12.0/src/decoder.c
new/py-ubjson-0.13.0/src/decoder.c
--- old/py-ubjson-0.12.0/src/decoder.c 2017-11-29 13:36:05.000000000 +0100
+++ new/py-ubjson-0.13.0/src/decoder.c 2019-04-09 13:41:17.000000000 +0200
@@ -874,7 +874,9 @@
obj = (item);\
if (NULL != obj) {\
return obj;\
- } else if (!(PyErr_Occurred() &&
PyErr_ExceptionMatches((PyObject*)PyDec_Type))) {\
+ } else if (PyErr_Occurred() &&
PyErr_ExceptionMatches((PyObject*)DecoderException)) {\
+ goto bail;\
+ } else {\
RAISE_DECODER_EXCEPTION("Failed to decode " item_str);\
}\
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/py-ubjson-0.12.0/test/test.py
new/py-ubjson-0.13.0/test/test.py
--- old/py-ubjson-0.12.0/test/test.py 2018-08-03 08:56:27.000000000 +0200
+++ new/py-ubjson-0.13.0/test/test.py 2019-04-09 13:38:12.000000000 +0200
@@ -499,12 +499,7 @@

@staticmethod
def ubjloadb(raw, *args, **kwargs):
- try:
- raw = BytesIO(raw)
- except TypeError: # pylint: disable=bare-except
- # Invalid raw input testing
- raise
- return ubjload(raw, *args, **kwargs)
+ return ubjload(BytesIO(raw), *args, **kwargs)

@staticmethod
def ubjdumpb(obj, *args, **kwargs):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/py-ubjson-0.12.0/ubjson/__init__.py
new/py-ubjson-0.13.0/ubjson/__init__.py
--- old/py-ubjson-0.12.0/ubjson/__init__.py 2018-08-03 08:56:27.000000000
+0200
+++ new/py-ubjson-0.13.0/ubjson/__init__.py 2019-04-09 15:49:54.000000000
+0200
@@ -37,6 +37,6 @@
from .encoder import EncoderException # noqa
from .decoder import DecoderException # noqa

-__version__ = '0.12.0'
+__version__ = '0.13.0'

__all__ = ('EXTENSION_ENABLED', 'dump', 'dumpb', 'EncoderException', 'load',
'loadb', 'DecoderException')


< Previous Next >
This Thread
  • No further messages