Hello community,
here is the log from the commit of package python-zstandard for
openSUSE:Factory checked in at 2019-05-27 08:38:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zstandard (Old)
and /work/SRC/openSUSE:Factory/.python-zstandard.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zstandard"
Mon May 27 08:38:17 2019 rev:2 rq:705256 version:0.11.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zstandard/python-zstandard.changes
2019-05-07 23:20:39.293148249 +0200
+++
/work/SRC/openSUSE:Factory/.python-zstandard.new.5148/python-zstandard.changes
2019-05-27 08:38:18.495072778 +0200
@@ -1,0 +2,6 @@
+Fri May 24 13:39:30 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.11.1:
+ * Fix memory leak in ``ZstdDecompressionReader.seek()`` (#82).
+
+-------------------------------------------------------------------
Old:
----
zstandard-0.11.0.tar.gz
New:
----
zstandard-0.11.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zstandard.spec ++++++
--- /var/tmp/diff_new_pack.vGls2Q/_old 2019-05-27 08:38:19.139072527 +0200
+++ /var/tmp/diff_new_pack.vGls2Q/_new 2019-05-27 08:38:19.143072526 +0200
@@ -12,32 +12,32 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zstandard
-Version: 0.11.0
+Version: 0.11.1
Release: 0
-License: BSD-3-Clause
Summary: Zstandard bindings for Python
-Url: https://github.com/indygreg/python-zstandard
+License: BSD-3-Clause
Group: Development/Languages/Python
+URL: https://github.com/indygreg/python-zstandard
Source:
https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
+BuildRequires: libzstd-devel
BuildRequires: python-rpm-macros
BuildRequires: zstd
-BuildRequires: libzstd-devel
+Requires: python-cffi >= 1.11
+Requires: zstd
+Conflicts: python-zstd
# SECTION test requirements
BuildRequires: %{python_module cffi >= 1.11}
BuildRequires: %{python_module nose}
# /SECTION
-Requires: python-cffi >= 1.11
-Requires: zstd
-Conflicts: python-zstd
-
%python_subpackages
%description
++++++ zstandard-0.11.0.tar.gz -> zstandard-0.11.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zstandard-0.11.0/NEWS.rst
new/zstandard-0.11.1/NEWS.rst
--- old/zstandard-0.11.0/NEWS.rst 2019-02-26 01:17:23.000000000 +0100
+++ new/zstandard-0.11.1/NEWS.rst 2019-05-15 05:00:47.000000000 +0200
@@ -66,6 +66,11 @@
* API for ensuring max memory ceiling isn't exceeded.
* Move off nose for testing.
+0.11.1 (released 2019-05-14)
+============================
+
+* Fix memory leak in ``ZstdDecompressionReader.seek()`` (#82).
+
0.11.0 (released 2019-02-24)
============================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zstandard-0.11.0/PKG-INFO
new/zstandard-0.11.1/PKG-INFO
--- old/zstandard-0.11.0/PKG-INFO 2019-02-26 01:17:31.000000000 +0100
+++ new/zstandard-0.11.1/PKG-INFO 2019-05-15 05:00:56.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: zstandard
-Version: 0.11.0
+Version: 0.11.1
Summary: Zstandard bindings for Python
Home-page: https://github.com/indygreg/python-zstandard
Author: Gregory Szorc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zstandard-0.11.0/c-ext/decompressionreader.c
new/zstandard-0.11.1/c-ext/decompressionreader.c
--- old/zstandard-0.11.0/c-ext/decompressionreader.c 2019-02-26
01:17:23.000000000 +0100
+++ new/zstandard-0.11.1/c-ext/decompressionreader.c 2019-05-15
05:00:47.000000000 +0200
@@ -653,6 +653,8 @@
readSize = PyBytes_GET_SIZE(readResult);
+ Py_CLEAR(readResult);
+
/* Empty read means EOF. */
if (!readSize) {
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zstandard-0.11.0/c-ext/python-zstandard.h
new/zstandard-0.11.1/c-ext/python-zstandard.h
--- old/zstandard-0.11.0/c-ext/python-zstandard.h 2019-02-26
01:17:23.000000000 +0100
+++ new/zstandard-0.11.1/c-ext/python-zstandard.h 2019-05-15
05:00:47.000000000 +0200
@@ -16,7 +16,7 @@
#include <zdict.h>
/* Remember to change the string in zstandard/__init__ as well */
-#define PYTHON_ZSTANDARD_VERSION "0.11.0"
+#define PYTHON_ZSTANDARD_VERSION "0.11.1"
typedef enum {
compressorobj_flush_finish,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zstandard-0.11.0/tests/test_module_attributes.py
new/zstandard-0.11.1/tests/test_module_attributes.py
--- old/zstandard-0.11.0/tests/test_module_attributes.py 2019-02-26
01:17:23.000000000 +0100
+++ new/zstandard-0.11.1/tests/test_module_attributes.py 2019-05-15
05:00:47.000000000 +0200
@@ -14,7 +14,7 @@
def test_version(self):
self.assertEqual(zstd.ZSTD_VERSION, (1, 3, 8))
- self.assertEqual(zstd.__version__, '0.11.0')
+ self.assertEqual(zstd.__version__, '0.11.1')
def test_constants(self):
self.assertEqual(zstd.MAX_COMPRESSION_LEVEL, 22)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zstandard-0.11.0/zstandard/__init__.py
new/zstandard-0.11.1/zstandard/__init__.py
--- old/zstandard-0.11.0/zstandard/__init__.py 2019-02-26 01:17:23.000000000
+0100
+++ new/zstandard-0.11.1/zstandard/__init__.py 2019-05-15 05:00:47.000000000
+0200
@@ -62,4 +62,4 @@
'cext, or cffi' % _module_policy)
# Keep this in sync with python-zstandard.h.
-__version__ = '0.11.0'
+__version__ = '0.11.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zstandard-0.11.0/zstandard.egg-info/PKG-INFO
new/zstandard-0.11.1/zstandard.egg-info/PKG-INFO
--- old/zstandard-0.11.0/zstandard.egg-info/PKG-INFO 2019-02-26
01:17:31.000000000 +0100
+++ new/zstandard-0.11.1/zstandard.egg-info/PKG-INFO 2019-05-15
05:00:56.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: zstandard
-Version: 0.11.0
+Version: 0.11.1
Summary: Zstandard bindings for Python
Home-page: https://github.com/indygreg/python-zstandard
Author: Gregory Szorc