Revisions of python-dogpile.cache
Ana Guerrero (anag+factory)
accepted
request 1172118
from
Dirk Mueller (dirkmueller)
(revision 43)
- update to 1.3.3: * Added support for an additional pymemcached client parameter PyMemcacheBackend.memcached_expire_time * Fixed the return type for CacheRegion.get(), which was inadvertently hardcoded to use CacheReturnType that only resolved to CachedValue or NoValue. Fixed to return ValuePayload which resolves to Any, as well as a new literal indicating an enum constant for :data:.api.NO_VALUE. The :data:.api.NO_VALUE constant remains available as the single element of this enum.
Ana Guerrero (anag+factory)
accepted
request 1158983
from
Dirk Mueller (dirkmueller)
(revision 42)
- update to 1.3.2: * Added a new backend RedisClusterBackend, allowing support for Redis Cluster. * Added support for additional Redis client parameters RedisBackend.socket_connect_timeout, RedisBackend.socket_keepalive and RedisBackend.socket_keepalive_options.
Ana Guerrero (anag+factory)
accepted
request 1145099
from
Dirk Mueller (dirkmueller)
(revision 41)
- update to 1.3.1: * Added new parameter RedisBackend.username to the Redis backend, and RedisSentinelBackend.username to the Redis Sentinel backend. These parameters allow for username authentication in Redis when RBAC is enabled.
Ana Guerrero (anag+factory)
accepted
request 1137453
from
Dirk Mueller (dirkmueller)
(revision 40)
- use %{?sle15_python_module_pythons} - add typing-extensions
Ana Guerrero (anag+factory)
accepted
request 1135448
from
Dirk Mueller (dirkmueller)
(revision 39)
- update to 1.3.0: * Added new method :meth:`.CacheRegion.get_value_metadata` which can be used to get a value from the cache along with its metadata, including timestamp of when the value was cached. The :class:`.CachedValue` object is returned which features new accessors to retrieve cached time and current age. * Minimum Python version is now Python 3.8; prior versions Python 3.7 and 3.6 are EOL. * Project setup is now based on pep-621 ``pyproject.toml`` configuration. * rereleae, no changes * rerelease, no changes - fix build for older distributions with old default-pytest - skip building against python 3.6 * supports Unix platforms. - Initial package (0.5.0)
Dominique Leuenberger (dimstar_suse)
accepted
request 1099099
from
Factory Maintainer (factory-maintainer)
(revision 38)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 1089613
from
Dirk Mueller (dirkmueller)
(revision 37)
- update to 1.2.1: * Added py.typed file to root so that typing tools such as Mypy recognize dogpile as typed. Pull request courtesy Daverball.
Dominique Leuenberger (dimstar_suse)
accepted
request 1085846
from
Dirk Mueller (dirkmueller)
(revision 36)
- update to 1.2.0: * Added new construct api.CantDeserializeException which can be raised by user-defined deserializer functions which would be passed to CacheRegion.deserializer, to indicate a cache value that can't be deserialized and therefore should be regenerated.
Richard Brown (RBrownFactory)
accepted
request 990239
from
Dirk Mueller (dirkmueller)
(revision 35)
- update to 1.1.8: * Moved the MemcacheArgs.dead_retry argument and the MemcacheArgs.socket_timeout argument which were erroneously added to the “set_parameters”, where they have no effect, to be part of the Memcached connection arguments MemcachedBackend.dead_retry, MemcachedBackend.socket_timeout. * Added MemcacheArgs.dead_retry and MemcacheArgs.socket_timeout to the dictionary of additional keyword arguments that will be passed directly to GenericMemcachedBackend(). * Added RedisBackend.connection_kwargs parameter, which is a dictionary of additional keyword arguments that will be passed directly to StrictRedis() or StrictRedis.from_url(), in the same way that this parameter works with the RedisSentinelBackend already
Dominique Leuenberger (dimstar_suse)
accepted
request 966023
from
Dirk Mueller (dirkmueller)
(revision 34)
Dominique Leuenberger (dimstar_suse)
accepted
request 916952
from
Steve Kowalik (StevenK)
(revision 32)
- Update to 1.1.4: * [usecase] [memcached] Added support for pymemcache socket keepalive and retrying client. * [bug] [general] Fixed Python 3.10 deprecation warning involving threading. Pull request * [bug] [regression] [tests] Repaired the test suite to work with the 5.x series of the decorator module, which now appears to make use of the __signature__ attribute. * [bug] [regression] Fixed regression where ProxyBackend was missing several methods that were added as part of the 1.1 release. * [feature] [region] Added new region method CacheRegion.key_is_locked(). Returns True if the given key is subject to the dogpile lock, which would indicate that the generator function is running at that time. * [feature] [memcached] Added support for the pymemcache backend, using the "dogpile.cache.pymemcache" backend identifier.
Dominique Leuenberger (dimstar_suse)
accepted
request 902220
from
Factory Maintainer (factory-maintainer)
(revision 31)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 888748
from
Dirk Mueller (dirkmueller)
(revision 30)
- update to 1.1.2: * rerelease, no changes
Dominique Leuenberger (dimstar_suse)
accepted
request 878194
from
Dirk Mueller (dirkmueller)
(revision 29)
- fix build for older distributions with old default-pytest
Dominique Leuenberger (dimstar_suse)
accepted
request 866404
from
Dirk Mueller (dirkmueller)
(revision 28)
- skip building against python 3.6
Dominique Leuenberger (dimstar_suse)
accepted
request 853805
from
Factory Maintainer (factory-maintainer)
(revision 27)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 844065
from
Dirk Mueller (dirkmueller)
(revision 26)
- update to 1.0.2: * Added support for TLS connections to the bmemcached backend. * dogpile.cache 1.0.0 was released with a minimum Python version of 3.5. However, due to a dependency issue, the minimum version is now Python 3.6. * Removed the "universal=1" directive from setup.cfg as this would create py2/py3 wheels. dogpile 1.0.x is Python 3 only so a py3-only wheel is now
Dominique Leuenberger (dimstar_suse)
accepted
request 823565
from
Dirk Mueller (dirkmueller)
(revision 25)
- skip python2 building - 0.9.2 is python 3.x only
Dominique Leuenberger (dimstar_suse)
accepted
request 810916
from
Dirk Mueller (dirkmueller)
(revision 24)
- update to 0.9.2: Ensured that the "pyproject.toml" file is not included in builds, as the presence of this file indicates to pip that a pep-517 installation process should be used. As this mode of operation appears to be not well supported by current tools / distros, these problems are avoided within the scope of dogpile.cache installation by omitting the file. Added option to the Redis backend :paramref:`.RedisBackend.thread_local_lock`, which when set to False will disable the use of a threading local by the ``redis`` module in its distributed lock service, which is known to interfere with the lock's behavior when used in an "async" use case, within dogpile this would be when using the :paramref:`.CacheRegion.async_creation_runner` feature. The default is conservatively being left at True, but it's likely this should be set to False in all cases, so a warning is emitted if this flag is not set to False in conjunction with the distributed lock. Added an optional argument to :class:`.RedisBackend` that specifies whether or not a thread-local Redis lock should be used. This is the default, but it breaks asynchronous runner compatibility.
Displaying revisions 1 - 20 of 43