Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-zstandard for
openSUSE:Factory checked in at 2022-02-04 21:46:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zstandard (Old)
and /work/SRC/openSUSE:Factory/.python-zstandard.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zstandard"
Fri Feb 4 21:46:26 2022 rev:6 rq:950575 version:0.17.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zstandard/python-zstandard.changes
2020-08-01 12:28:46.686321998 +0200
+++
/work/SRC/openSUSE:Factory/.python-zstandard.new.1898/python-zstandard.changes
2022-02-04 21:46:27.733587259 +0100
@@ -1,0 +2,88 @@
+Tue Feb 1 22:44:25 UTC 2022 - Ben Greiner <[email protected]>
+
+- Correctly test the installed solib
+- Skip python2 on SLE/Leap: no longer supported
+
+-------------------------------------------------------------------
+Sun Jan 30 21:20:18 UTC 2022 - Sarah Kriesch <[email protected]>
+
+- update to 0.17.0
+ * Python 3.9 wheels are now provided.
+ * Support for Python 3.5 has been dropped.
+ * Python 3.6 is now the minimum required Python version.
+ * Bundled zstandard library upgraded from 1.4.5 to 1.5.1.
+ * The bundled zstandard library is now using the single C source
+ file distribution. The 2 main header files are still present,
+ as these are needed by CFFI to generate the CFFI bindings.
+ * PyBuffer instances are no longer checked to be C contiguous and
+ have a single dimension. The former was redundant with what
+ PyArg_ParseTuple() already did and the latter is not necessary
+ in practice because very few extension modules create buffers
+ with more than 1 dimension. (#124)
+ * Added Python typing stub file for the zstandard module. (#120)
+ * The make_cffi.py script should now respect the CC environment
+ variable for locating the compiler. (#103)
+ * CI now properly uses the cffi backend when running all tests.
+ * train_dictionary() has been rewritten to use the fastcover APIs
+ and to consistently call ZDICT_optimizeTrainFromBuffer_fastCover()
+ instead of different C APIs depending on what arguments were passed.
+ The function also now accepts arguments f, split_point, and accel,
+ which are parameters unique to fastcover.
+ * CI now tests and builds wheels for Python 3.9.
+ * zstd.c file renamed to c-ext/backend_c.c.
+ * All built/installed Python modules are now in the zstandard package.
+ Previously, there were modules in other packages. (#115)
+ * C source code is now automatically formatted with clang-format.
+ * ZstdCompressor.stream_writer(), ZstdCompressor.stream_reader(),
+ ZstdDecompressor.stream_writer(), and ZstdDecompressor.stream_reader()
+ now accept a closed argument to control whether the underlying stream
+ should be closed when the ZstdCompressionWriter, ZstdCompressReader,
+ ZstdDecompressionWriter, or ZstdDecompressionReader is closed. (#76)
+ * There is now a zstandard.open() function for returning a file object
+ with zstd (de)compression. (#64)
+ * The zstandard module now exposes a backend_features attribute
+ containing a set of strings denoting optional features present in that
+ backend. This can be used to sniff feature support by performing a
+ string lookup instead of sniffing for API presence or behavior.
+ * Python docstrings have been moved from the C backend to the CFFI backend.
+ Sphinx docs have been updated to generate API documentation via the CFFI
+ backend. Documentation for Python APIs is now fully defined via Python
+ docstrings instead of spread across Sphinx ReST files and source code.
+ * ZstdCompressionParameters now exposes a strategy property.
+ * There are now compress() and decompress() convenience functions on the
+ zstandard module. These are simply wrappers around the corresponding APIs
+ on ZstdCompressor and ZstdDecompressor.
+ * The deprecated CompressionParameters type alias to
ZstdCompressionParamaters
+ has been removed. Use ZstdCompressionParameters.
+ * setup.py now recognizes a ZSTD_EXTRA_COMPILER_ARGS environment variable to
+ specify additional compiler arguments to use when compiling the C backend.
+ * PyPy build and test coverage has been added to CI.
+ * Added CI jobs for building against external zstd library.
+ * Wheels supporting macOS ARM/M1 devices are now being produced.
+ * References to Python 2 have been removed from the in-repo Debian packaging
code.
+ * Significant work has been made on a Rust backend. It is currently feature
+ complete but not yet optimized. We are not yet shipping the backend as part
+ of the distributed wheels until it is more mature.
+ * ZstdCompressor.multi_compress_to_buffer() and
ZstdDecompressor.multi_decompress_to_buffer()
+ are no longer available when linking against a system zstd library.
+ These experimental features are only available when building against the
+ bundled single file zstd C source file distribution. (#106)
+ * The .pyi type annotations file has replaced various default argument
+ values with ....
+ * manylinux2014_aarch64 wheels are now being produced for CPython 3.6+.
(#145).
+ * Wheels are now being produced for CPython 3.10.
+ * Arguments to ZstdCompressor() and ZstdDecompressor() are now all optional
in
+ the C backend and an explicit None value is accepted. Before, the C backend
+ wouldn???t accept an explicit None value (but the CFFI backend would).
+ The new behavior should be consistent between the backends. (#153)
+ * The C backend now exposes the symbols ZstdCompressionReader,
ZstdCompressionWriter,
+ ZstdDecompressionReader, and ZstdDecompressionWriter. This should match the
behavior
+ of the CFFI backend. (#165)
+ * ZstdCompressionWriter and ZstdDecompressionWriter now
+ implement __iter__ and __next__, which always raise io.UnsupportedOperation.
+ * Documentation on thread safety has been updated to note that derived
objects like
+ ZstdCompressionWriter have the same thread unsafety as the contexts they
were
+ derived from. (#166)
+ * The HASHLOG3_MAX constant has been removed since it is no longer defined in
zstd 1.5.1.
+
+-------------------------------------------------------------------
Old:
----
zstandard-0.14.0.tar.gz
New:
----
zstandard-0.17.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zstandard.spec ++++++
--- /var/tmp/diff_new_pack.Ivm7uB/_old 2022-02-04 21:46:28.401582699 +0100
+++ /var/tmp/diff_new_pack.Ivm7uB/_new 2022-02-04 21:46:28.405582671 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-zstandard
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,10 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
+%define skip_python2 1
Name: python-zstandard
-Version: 0.14.0
+Version: 0.17.0
Release: 0
Summary: Zstandard bindings for Python
License: BSD-3-Clause
@@ -36,6 +37,8 @@
Conflicts: python-zstd
# SECTION test requirements
BuildRequires: %{python_module cffi >= 1.11}
+BuildRequires: %{python_module hypothesis}
+BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -55,12 +58,14 @@
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
-export PYTHONDONTWRITEBYTECODE=1
+# remove srcdir for tests collection of installed lib
+mv zstandard zstandard.moved
%pytest_arch
%files %{python_files}
-%doc NEWS.rst README.rst
+%doc README.rst
%license LICENSE
-%{python_sitearch}/*
+%{python_sitearch}/zstandard
+%{python_sitearch}/zstandard-%{version}*-info
%changelog
++++++ zstandard-0.14.0.tar.gz -> zstandard-0.17.0.tar.gz ++++++
++++ 157725 lines of diff (skipped)