Subject: CVS commit: pkgsrc/archivers/py-zstandard
From: Adam Ciarcinski
Date: 2022-10-31 22:40:23
Message id: 20221031214023.A146DFA90@cvs.NetBSD.org

Log Message:
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.

Files:
RevisionActionfile
1.24modifypkgsrc/archivers/py-zstandard/Makefile
1.24modifypkgsrc/archivers/py-zstandard/distinfo