From e46080456131804f53adb76f13abdf9ba53aa2995c5ab4b87dc554c5e5f1ddfa Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Mon, 13 Jun 2016 21:22:53 +0000 Subject: [PATCH 1/3] Accepting request 400429 from home:alois:branches:devel:languages:python Update to 0.6.1 OBS-URL: https://build.opensuse.org/request/show/400429 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=15 --- dogpile.cache-0.5.7.tar.gz | 3 --- dogpile.cache-0.6.1.tar.gz | 3 +++ python-dogpile.cache.changes | 30 ++++++++++++++++++++++++++++++ python-dogpile.cache.spec | 2 +- 4 files changed, 34 insertions(+), 4 deletions(-) delete mode 100644 dogpile.cache-0.5.7.tar.gz create mode 100644 dogpile.cache-0.6.1.tar.gz diff --git a/dogpile.cache-0.5.7.tar.gz b/dogpile.cache-0.5.7.tar.gz deleted file mode 100644 index 3f0d0ce..0000000 --- a/dogpile.cache-0.5.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dcf99b09ddf3d8216b1b4378100eb0235619612fb0e6300ba5d74f10962d0956 -size 288083 diff --git a/dogpile.cache-0.6.1.tar.gz b/dogpile.cache-0.6.1.tar.gz new file mode 100644 index 0000000..7a1ad32 --- /dev/null +++ b/dogpile.cache-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69b52dc56bb52d974e9e9fb2764e1311abcd1fd625de07b4e5c05550ac9b40c0 +size 324046 diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index c2708cb..be4c7c7 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Tue Jun 7 09:48:08 UTC 2016 - aloisio@gmx.com + +- Update to version 0.6.1 + bug: + * Fixed imports for dogpile.core restoring ReadWriteMutex + and NameRegistry into the base namespace, in addition to + dogpile.core.nameregistry and dogpile.core.readwrite_lock. + version 0.6.0 + feature: + * The dogpile.core library has been rolled in as part of the + dogpile.cache distribution. The configuration of the + dogpile name as a namespace package is also removed from + dogpile.cache. In order to allow existing installations of + dogpile.core as a separate package to remain unaffected, + the .core package has been retired within dogpile.cache + directly; the Lock class is now available directly as + dogpile.Lock and the additional dogpile.core constructs + are under the dogpile.util namespace. + Additionally, the long-deprecated dogpile.core.Dogpile + and dogpile.core.SyncReaderDogpile classes have been + removed. + bug: + * The Redis backend now creates a copy of the “arguments” + dictionary passed to it, before popping values out of it. + This prevents the given dictionary from losing its keys. + * Fixed bug in “null” backend where NullLock did not accept + a flag for the NullLock.acquire() method, nor did it return + a boolean value for “success”. + ------------------------------------------------------------------- Mon Mar 7 07:47:48 UTC 2016 - tbechtold@suse.com diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index 29c9b53..afe098d 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -17,7 +17,7 @@ Name: python-dogpile.cache -Version: 0.5.7 +Version: 0.6.1 Release: 0 Summary: A caching front-end based on the Dogpile lock License: BSD-3-Clause From e9187a7b3ddc4a866c5b6f8ac1f1f25b269425427922e731a4535246640e4028 Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Mon, 4 Jul 2016 07:29:59 +0000 Subject: [PATCH 2/3] Accepting request 406254 from home:tbechtold:branches:devel:languages:python - dogpile.core was merged into dogpile.cache . See https://gerrit.sqlalchemy.org/#/c/89/ So dogpile.core is no longer a Require. - Add 0001-Link-moved-functions-in-dogpile.cache.util.patch For backward compat. OBS-URL: https://build.opensuse.org/request/show/406254 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=16 --- ...oved-functions-in-dogpile.cache.util.patch | 58 +++++++++++++++++++ python-dogpile.cache.changes | 9 +++ python-dogpile.cache.spec | 8 ++- 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 0001-Link-moved-functions-in-dogpile.cache.util.patch diff --git a/0001-Link-moved-functions-in-dogpile.cache.util.patch b/0001-Link-moved-functions-in-dogpile.cache.util.patch new file mode 100644 index 0000000..8566f13 --- /dev/null +++ b/0001-Link-moved-functions-in-dogpile.cache.util.patch @@ -0,0 +1,58 @@ +From 85dd3797d5abeea16ba7636796e07338878fba10 Mon Sep 17 00:00:00 2001 +From: Jamie Lennox +Date: Thu, 9 Jun 2016 09:50:43 -0400 +Subject: [PATCH] Link moved functions in dogpile.cache.util + +Change-Id: I5819a237d6abe7c2ee5e04abeedc06ff229388a8 +Pull-request: https://bitbucket.org/zzzeek/dogpile.cache/pull-requests/51 +--- + docs/build/changelog.rst | 11 +++++++++++ + dogpile/cache/util.py | 8 ++++++++ + 2 files changed, 19 insertions(+) + +Index: dogpile.cache-0.6.1/docs/build/changelog.rst +=================================================================== +--- dogpile.cache-0.6.1.orig/docs/build/changelog.rst ++++ dogpile.cache-0.6.1/docs/build/changelog.rst +@@ -13,6 +13,17 @@ Changelog + and ``NameRegistry`` into the base namespace, in addition to + ``dogpile.core.nameregistry`` and ``dogpile.core.readwrite_lock``. + ++ .. change:: ++ :tags: bug ++ ++ Restored some more util symbols that users may have been relying upon ++ (although these were not necessarily intended as user-facing): ++ ``dogpile.cache.util.coerce_string_conf``, ++ ``dogpile.cache.util.KeyReentrantMutex``, ++ ``dogpile.cache.util.memoized_property``, ++ ``dogpile.cache.util.PluginLoader``, ++ ``dogpile.cache.util.to_list``. ++ + .. changelog:: + :version: 0.6.0 + :released: Mon Jun 6 2016 +Index: dogpile.cache-0.6.1/dogpile/cache/util.py +=================================================================== +--- dogpile.cache-0.6.1.orig/dogpile/cache/util.py ++++ dogpile.cache-0.6.1/dogpile/cache/util.py +@@ -1,6 +1,7 @@ + from hashlib import sha1 + import inspect + from ..util import compat ++from ..util import langhelpers + + + def function_key_generator(namespace, fn, to_str=compat.string_type): +@@ -75,4 +76,11 @@ def length_conditional_mangler(length, m + return key + return mangle + ++# in the 0.6 release these functions were moved to the dogpile.util namespace. ++# They are linked here to maintain compatibility with older versions. + ++coerce_string_conf = langhelpers.coerce_string_conf ++KeyReentrantMutex = langhelpers.KeyReentrantMutex ++memoized_property = langhelpers.memoized_property ++PluginLoader = langhelpers.PluginLoader ++to_list = langhelpers.to_list diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index be4c7c7..bf66724 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jul 1 14:38:37 UTC 2016 - tbechtold@suse.com + +- dogpile.core was merged into dogpile.cache . + See https://gerrit.sqlalchemy.org/#/c/89/ + So dogpile.core is no longer a Require. +- Add 0001-Link-moved-functions-in-dogpile.cache.util.patch + For backward compat. + ------------------------------------------------------------------- Tue Jun 7 09:48:08 UTC 2016 - aloisio@gmx.com diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index afe098d..6de34ab 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -24,10 +24,15 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: http://bitbucket.org/zzzeek/dogpile.cache Source: https://pypi.python.org/packages/source/d/dogpile.cache/dogpile.cache-%{version}.tar.gz +# PATCH-FIX-UPSTREAM 0001-Link-moved-functions-in-dogpile.cache.util.patch +Patch0: 0001-Link-moved-functions-in-dogpile.cache.util.patch BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools -Requires: python-dogpile.core >= 0.4.1 +# NOTE(toabctl): upstream merged dogpile.core into dogpile.cache +# see https://gerrit.sqlalchemy.org/#/c/89/ +Provides: python-dogpile.core = 0.4.1 +Obsoletes: python-dogpile.core <= 0.4.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -42,6 +47,7 @@ new value. %prep %setup -q -n dogpile.cache-%{version} +%patch0 -p1 %build python setup.py build From 58f4a0cfc6c18d57cc2d43553b332267ee2ea5653f6a23f7be7f61af99ebfd93 Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Mon, 4 Jul 2016 08:01:28 +0000 Subject: [PATCH 3/3] Accepting request 406263 from home:tbechtold:branches:devel:languages:python - Use pypi.io for Source url OBS-URL: https://build.opensuse.org/request/show/406263 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=17 --- python-dogpile.cache.changes | 5 +++++ python-dogpile.cache.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index bf66724..7dea371 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 4 08:00:04 UTC 2016 - tbechtold@suse.com + +- Use pypi.io for Source url + ------------------------------------------------------------------- Fri Jul 1 14:38:37 UTC 2016 - tbechtold@suse.com diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index 6de34ab..6bde0b4 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -23,7 +23,7 @@ Summary: A caching front-end based on the Dogpile lock License: BSD-3-Clause Group: Development/Languages/Python Url: http://bitbucket.org/zzzeek/dogpile.cache -Source: https://pypi.python.org/packages/source/d/dogpile.cache/dogpile.cache-%{version}.tar.gz +Source: https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-%{version}.tar.gz # PATCH-FIX-UPSTREAM 0001-Link-moved-functions-in-dogpile.cache.util.patch Patch0: 0001-Link-moved-functions-in-dogpile.cache.util.patch BuildRequires: fdupes