aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cantools_37.0.7.bb
diff options
context:
space:
mode:
authorXu Huan <xuhuan.fnst@fujitsu.com>2022-03-24 17:17:58 +0800
committerTrevor Gamblin <trevor.gamblin@windriver.com>2022-03-28 08:35:31 -0400
commit4b32f597170d6b51c757ac06ba0a3f4113e98190 (patch)
tree6c678ae3dc2886252365af64a11202c3c8918608 /meta-python/recipes-devtools/python/python3-cantools_37.0.7.bb
parentd26f61f21db9ef17763e6b579982e33c8434f4e1 (diff)
downloadmeta-openembedded-contrib-4b32f597170d6b51c757ac06ba0a3f4113e98190.tar.gz
python3-cachetools: upgrade 4.2.4 -> 5.0.0
changelog: =============================================================================== -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 TTLCacheinstead. -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. Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cantools_37.0.7.bb')
0 files changed, 0 insertions, 0 deletions