15
0
Commit Graph

71 Commits

Author SHA256 Message Date
8e665d972d Accepting request 916952 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/916952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=32
2021-09-06 13:57:59 +00:00
1b7c0321d6 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=69
2021-09-06 04:34:24 +00:00
d2c67f614c Accepting request 902220 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/902220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=31
2021-06-25 13:01:29 +00:00
5b52475914 - update to 1.1.3:
* rereleae, no changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=68
2021-06-17 21:00:27 +00:00
bda262239d Accepting request 888748 from devel:languages:python
- update to 1.1.2:
  * rerelease, no changes

OBS-URL: https://build.opensuse.org/request/show/888748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=30
2021-04-27 19:35:16 +00:00
acbda4f91f - update to 1.1.2:
* rerelease, no changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=66
2021-04-27 10:42:57 +00:00
4dbf29e86f Accepting request 878194 from devel:languages:python
- fix build for older distributions with old default-pytest

OBS-URL: https://build.opensuse.org/request/show/878194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=29
2021-03-11 19:11:04 +00:00
173df3adef - fix build for older distributions with old default-pytest
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=64
2021-03-10 15:18:43 +00:00
58fd49077d Accepting request 866404 from devel:languages:python
- skip building against python 3.6

OBS-URL: https://build.opensuse.org/request/show/866404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=28
2021-01-25 17:24:13 +00:00
418ed641cd - skip building against python 3.6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=62
2021-01-24 18:40:31 +00:00
79511a5b9a Accepting request 853805 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/853805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=27
2020-12-09 21:12:46 +00:00
058448ea08 - Update to 1.1.1:
- Fixed regression where the serialization and deserialization
    functions could be inadvertently turned into instance methods with
    an unexpected argument signature, namely when pickle.dumps and
    pickle.loads are the pure Python version as is the case in pypy.
  - Reworked the means by which values are serialized and deserialized
    from backends, and provided for custom serialization of values.
    Added the CacheRegion.serializer and CacheRegion.deserializer
    parameters which may be set to any serializer.
  - Serialization and deserialization now take place within the
    CacheRegion so that backends may now assume string values in all
    cases. This simplifies the existing backends and also makes custom
    backends easier to write and maintain.
  - Additionally, the serializer is now applied to the user-defined
    value portion of the CachedValue and not to the metadata or other
    portions of CachedValue object itself, so the serialized portion is
    effectively a "payload" within the larger CachedValue structure that
    is passed as part of the larger string format. The overall format is
    a separate JSON of the cached value metadata, followed by the
    serialized form. This allows for end-user serialization schemes that
    are hardwired to the values themselves without the need to serialize
    dogpile's internal structures as well.
  - Existing custom backends should continue to work without issue; they
    now have the option to forego any separate serialization steps, and
    can also subclass a new backend BytesBackend that marks them as
    a backend that only deals with bytes coming in and out; all internal
    serialization logic from such a backend can be removed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=60
2020-11-25 14:12:34 +00:00
00e1c4b435 Accepting request 844065 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/844065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=26
2020-10-26 15:17:58 +00:00
d275a9e974 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=58
2020-10-26 11:28:50 +00:00
f1641842be Accepting request 823565 from devel:languages:python
- skip python2 building - 0.9.2 is python 3.x only

OBS-URL: https://build.opensuse.org/request/show/823565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=25
2020-07-30 12:06:21 +00:00
568dbf0913 - skip python2 building - 0.9.2 is python 3.x only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=56
2020-07-30 11:04:12 +00:00
3ec866b77c 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
2020-06-09 22:45:59 +00:00
15c4004701 - 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/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=54
2020-06-02 17:05:42 +00:00
26569ea452 Accepting request 758615 from devel:languages:python
- update to 0.9.0
  * Added logging facililities into :class:`.CacheRegion`

OBS-URL: https://build.opensuse.org/request/show/758615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=23
2019-12-21 11:34:26 +00:00
c348be39ea - update to 0.9.0
* Added logging facililities into :class:`.CacheRegion`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=52
2019-12-20 18:20:55 +00:00
2c870f07b3 Accepting request 735296 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/735296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=22
2019-10-05 14:21:21 +00:00
Tomáš Chvátal
77306f64fc Accepting request 735293 from home:mcalabkova:branches:devel:languages:python
- Update to 0.8.0
  * Replaced the Python compatbility routines for ``getfullargspec()`` with a
    fully vendored version from Python 3.3.  Originally, Python was emitting
    deprecation warnings for this function in Python 3.8 alphas.  While this
    change was reverted, it was observed that Python 3 implementations for
    ``getfullargspec()`` are an order of magnitude slower as of the 3.4 series
    where it was rewritten against ``Signature``.  While Python plans to
    improve upon this situation, SQLAlchemy projects for now are using a simple
    replacement to avoid any future issues.
  * Pinned minimum version of Python decorator module at 4.0.0.
  * Fixed the :func:`.sha1_mangle_key` key mangler to coerce incoming Unicode
    objects into bytes.

OBS-URL: https://build.opensuse.org/request/show/735293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=50
2019-10-04 14:24:19 +00:00
Stephan Kulow
b55200b3a5 Accepting request 682880 from devel:languages:python
- Update to 0.7.1:
  * fix python3 deprecation warnings
  * Restore the API for async_creation_runner in all cases

- Fix fdupes call

OBS-URL: https://build.opensuse.org/request/show/682880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=21
2019-03-10 08:40:38 +00:00
Tomáš Chvátal
c66a26ff1d - Update to 0.7.1:
* fix python3 deprecation warnings
  * Restore the API for async_creation_runner in all cases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=48
