commit python-cachetools for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cachetools for openSUSE:Factory checked in at 2022-10-01 17:41:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cachetools (Old) and /work/SRC/openSUSE:Factory/.python-cachetools.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-cachetools" Sat Oct 1 17:41:40 2022 rev:15 rq:1006298 version:5.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cachetools/python-cachetools.changes 2021-10-20 20:24:18.413378912 +0200 +++ /work/SRC/openSUSE:Factory/.python-cachetools.new.2275/python-cachetools.changes 2022-10-01 17:41:42.453511676 +0200 @@ -1,0 +2,31 @@ +Mon Sep 26 19:34:29 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> + +- 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. + +------------------------------------------------------------------- Old: ---- cachetools-4.2.4.tar.gz New: ---- cachetools-5.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cachetools.spec ++++++ --- /var/tmp/diff_new_pack.sOcAwK/_old 2022-10-01 17:41:44.529515463 +0200 +++ /var/tmp/diff_new_pack.sOcAwK/_new 2022-10-01 17:41:44.533515470 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cachetools # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cachetools -Version: 4.2.4 +Version: 5.2.0 Release: 0 Summary: Extensible memoizing collections and decorators License: MIT ++++++ cachetools-4.2.4.tar.gz -> cachetools-5.2.0.tar.gz ++++++ ++++ 2962 lines of diff (skipped)
participants (1)
-
Source-Sync