forked from pool/python-dogpile.cache
Accepting request 810916 from devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/810916 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=24
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b348835825c9dcd251d9aad1f89f257277ac198a3e35a61980ab4cb28c75216b
|
||||
size 325830
|
||||
3
dogpile.cache-0.9.2.tar.gz
Normal file
3
dogpile.cache-0.9.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc9dde1ffa5de0179efbcdc73773ef0553921130ad01955422f2932be35c059e
|
||||
size 329503
|
||||
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 2 17:00:19 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 18:20:21 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dogpile.cache
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2020 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 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-dogpile.cache
|
||||
Version: 0.9.0
|
||||
Version: 0.9.2
|
||||
Release: 0
|
||||
Summary: A caching front-end based on the Dogpile lock
|
||||
License: BSD-3-Clause
|
||||
|
||||
Reference in New Issue
Block a user