pkgsrc/archivers/py-zstandard
adam 36007151c0 py-zstandard: updated to 0.19.0
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.
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.
2022-10-31 21:40:23 +00:00
..
patches py-zstandard: updated to 0.18.0 2022-07-02 09:13:24 +00:00
DESCR
distinfo py-zstandard: updated to 0.19.0 2022-10-31 21:40:23 +00:00
Makefile py-zstandard: updated to 0.19.0 2022-10-31 21:40:23 +00:00
PLIST py-zstandard: updated to 0.15.1 2021-01-03 14:57:53 +00:00