f460f3c12c
Accepting request 1318836 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1318836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=28
2025-11-21 15:53:33 +00:00
37ea1654ee
- Update to 6.2.2
...
* Minor improvements from GitHub Copilot code review.
* Improve documentation.
- from version 6.2.1
* Add support for Python 3.14.
* Improve documentation.
* Update CI environment.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=55
2025-11-20 10:55:13 +00:00
4ab6cd6c8a
Accepting request 1303563 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1303563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=27
2025-09-11 12:38:08 +00:00
cbd80eeec9
- Update to 6.2.0
...
* Improve general ``RRCache`` performance by storing cache keys in an
additional sequence container. Note that this will increase memory
consumption.
* Add more unit tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=53
2025-09-10 09:09:59 +00:00
e597e25c7e
Accepting request 1292330 from devel:languages:python
...
- update to 6.1.0:
* Improve LFUCache insertion performance by switching to an
implementation based on the cacheing library.
* Update CI environment.
* Require Python 3.9 or later (breaking change).
OBS-URL: https://build.opensuse.org/request/show/1292330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=26
2025-07-15 14:42:56 +00:00
16db8a039d
- update to 6.1.0:
...
* Improve LFUCache insertion performance by switching to an
implementation based on the cacheing library.
* Update CI environment.
* Require Python 3.9 or later (breaking change).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=51
2025-07-12 11:43:50 +00:00
5bb9d91a43
Accepting request 1285948 from devel:languages:python
...
- Switch to pyroject macros.
- No more greedy globs in %files.
OBS-URL: https://build.opensuse.org/request/show/1285948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=25
2025-06-17 16:20:17 +00:00
8dc9ec2f8b
- Switch to pyroject macros.
...
- No more greedy globs in %files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=49
2025-06-16 06:18:29 +00:00
a065778c4f
Accepting request 1248023 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1248023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=24
2025-02-25 15:39:13 +00:00
78911a9f04
- Update to 5.5.2
...
* Reduce number of ``@cached`` lock/unlock operations.
* Improve documentation.
* Update CI environment.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=47
2025-02-24 08:43:52 +00:00
d2fdce29ac
Accepting request 1240758 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1240758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=23
2025-01-29 15:09:51 +00:00
d49b98cc48
- Update to 5.5.1
...
* Add documentation regarding caching of exceptions.
* Officially support Python 3.13.
* Update CI environment.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=45
2025-01-28 10:27:30 +00:00
ccaa0beddb
Accepting request 1206442 from devel:languages:python
...
- update to 5.5.0:
* TTLCache.expire() returns iterable of expired (key, value)
pairs.
OBS-URL: https://build.opensuse.org/request/show/1206442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=22
2024-10-09 20:03:25 +00:00
8b44b3aa2f
- update to 5.5.0:
...
* TTLCache.expire() returns iterable of expired (key, value)
pairs.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=43
2024-09-28 19:58:52 +00:00
fa3f98a64c
Accepting request 1164117 from devel:languages:python
...
- update to 5.3.3:
* Documentation improvements.
* Update CI environment.
OBS-URL: https://build.opensuse.org/request/show/1164117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=21
2024-04-03 15:18:48 +00:00
f667390054
- update to 5.3.3:
...
* Documentation improvements.
* Update CI environment.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=41
2024-04-02 13:11:10 +00:00
1019d3ea76
Accepting request 1124987 from devel:languages:python
...
- update to 5.3.2:
* Add support for Python 3.12.
* Various documentation improvements.
OBS-URL: https://build.opensuse.org/request/show/1124987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=20
2023-11-13 21:16:23 +00:00
693c64c6b5
- update to 5.3.2:
...
* Add support for Python 3.12.
* Various documentation improvements.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=39
2023-11-10 13:36:54 +00:00
80f597fe66
Accepting request 1089608 from devel:languages:python
...
- update to 5.3.1:
* Depend on Python >= 3.7.
OBS-URL: https://build.opensuse.org/request/show/1089608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=19
2023-05-30 20:01:39 +00:00
45b7662f47
- update to 5.3.1:
...
* Depend on Python >= 3.7.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=37
2023-05-29 16:04:45 +00:00
0236fef32b
Accepting request 1081971 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1081971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=18
2023-04-22 20:01:41 +00:00
37de317107
Accepting request 1081355 from home:dirkmueller:acdc:as_python3_module
...
SR for python stack proposal
OBS-URL: https://build.opensuse.org/request/show/1081355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=35
2023-04-21 14:50:48 +00:00
cf7330c764
Accepting request 1061731 from devel:languages:python
...
- update to 5.3.0:
* Add ``cache_info()`` function to ``@cached`` decorator.
OBS-URL: https://build.opensuse.org/request/show/1061731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=17
2023-01-29 13:10:27 +00:00
5ecf1b3759
- update to 5.3.0:
...
* Add ``cache_info()`` function to ``@cached`` decorator.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=33
2023-01-28 12:29:08 +00:00
4f346f23e1
Accepting request 1058183 from devel:languages:python
...
- update to 5.2.1:
* Add support for Python 3.11.
* Correct version information in RTD documentation.
* ``badges/shields``: Change to GitHub workflow badge routes.
OBS-URL: https://build.opensuse.org/request/show/1058183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=16
2023-01-14 19:31:23 +00:00
d8958c3fe4
- update to 5.2.1:
...
* Add support for Python 3.11.
* Correct version information in RTD documentation.
* ``badges/shields``: Change to GitHub workflow badge routes.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=31
2023-01-13 09:54:58 +00:00
b57c0c3644
Accepting request 1006298 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1006298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=15
2022-10-01 15:41:40 +00:00
074b62c2e1
Accepting request 1006202 from home:yarunachalam:branches:devel:languages:python
...
- update to v5.2.0
* Add cachetools.keys.methodkey().
* Add cache_clear() function to decorators.
* Add src directory to sys.path for Sphinx autodoc.
* Modernize func wrappers.
- update to v5.1.0
* Add cache decorator parameters as wrapper function attributes.
- update to v5.0.0
* 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.
OBS-URL: https://build.opensuse.org/request/show/1006202
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachetools?expand=0&rev=29
2022-09-27 05:17:26 +00:00
10e77c651b
Accepting request 925753 from devel:languages:python
...
- 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/request/show/925753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=14
2021-10-20 18:23:32 +00:00
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
c7149445e5
Accepting request 895908 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/895908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=13
2021-06-01 08:33:26 +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
8c6f44ddc6
Accepting request 867588 from devel:languages:python
...
- update to 4.2.1:
- Handle ``__missing__()`` not storing cache items.
- Clean up ``__missing__()`` example.
OBS-URL: https://build.opensuse.org/request/show/867588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=12
2021-02-01 12:26:52 +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
d6bea9807a
Accepting request 859231 from devel:languages:python
...
- 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/request/show/859231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=11
2020-12-30 16:12:17 +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
31dce69112
Accepting request 821426 from devel:languages:python
...
- update to 4.1.1:
- Improve ``popitem()`` exception context handling.
- Replace ``float('inf')`` with ``math.inf``.
OBS-URL: https://build.opensuse.org/request/show/821426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=10
2020-07-21 13:40:01 +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
4e8d08f2f4
Accepting request 798870 from devel:languages:python
...
- 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/request/show/798870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=9
2020-05-01 09:06:40 +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
4862eaf28a
Accepting request 769015 from devel:languages:python
...
Automatic submission by obs-autosubmit
OBS-URL: https://build.opensuse.org/request/show/769015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=8
2020-04-19 19:35:56 +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
4a8e2f0fb2
Accepting request 730683 from devel:languages:python
...
- 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/request/show/730683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=7
2019-09-23 10:10:05 +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
Stephan Kulow
f596513238
Accepting request 679937 from devel:languages:python
...
- 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/request/show/679937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=6
2019-02-28 20:44:24 +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
ec4b0143b8
Accepting request 653959 from devel:languages:python
...
Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/request/show/653959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=5
2018-12-13 18:40:49 +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
eea7c2a4f8
Accepting request 517248 from devel:languages:python
...
1
OBS-URL: https://build.opensuse.org/request/show/517248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=4
2017-08-18 13:04:52 +00:00