Accepting request 1036966 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1036966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2022-11-21 14:28:46 +00:00 committed by Git OBS Bridge
commit e7b47af9f6
4 changed files with 44 additions and 5 deletions

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Sun Nov 20 04:47:59 UTC 2022 - Mia Herkt <mia@0x0.st>
- Update to 0.19.0
Bug fixes
* The C backend implementation of
ZstdDecompressionObj.decompress() could have raised an
assertion in cases where the function was called multiple times
on an instance. In non-debug builds, calls to this method could
have leaked memory.
Changes
* PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.
* Anaconda 3.6 support dropped.
* Official support for Python 3.11. This did not require
meaningful code changes and previous release(s) likely worked
with 3.11 without any changes. CFFI's build system now respects
distutils's compiler.preprocessor if it is set.
gh#indygreg/python-zstandard#179
* The internal logic of ZstdDecompressionObj.decompress() was
refactored. This may have fixed unconfirmed issues where
unused_data was set prematurely. The new logic will also avoid
an extra call to ZSTD_decompressStream() in some scenarios,
possibly improving performance.
* ZstdDecompressor.decompress() how has a read_across_frames
keyword argument. It defaults to False. True is not yet
implemented and will raise an exception if used. The new
argument will default to True in a future release and is
provided now so callers can start passing
read_across_frames=False to preserve the existing functionality
during a future upgrade.
* ZstdDecompressor.decompress() now has an allow_extra_data
keyword argument to control whether an exception is raised if
input contains extra data. It defaults to True, preserving
existing behavior of ignoring extra data. It will likely
default to False in a future release. Callers desiring the
current behavior are encouraged to explicitly pass
allow_extra_data=True so behavior won't change during a future
upgrade.
- No changelog for 0.18.0 available
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 1 22:44:25 UTC 2022 - Ben Greiner <code@bnavigator.de> Tue Feb 1 22:44:25 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -16,10 +16,9 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-zstandard Name: python-zstandard
Version: 0.17.0 Version: 0.19.0
Release: 0 Release: 0
Summary: Zstandard bindings for Python Summary: Zstandard bindings for Python
License: BSD-3-Clause License: BSD-3-Clause

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa9194cb91441df7242aa3ddc4cb184be38876cb10dd973674887f334bafbfb6
size 629456

3
zstandard-0.19.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31d12fcd942dd8dbf52ca5f6b1bbe287f44e5d551a081a983ff3ea2082867863
size 633245