15
0
Commit Graph

16 Commits

Author SHA256 Message Date
9681da1e12 - update to 4.2.4:
- Add submodule shims for backward compatibility.
  - Add documentation and tests for using ``TTLCache`` with
    ``datetime``.
  - Link to typeshed typing stubs.
  - Flatten package file hierarchy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=28
2021-10-16 21:02:54 +00:00
a067fddafc Accepting request 895889 from home:pgajdos:python
- version update to 4.2.2
  * Update build environment.
  * Remove Python 2 remnants.
  * Format code with Black.
- %check: use %pyunittest macro

OBS-URL: https://build.opensuse.org/request/show/895889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=26
2021-05-28 07:50:17 +00:00
9d994e9224 - update to 4.2.1:
- Handle ``__missing__()`` not storing cache items.
  - Clean up ``__missing__()`` example.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=24
2021-01-28 22:51:28 +00:00
aa1d0f3d46 - update to 4.2.0:
- Add FIFO cache implementation.
  - Add MRU cache implementation.
  - Improve behavior of decorators in case of race conditions.
  - Improve documentation regarding mutability of caches values and use
    of key functions with decorators.
  - Officially support Python 3.9.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=22
2020-12-29 13:44:32 +00:00
a135b8b15b - update to 4.1.1:
- Improve ``popitem()`` exception context handling.
  - Replace ``float('inf')`` with ``math.inf``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=20
2020-07-17 07:22:03 +00:00
0ea8128860 - update to 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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=18
2020-04-29 10:48:38 +00:00
Tomáš Chvátal
5af7e76f60 Accepting request 766776 from home:mcalabkova:branches:devel:languages:python
- update to 4.0.0
  * Require Python 3.5 or later.

OBS-URL: https://build.opensuse.org/request/show/766776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=16
2020-01-24 09:50:29 +00:00
Tomáš Chvátal
13f667fb1c - Update to 3.1.1:
* Document how to use shared caches with @cachedmethod.
  * Fix pickling/unpickling of cache keys

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=14
2019-09-13 11:09:56 +00:00
a5cb3c231f - update to 3.1.0:
- Fix Python 3.8 compatibility issue.
  - Use ``time.monotonic`` as default timer if available.
  - Improve documentation regarding thread safety.
  - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=12
2019-02-27 18:18:44 +00:00
679630df49 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=10
2018-12-04 17:10:49 +00:00
833868fdad Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=9
2018-12-04 13:18:20 +00:00
Todd R
5f37acdf8c Accepting request 517247 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version
- Update to version 2.0.1

OBS-URL: https://build.opensuse.org/request/show/517247
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=7
2017-08-16 16:34:50 +00:00
39c805c6d8 - update to 2.0.0:
- Drop Python 3.2 support (breaking change).
  - Drop support for deprecated features (breaking change).
  - Move key functions to separate package (breaking change).
  - Accept non-integer ``maxsize`` in ``Cache.__repr__()``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=5
2017-06-01 21:05:53 +00:00
957f27432e Accepting request 423883 from home:tbechtold:branches:devel:languages:python
- update to 1.1.6:
  - Reimplement ``LRUCache`` and ``TTLCache`` using
    ``collections.OrderedDict``.  Note that this will break pickle
    compatibility with previous versions.
  - Fix ``TTLCache`` not calling ``__missing__()`` of derived classes.
  - Handle ``ValueError`` in ``Cache.__missing__()`` for consistency
    with caching decorators.
  - Improve how ``TTLCache`` handles expired items.
  - Use ``Counter.most_common()`` for ``LFUCache.popitem()``.
  - Refactor ``Cache`` base class.  Note that this will break pickle
    compatibility with previous versions.
  - Clean up ``LRUCache`` and ``TTLCache`` implementations.
  - Refactor ``LRUCache`` and ``TTLCache`` implementations.  Note that
    this will break pickle compatibility with previous versions.
  - Document pending removal of deprecated features.
  - Minor documentation improvements.
  - Fix pickle tests.
  - Fix pickling of large ``LRUCache`` and ``TTLCache`` instances.
  - Improve key functions.
  - Improve documentation.
  - Improve unit test coverage.
  - Add ``@cached`` function decorator.
  - Add ``hashkey`` and ``typedkey`` fuctions.
  - Add `key` and `lock` arguments to ``@cachedmethod``.
  - Set ``__wrapped__`` attributes for Python versions < 3.2.
  - Move ``functools`` compatible decorators to ``cachetools.func``.
  - Deprecate ``@cachedmethod`` `typed` argument.
  - Deprecate `cache` attribute for ``@cachedmethod`` wrappers.
  - Deprecate `getsizeof` and `lock` arguments for `cachetools.func`
    decorator.

OBS-URL: https://build.opensuse.org/request/show/423883
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=3
2016-08-31 06:46:27 +00:00
Stephan Kulow
05c3b62ee4 Accepting request 317961 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/317961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=1
2015-07-23 13:22:59 +00:00
88693e0471 - Initial package (1.0.3)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=1
2015-07-09 08:06:33 +00:00