pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/py-zstandard py-zstandard: updated to 0.19.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/c75734daf2ae
branches: trunk
changeset: 387539:c75734daf2ae
user: adam <adam%pkgsrc.org@localhost>
date: Mon Oct 31 21:40:23 2022 +0000
description:
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.
diffstat:
archivers/py-zstandard/Makefile | 4 ++--
archivers/py-zstandard/distinfo | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (26 lines):
diff -r 01d98d368b30 -r c75734daf2ae archivers/py-zstandard/Makefile
--- a/archivers/py-zstandard/Makefile Mon Oct 31 21:28:23 2022 +0000
+++ b/archivers/py-zstandard/Makefile Mon Oct 31 21:40:23 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2022/07/02 09:13:24 adam Exp $
+# $NetBSD: Makefile,v 1.24 2022/10/31 21:40:23 adam Exp $
-DISTNAME= zstandard-0.18.0
+DISTNAME= zstandard-0.19.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zstandard/}
diff -r 01d98d368b30 -r c75734daf2ae archivers/py-zstandard/distinfo
--- a/archivers/py-zstandard/distinfo Mon Oct 31 21:28:23 2022 +0000
+++ b/archivers/py-zstandard/distinfo Mon Oct 31 21:40:23 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2022/07/02 09:13:24 adam Exp $
+$NetBSD: distinfo,v 1.24 2022/10/31 21:40:23 adam Exp $
-BLAKE2s (zstandard-0.18.0.tar.gz) = ada018d33df493d851f50efcf1e6194edbc1c3ff2a715a92ae4e49004de7f1b4
-SHA512 (zstandard-0.18.0.tar.gz) = 62b21a20b39b0ce3e247f1df91208c41cdcdda9006261c6cad4683586a14f7d45d4a9c764246666418d5cf44d6028c086be712ab72db95bb6cf3da019eb32e91
-Size (zstandard-0.18.0.tar.gz) = 631544 bytes
+BLAKE2s (zstandard-0.19.0.tar.gz) = a0aa39b4ba482e9649b168f332651a7576af0cde7bacbfb9f3b5886341288e8c
+SHA512 (zstandard-0.19.0.tar.gz) = 6350dc0bd4f1431cf4dbc951c3f7f1a4190938aff6c0ebc4f14d7a7ca82f2f47e201c73d80cd25bf476fc8760ddc99d6aa7dd3353086faedece4aa96608b6ef9
+Size (zstandard-0.19.0.tar.gz) = 633245 bytes
SHA1 (patch-c-ext_backend__c.c) = 56779ce7c8388f70916c1550062942e976f7c8c4
Home |
Main Index |
Thread Index |
Old Index