pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cachetools



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Mar 12 05:25:38 UTC 2026

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

Log Message:
py-cachetools: updated to 7.0.5

v7.0.5 (2026-03-09)

- Minor ``@cachedmethod`` performance improvements.

v7.0.4 (2026-03-08)

- Fix and properly document ``@cachedmethod.cache_key`` behavior.

- Minor documentation improvements.

v7.0.3 (2026-03-05)

- Fix ``DeprecationWarning`` when creating an autospec mock with
  ``@cachedmethod`` decorations.

v7.0.2 (2026-03-02)

- Provide more efficient ``clear()`` implementation for all support
  Cache classes (courtesy Josep Pon Farreny).

v7.0.1 (2026-02-10)

- Various test improvements.

- Update Copilot Instructions.

v7.0.0 (2026-02-01)

- Require Python 3.10 or later (breaking change).

- Drop support for passing ``info`` as fourth positional parameter to
  ``@cached`` (breaking change).

- Drop support for ``cache(self)`` returning ``None`` with
  ``@cachedmethod`` (breaking change).

- Convert the ``@cachedmethod`` wrappers to descriptors, deprecating
  its use with class methods and instances that do not provide a
  mutable ``__dict__`` attribute (potentially breaking change).

- Convert the previously undocumented ``@cachedmethod`` attributes
  (``cache``, ``cache_lock``, etc.) to properties for instance
  methods, providing official support and documentation (potentially
  breaking change).

- Add an optional ``info`` parameter to the ``@cachedmethod``
  decorator for reporting per-instance cache statistics.  Note that
  this requires the instance's ``__dict__`` attribute to be a mutable
  mapping.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/py-cachetools/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-cachetools/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-cachetools/Makefile
diff -u pkgsrc/devel/py-cachetools/Makefile:1.32 pkgsrc/devel/py-cachetools/Makefile:1.33
--- pkgsrc/devel/py-cachetools/Makefile:1.32    Wed Jan 28 07:46:57 2026
+++ pkgsrc/devel/py-cachetools/Makefile Thu Mar 12 05:25:37 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2026/01/28 07:46:57 adam Exp $
+# $NetBSD: Makefile,v 1.33 2026/03/12 05:25:37 adam Exp $
 
-DISTNAME=      cachetools-6.2.6
+DISTNAME=      cachetools-7.0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cachetools/}

Index: pkgsrc/devel/py-cachetools/distinfo
diff -u pkgsrc/devel/py-cachetools/distinfo:1.31 pkgsrc/devel/py-cachetools/distinfo:1.32
--- pkgsrc/devel/py-cachetools/distinfo:1.31    Wed Jan 28 07:46:57 2026
+++ pkgsrc/devel/py-cachetools/distinfo Thu Mar 12 05:25:37 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2026/01/28 07:46:57 adam Exp $
+$NetBSD: distinfo,v 1.32 2026/03/12 05:25:37 adam Exp $
 
-BLAKE2s (cachetools-6.2.6.tar.gz) = b5456bed31c1bb5e62ab82f9d91bf6cf3468beb386be8b16830933dbe2808853
-SHA512 (cachetools-6.2.6.tar.gz) = 99437623eb08b7a9cd135240ba257fd83d4b133d3da5b6676f578fa762020c2afa4f2f025513338718680be6d8b45a58c5d2381ce6791f0a7e5bcbdc548d43d4
-Size (cachetools-6.2.6.tar.gz) = 32363 bytes
+BLAKE2s (cachetools-7.0.5.tar.gz) = cbd6c7738b5974a647d8789c5a1ce10ab1d8087538d0a03b6b1707ce6b1dfe69
+SHA512 (cachetools-7.0.5.tar.gz) = 4d93f6124ea077c73438b3a11dd8321249695080a759984146f96cd855bb706ac60bc6bfaab3e782eb17690a00576e016ecadc4090d8a385110b6fd2a04bcc6f
+Size (cachetools-7.0.5.tar.gz) = 37367 bytes



Home | Main Index | Thread Index | Old Index