Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cachy for openSUSE:Factory checked in at 2022-12-19 14:08:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cachy (Old) and /work/SRC/openSUSE:Factory/.python-cachy.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cachy" Mon Dec 19 14:08:08 2022 rev:4 rq:1043678 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cachy/python-cachy.changes 2022-02-23 16:25:58.795507821 +0100 +++ /work/SRC/openSUSE:Factory/.python-cachy.new.1835/python-cachy.changes 2022-12-19 14:08:11.130639886 +0100 @@ -1,0 +2,6 @@ +Mon Dec 19 02:07:36 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-pymemcache.patch: + * Use pymemcache rather than other clients. + +------------------------------------------------------------------- New: ---- support-pymemcache.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cachy.spec ++++++ --- /var/tmp/diff_new_pack.6N9hta/_old 2022-12-19 14:08:11.698642829 +0100 +++ /var/tmp/diff_new_pack.6N9hta/_new 2022-12-19 14:08:11.706642871 +0100 @@ -23,21 +23,21 @@ Release: 0 Summary: A caching library for Python License: MIT -Group: Development/Languages/Python URL: https://github.com/sdispater/cachy Source: https://files.pythonhosted.org/packages/source/c/cachy/cachy-%{version}.tar.gz +Patch0: support-pymemcache.patch BuildRequires: %{python_module fakeredis >= 0.10.2} BuildRequires: %{python_module flexmock >= 0.10.2} BuildRequires: %{python_module msgpack-python >= 0.5} +BuildRequires: %{python_module pymemcache >= 4.0} BuildRequires: %{python_module pytest >= 3.5} BuildRequires: %{python_module pytest-mock >= 1.9} -BuildRequires: %{python_module python-memcached >= 1.59} BuildRequires: %{python_module redis >= 2.10} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-msgpack-python >= 0.5 -Recommends: python-python-memcached >= 1.59 +Recommends: python-pymemcache >= 4.0 Recommends: python-redis >= 2.10 BuildArch: noarch %python_subpackages @@ -46,7 +46,7 @@ Cachy provides a caching library. %prep -%setup -q -n cachy-%{version} +%autosetup -p1 -n cachy-%{version} %build %python_build ++++++ support-pymemcache.patch ++++++ Index: cachy-0.3.0/cachy/stores/memcached_store.py =================================================================== --- cachy-0.3.0.orig/cachy/stores/memcached_store.py +++ cachy-0.3.0/cachy/stores/memcached_store.py @@ -1,12 +1,9 @@ # -*- coding: utf-8 -*- try: - from pylibmc import memcache + from pymemcache.client import base as memcache except ImportError: - try: - import memcache - except ImportError: - memcache = None + memcache = None from ..contracts.taggable_store import TaggableStore