./devel/py-cachetools, Extensible memoizing collections and decorators

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.5.0, Package name: py312-cachetools-5.5.0, Maintainer: minskim

cachetools is Extensible memoizing collections and decorators.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 27.013 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-27 09:35:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cachetools: updated to 5.3.3

v5.3.3 (2024-02-26)

- Documentation improvements.
- Update CI environment.
   2023-10-27 11:33:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cachetools: updated to 5.3.2

v5.3.2 (2023-10-24)

- Add support for Python 3.12.
- Various documentation improvements.
   2023-05-28 12:51:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cachetools: updated to 5.3.1

v5.3.1 (2023-05-27)

- Depend on Python >= 3.7.
   2023-04-30 17:15:20 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-cachetools: update to 5.3.0.

v5.3.0 (2023-01-22)
===================

- Add ``cache_info()`` function to ``@cached`` decorator.

v5.2.1 (2023-01-08)
===================

- Add support for Python 3.11.

- Correct version information in RTD documentation.

- ``badges/shields``: Change to GitHub workflow badge routes.

v5.2.0 (2022-05-29)
===================

- Add ``cachetools.keys.methodkey()``.

- Add ``cache_clear()`` function to decorators.

- Add ``src`` directory to ``sys.path`` for Sphinx autodoc.

- Modernize ``func`` wrappers.

v5.1.0 (2022-05-15)
===================

- Add cache decorator parameters as wrapper function attributes.

v5.0.0 (2021-12-21)
===================

- Require Python 3.7 or later (breaking change).

- Remove deprecated submodules (breaking change).

  The ``cache``, ``fifo``, ``lfu``, ``lru``, ``mru``, ``rr`` and
  ``ttl`` submodules have been deleted.  Therefore, statements like

  ``from cachetools.ttl import TTLCache``

  will no longer work. Use

  ``from cachetools import TTLCache``

  instead.

- Pass ``self`` to ``@cachedmethod`` key function (breaking change).

  The ``key`` function passed to the ``@cachedmethod`` decorator is
  now called as ``key(self, *args, **kwargs)``.

  The default key function has been changed to ignore its first
  argument, so this should only affect applications using custom key
  functions with the ``@cachedmethod`` decorator.

- Change exact time of expiration in ``TTLCache`` (breaking change).

  ``TTLCache`` items now get expired if their expiration time is less
  than *or equal to* ``timer()``.  For applications using the default
  ``timer()``, this should be barely noticable, but it may affect the
  use of custom timers with larger tick intervals.  Note that this
  also implies that a ``TTLCache`` with ``ttl=0`` can no longer hold
  any items, since they will expire immediately.

- Change ``Cache.__repr__()`` format (breaking change).

  String representations of cache instances now use a more compact and
  efficient format, e.g.

  ``LRUCache({1: 1, 2: 2}, maxsize=10, currsize=2)``

- Add TLRU cache implementation.

- Documentation improvements.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-09-30 21:02:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cachetools: updated to 4.2.4

v4.2.4 (2021-09-30)
- Add submodule shims for backward compatibility.

v4.2.3 (2021-09-29)
- Add documentation and tests for using ``TTLCache`` with
  ``datetime``.
- Link to typeshed typing stubs.
- Flatten package file hierarchy.