pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-zict: Update to 3.0.0



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Thu Jun 1 14:52:00 2023 -0700
Changeset:	ed113075a67cd99b83c3b184db6defa8efb6de35

Modified Files:
	py-zict/Makefile
	py-zict/PLIST
	py-zict/distinfo

Log Message:
py-zict: Update to 3.0.0

Changes:

The library is now almost completely thread-safe (#82, #90, #92, #93)
Dropped support for Python 3.7 (#84)
File.__getitem__ now returns bytearray instead of bytes. This prevents a memcpy when deserializing numpy arrays with dask. (#74)
Removed dependency from heapdict; sped up LRU (#77)
Fixed broken LRU state when the underlying mapping starts non-empty. (#77)
File and LMDB now support pathlib.Path and pytest’s tmpdir (#78)
LMDB now uses memory-mapped I/O on MacOSX and is usable on Windows (#78)
LRU and Buffer now support delayed eviction (#87)
New object InsertionSortedSet (#87)
All mappings now return proper KeysView, ItemsView, and ValuesView objects from their keys(), items(), and values() methods (#93)
File, LMDB, and Zip now behave coherently with unexpected key/value types (#95)
Zip.__contains__ no longer reads the value from disk (#95)
Zip.__setitem__ will now raise when updating an already-existing key instead of quietly corrupting the mapping (#95)
Can now change LRU.n on the fly. Added LRU.offset attribute. Added accessors to n and offset to Buffer. (#101)
New object AsyncBuffer; new method LRU.get_all_or_nothing() (#88)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ed113075a67cd99b83c3b184db6defa8efb6de35

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-zict/Makefile |  2 +-
 py-zict/PLIST    | 19 ++++++++++++++++++-
 py-zict/distinfo |  6 +++---
 3 files changed, 22 insertions(+), 5 deletions(-)

diffs:
diff --git a/py-zict/Makefile b/py-zict/Makefile
index fc5f895368..38640a91ff 100644
--- a/py-zict/Makefile
+++ b/py-zict/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	zict-2.2.0
+DISTNAME=	zict-3.0.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_PYPI:=z/zict/}
diff --git a/py-zict/PLIST b/py-zict/PLIST
index 64a433d8e0..eabd8c22c3 100644
--- a/py-zict/PLIST
+++ b/py-zict/PLIST
@@ -3,11 +3,13 @@ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/zict/__init__.py
 ${PYSITELIB}/zict/__init__.pyc
 ${PYSITELIB}/zict/__init__.pyo
+${PYSITELIB}/zict/async_buffer.py
+${PYSITELIB}/zict/async_buffer.pyc
+${PYSITELIB}/zict/async_buffer.pyo
 ${PYSITELIB}/zict/buffer.py
 ${PYSITELIB}/zict/buffer.pyc
 ${PYSITELIB}/zict/buffer.pyo
@@ -36,12 +38,21 @@ ${PYSITELIB}/zict/sieve.pyo
 ${PYSITELIB}/zict/tests/__init__.py
 ${PYSITELIB}/zict/tests/__init__.pyc
 ${PYSITELIB}/zict/tests/__init__.pyo
+${PYSITELIB}/zict/tests/conftest.py
+${PYSITELIB}/zict/tests/conftest.pyc
+${PYSITELIB}/zict/tests/conftest.pyo
+${PYSITELIB}/zict/tests/test_async_buffer.py
+${PYSITELIB}/zict/tests/test_async_buffer.pyc
+${PYSITELIB}/zict/tests/test_async_buffer.pyo
 ${PYSITELIB}/zict/tests/test_buffer.py
 ${PYSITELIB}/zict/tests/test_buffer.pyc
 ${PYSITELIB}/zict/tests/test_buffer.pyo
 ${PYSITELIB}/zict/tests/test_cache.py
 ${PYSITELIB}/zict/tests/test_cache.pyc
 ${PYSITELIB}/zict/tests/test_cache.pyo
+${PYSITELIB}/zict/tests/test_common.py
+${PYSITELIB}/zict/tests/test_common.pyc
+${PYSITELIB}/zict/tests/test_common.pyo
 ${PYSITELIB}/zict/tests/test_file.py
 ${PYSITELIB}/zict/tests/test_file.pyc
 ${PYSITELIB}/zict/tests/test_file.pyo
@@ -57,12 +68,18 @@ ${PYSITELIB}/zict/tests/test_lru.pyo
 ${PYSITELIB}/zict/tests/test_sieve.py
 ${PYSITELIB}/zict/tests/test_sieve.pyc
 ${PYSITELIB}/zict/tests/test_sieve.pyo
+${PYSITELIB}/zict/tests/test_utils.py
+${PYSITELIB}/zict/tests/test_utils.pyc
+${PYSITELIB}/zict/tests/test_utils.pyo
 ${PYSITELIB}/zict/tests/test_zip.py
 ${PYSITELIB}/zict/tests/test_zip.pyc
 ${PYSITELIB}/zict/tests/test_zip.pyo
 ${PYSITELIB}/zict/tests/utils_test.py
 ${PYSITELIB}/zict/tests/utils_test.pyc
 ${PYSITELIB}/zict/tests/utils_test.pyo
+${PYSITELIB}/zict/utils.py
+${PYSITELIB}/zict/utils.pyc
+${PYSITELIB}/zict/utils.pyo
 ${PYSITELIB}/zict/zip.py
 ${PYSITELIB}/zict/zip.pyc
 ${PYSITELIB}/zict/zip.pyo
diff --git a/py-zict/distinfo b/py-zict/distinfo
index 52ae7ebc11..3644dba59f 100644
--- a/py-zict/distinfo
+++ b/py-zict/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (zict-2.2.0.tar.gz) = 45f7150ccbebd3b37a529f11f38991575bb7189e0b6e120cabcb0f7749dc95d3
-SHA512 (zict-2.2.0.tar.gz) = 63ed28fc26389e2eaa085efb43f3179abc41d30a724de2a6129fc0aa7c500983e598428e7c5f06fd8cdd40b58c0b57374d5c65bf4af96852df77ef7ce2c60afe
-Size (zict-2.2.0.tar.gz) = 17021 bytes
+BLAKE2s (zict-3.0.0.tar.gz) = 5294b9b5dd864de124555cb4b49dae1f30ab3ebb9be784e5417cd40fd12c7aa5
+SHA512 (zict-3.0.0.tar.gz) = 49c3c7f678e64e50366f370dc192ba8cb68673beef1576e63e6f3249f28e41e9e2741b3f444d392133d7ee550ae37e32c0cdf075c5bff022fc58d9500707086d
+Size (zict-3.0.0.tar.gz) = 33238 bytes


Home | Main Index | Thread Index | Old Index