forked from pool/python-zstandard
Accepting request 1036857 from home:mia:branches:devel:languages:python
- 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
OBS-URL: https://build.opensuse.org/request/show/1036857
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstandard?expand=0&rev=14
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -16,10 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-zstandard
|
||||
Version: 0.17.0
|
||||
Version: 0.19.0
|
||||
Release: 0
|
||||
Summary: Zstandard bindings for Python
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -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
3
zstandard-0.19.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31d12fcd942dd8dbf52ca5f6b1bbe287f44e5d551a081a983ff3ea2082867863
|
||||
size 633245
|
||||
Reference in New Issue
Block a user