Cachetools

Latest version: v5.5.2

Safety actively analyzes 715032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

4.1.0

===================

- Support ``user_function`` with ``cachetools.func`` decorators
(Python 3.8 compatibility).

- Support ``cache_parameters()`` with ``cachetools.func`` decorators
(Python 3.9 compatibility).

4.0.0

===================

- Require Python 3.5 or later.

3.1.1

===================

- Document how to use shared caches with ``cachedmethod``.

- Fix pickling/unpickling of cache keys

3.1.0

===================

- Fix Python 3.8 compatibility issue.

- Use ``time.monotonic`` as default timer if available.

- Improve documentation regarding thread safety.

3.0.0

===================

- Officially support Python 3.7.

- Drop Python 3.3 support (breaking change).

- Remove ``missing`` cache constructor parameter (breaking change).

- Remove ``self`` from ``cachedmethod`` key arguments (breaking
change).

- Add support for ``maxsize=None`` in ``cachetools.func`` decorators.

2.1.0

===================

- Deprecate ``missing`` cache constructor parameter.

- Handle overridden ``getsizeof()`` method in subclasses.

- Fix Python 2.7 ``RRCache`` pickling issues.

- Various documentation improvements.

Page 4 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.