From f70cc7a4acc92bcd1a5a0c51c315871ceef5d6179716febcb3235db0b7eaebd5 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 21 Aug 2017 16:12:40 +0000 Subject: [PATCH] Accepting request 517970 from home:tbechtold:branches:devel:languages:python - update to 0.6.4: * The method :meth:`.Region.get_or_create_multi` will not pass to the cache backend if no values are ultimately to be stored, based on the use of the :paramref:`.Region.get_or_create_multi.should_cache_fn` function. This empty dictionary is unnecessary and can cause API problems for backends like that of Redis. * The :attr:`.api.NO_VALUE` constant now has a fixed ``__repr__()`` output, so that scenarios where this constant's string value ends up being used as a cache key do not create multiple values. * A new exception class :class:`.exception.PluginNotFound` is now raised when a particular cache plugin class cannot be located either as a setuptools entrypoint or as a registered backend. Previously, a plain ``Exception`` was thrown. * Added ``replace_existing_backend`` to :meth:`.CacheRegion.configure_from_config`. OBS-URL: https://build.opensuse.org/request/show/517970 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=26 --- dogpile.cache-0.6.2.tar.gz | 3 --- dogpile.cache-0.6.4.tar.gz | 3 +++ python-dogpile.cache.changes | 19 +++++++++++++++++++ python-dogpile.cache.spec | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 dogpile.cache-0.6.2.tar.gz create mode 100644 dogpile.cache-0.6.4.tar.gz diff --git a/dogpile.cache-0.6.2.tar.gz b/dogpile.cache-0.6.2.tar.gz deleted file mode 100644 index 55b3b54..0000000 --- a/dogpile.cache-0.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73793471af07af6dc5b3ee015abfaca4220caaa34c615537f5ab007ed150726d -size 329762 diff --git a/dogpile.cache-0.6.4.tar.gz b/dogpile.cache-0.6.4.tar.gz new file mode 100644 index 0000000..1491a24 --- /dev/null +++ b/dogpile.cache-0.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a73aa3049cd88d7ec57a1c2e8946abdf4f14188d429c1023943fcc55c4568da1 +size 315533 diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index af9571d..086dc94 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Aug 21 16:00:57 UTC 2017 - tbechtold@suse.com + +- update to 0.6.4: + * The method :meth:`.Region.get_or_create_multi` will not pass to the + cache backend if no values are ultimately to be stored, based on + the use of the :paramref:`.Region.get_or_create_multi.should_cache_fn` + function. This empty dictionary is unnecessary and can cause API + problems for backends like that of Redis. + * The :attr:`.api.NO_VALUE` constant now has a fixed ``__repr__()`` + output, so that scenarios where this constant's string value + ends up being used as a cache key do not create multiple values. + * A new exception class :class:`.exception.PluginNotFound` is now + raised when a particular cache plugin class cannot be located + either as a setuptools entrypoint or as a registered backend. + Previously, a plain ``Exception`` was thrown. + * Added ``replace_existing_backend`` to + :meth:`.CacheRegion.configure_from_config`. + ------------------------------------------------------------------- Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index c5c1e58..f7a268b 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-dogpile.cache -Version: 0.6.2 +Version: 0.6.4 Release: 0 Summary: A caching front-end based on the Dogpile lock License: BSD-3-Clause