pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-frozendict



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 30 05:44:28 UTC 2026

Modified Files:
        pkgsrc/devel/py-frozendict: Makefile distinfo

Log Message:
py-frozendict: updated to 2.5.0

2.5.0

Breaking changes

Removed frozendict.__deepcopy__. deepcopy() now always returns a copy, even if the frozendict is hashable.
Pure py: | accepts only dict and frozendict, like the C Extension and dict.

Speed

C Extension: freelists for frozendicts and keys make creating small frozendicts faster: the constructor, set() and delete().
C Extension: frozendicts take less memory in some cases.
Pure py: faster set, setdefault, delete and |.
fd | {} and frozendict() | fd now return fd immediately.

Fixes

set, setdefault, delete and | could return a frozendict not tracked by the GC, so its reference cycles were never collected.
Pure py: deepcopy() of a recursive frozendict no longer raises RecursionError.
Pure py: dict | frozendict now also works on Python 3.8 and earlier.
fromkeys() with an empty iterable now returns the empty singleton.
Fixed crashes, reference leaks and missing error checks in the C Extension. Also fixed from frozendict import *, the signature of set in the stub, and the silent fallback to pure py when the C 
Extension fails to load, which now emits a warning. Thanks to @devdanzin for the audit.
Typing: fixed items, keys, values, __ror__ and setdefault(key).


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-frozendict/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-frozendict/distinfo

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

Modified files:

Index: pkgsrc/devel/py-frozendict/Makefile
diff -u pkgsrc/devel/py-frozendict/Makefile:1.31 pkgsrc/devel/py-frozendict/Makefile:1.32
--- pkgsrc/devel/py-frozendict/Makefile:1.31    Wed Nov 12 09:02:43 2025
+++ pkgsrc/devel/py-frozendict/Makefile Fri Oct 30 05:44:28 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2025/11/12 09:02:43 adam Exp $
+# $NetBSD: Makefile,v 1.32 2026/10/30 05:44:28 adam Exp $
 
-DISTNAME=      frozendict-2.4.7
+DISTNAME=      frozendict-2.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/frozendict/}

Index: pkgsrc/devel/py-frozendict/distinfo
diff -u pkgsrc/devel/py-frozendict/distinfo:1.24 pkgsrc/devel/py-frozendict/distinfo:1.25
--- pkgsrc/devel/py-frozendict/distinfo:1.24    Wed Nov 12 09:02:43 2025
+++ pkgsrc/devel/py-frozendict/distinfo Fri Oct 30 05:44:28 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2025/11/12 09:02:43 adam Exp $
+$NetBSD: distinfo,v 1.25 2026/10/30 05:44:28 adam Exp $
 
-BLAKE2s (frozendict-2.4.7.tar.gz) = 371f0f80901d769419fc2290b37630be8692a1e1621fff08f9fd826598c09778
-SHA512 (frozendict-2.4.7.tar.gz) = 91e77b144a85ab7ff1240b303640323274150544d5adaf25615ed8acfd5353bcf37a149d3ff9d79ca6fd54d99c4fbb43fdd38ae2cf76a77d1c70c44912d2d96d
-Size (frozendict-2.4.7.tar.gz) = 317082 bytes
+BLAKE2s (frozendict-2.5.0.tar.gz) = 2ea0536adf3231d295faaf049dc0d4b296423c9f351917903ecc130b0088319a
+SHA512 (frozendict-2.5.0.tar.gz) = 568c5fa91c08068a23f9e6101db6b8a5baa8c240d6f086e377e2e42e39f945c78a544e0b394bf416bbf5206874b4e9e34789e9537accfcc7e0d8015c8a3db00c
+Size (frozendict-2.5.0.tar.gz) = 336927 bytes



Home | Main Index | Thread Index | Old Index