2019-03-08 14:47:44 +00:00
Tomáš Chvátal
f06b4a8c53 - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=47
2019-03-07 10:53:37 +00:00
70d7dfc0c2 Accepting request 655471 from devel:languages:python
- update to 0.6.8:
  * Project hosting has moved to GitHub, under the SQLAlchemy
    organization at https://github.com/sqlalchemy/dogpile.cache
  * Fixed issue in the :meth:`.CacheRegion.get_or_create_multi` method which
    was erroneously considering the cached value as the timestamp field if the
    :meth:`.CacheRegion.invalidate` method had ben used, usually causing a
    ``TypeError`` to occur, or in less frequent cases an invalid result for
    whether or not the cached value was invalid, leading to excessive caching
    or regeneration. The issue was a regression caused by an implementation
    issue in the pluggable invalidation feature added in 🎫`38`.

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/655471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=20
2018-12-13 18:47:29 +00:00
c22c83feed - update to 0.6.8:
* Project hosting has moved to GitHub, under the SQLAlchemy
    organization at https://github.com/sqlalchemy/dogpile.cache
  * Fixed issue in the :meth:`.CacheRegion.get_or_create_multi` method which
    was erroneously considering the cached value as the timestamp field if the
    :meth:`.CacheRegion.invalidate` method had ben used, usually causing a
    ``TypeError`` to occur, or in less frequent cases an invalid result for
    whether or not the cached value was invalid, leading to excessive caching
    or regeneration. The issue was a regression caused by an implementation
    issue in the pluggable invalidation feature added in 🎫`38`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=45
2018-12-06 05:55:23 +00:00
2f8cf2c7b0 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=44
2018-12-04 13:24:27 +00:00
7f5ec0c286 Accepting request 642929 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/642929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=19
2018-10-25 06:20:11 +00:00
bc5811078b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=42 2018-10-11 11:37:31 +00:00
9381fb7dd6 - update to 0.6.6:
Added method :attr:`.CacheRegion.actual_backend` which calculates and
   caches the actual backend for the region, which may be abstracted by
   the use of one or more :class:`.ProxyBackend` subclasses.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=41
2018-10-11 11:34:30 +00:00
f9af7f26e5 Accepting request 600039 from devel:languages:python
- skip lock tests, they fail frequently (bsc#1086987)

- for testing purposes drop dogpile.cache-tests_more_slow_waiters.patch

- only run generic tests using pytest (bsc#1089564)

OBS-URL: https://build.opensuse.org/request/show/600039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=18
2018-04-24 13:33:32 +00:00
4a6e502bba - for testing purposes drop dogpile.cache-tests_more_slow_waiters.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=39
2018-04-23 13:02:18 +00:00
d6c0e9b038 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=38 2018-04-23 12:57:08 +00:00
e3b3fefea3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=37 2018-04-23 12:56:56 +00:00
a1e7e01395 - skip lock tests, they fail frequently (bsc#1086987)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=36
2018-04-23 12:54:46 +00:00
ee20ab266a - for testing purposes drop dogpile.cache-tests_more_slow_waiters.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=35
2018-04-20 07:51:14 +00:00
4a81aa4762 - only run generic tests using pytest (bsc#1089564)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=34
2018-04-19 13:01:36 +00:00
b6db09280b Accepting request 591544 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/591544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=17
2018-03-28 10:26:49 +00:00
6c5b926c87 Accepting request 591289 from home:oertel:branches:devel:languages:python
- update to 0.6.5:
  * Fixed import issue for Python 3.7 where several variables named
    "async" were, leading to syntax errors.
  * drop dogpile-threading.patch (upstreamed)
- add dogpile.cache-tests_more_slow_waiters.patch (bsc#1086987)
  increase number of allowed slow waiters in testsuite
  otherwise this testsuite seems extremely flaky on non-x86_64

OBS-URL: https://build.opensuse.org/request/show/591289
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=32
2018-03-27 10:11:11 +00:00
68ee85c9dc Accepting request 577786 from devel:languages:python
- add  dogpile-threading.patch

OBS-URL: https://build.opensuse.org/request/show/577786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=16
2018-02-19 12:02:07 +00:00
a35e3626c5 - add dogpile-threading.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=30
2018-02-18 17:35:07 +00:00
20ea480b5b Accepting request 540004 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/540004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=15
2017-11-09 13:06:54 +00:00
Jan Matejek
3784be78c1 Accepting request 540003 from home:alarrosa:branches:devel:languages:python
- Fix broken symlinks created by fdupes on the python3-dogpile.cache package

OBS-URL: https://build.opensuse.org/request/show/540003
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=28
2017-11-08 18:38:50 +00:00
d88b141ad8 Accepting request 517971 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/517971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=14
2017-08-23 09:54:25 +00:00
f70cc7a4ac 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
2017-08-21 16:12:40 +00:00
4b44ba12ed Accepting request 493156 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/493156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=13
2017-05-22 08:46:30 +00:00
Todd R
94cadea3fa Accepting request 493154 from home:TheBlackCat:branches:devel:languages:python
Fix Provides/Obsoletes.

OBS-URL: https://build.opensuse.org/request/show/493154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=24
2017-05-06 04:51:22 +00:00
d832ca1550 Accepting request 484806 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/484806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dogpile.cache?expand=0&rev=12
2017-04-28 07:12:16 +00:00
f48e164a24 Accepting request 484387 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/484387
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=22
2017-04-03 08:47:17 +00:00