Hello community, here is the log from the commit of package python-django-redis for openSUSE:Factory checked in at 2020-04-25 20:30:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-redis (Old) and /work/SRC/openSUSE:Factory/.python-django-redis.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-redis" Sat Apr 25 20:30:04 2020 rev:6 rq:796789 version:4.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-redis/python-django-redis.changes 2020-01-07 23:54:40.484072462 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-redis.new.2738/python-django-redis.changes 2020-04-25 20:35:23.946897384 +0200 @@ -1,0 +2,6 @@ +Fri Apr 24 07:21:30 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build with new msgpack: + * msgpack-1.patch + +------------------------------------------------------------------- New: ---- msgpack-1.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-redis.spec ++++++ --- /var/tmp/diff_new_pack.PoeQYi/_old 2020-04-25 20:35:25.814901236 +0200 +++ /var/tmp/diff_new_pack.PoeQYi/_new 2020-04-25 20:35:25.814901236 +0200 @@ -23,9 +23,9 @@ Release: 0 Summary: A redis cache backend for Django License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/niwibe/django-redis Source: https://files.pythonhosted.org/packages/source/d/django-redis/django-redis-%{version}.tar.gz +Patch0: msgpack-1.patch BuildRequires: %{python_module Django >= 2.2} BuildRequires: %{python_module lz4 >= 0.15} BuildRequires: %{python_module mock} @@ -48,6 +48,7 @@ %prep %setup -q -n django-redis-%{version} +%patch0 -p1 %build %python_build ++++++ msgpack-1.patch ++++++ >From 7aad69ed11c84c4c1ea1f992b01b652ba173a2b1 Mon Sep 17 00:00:00 2001 From: Jon Dufresne <jon.dufre...@gmail.com> Date: Sun, 15 Dec 2019 11:14:13 -0800 Subject: [PATCH] Fix msgpack deprecation warning: DeprecationWarning: encoding is deprecated, Use raw=False instead. --- django_redis/serializers/msgpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_redis/serializers/msgpack.py b/django_redis/serializers/msgpack.py index 43d5e9e..7f25824 100644 --- a/django_redis/serializers/msgpack.py +++ b/django_redis/serializers/msgpack.py @@ -8,4 +8,4 @@ def dumps(self, value): return msgpack.dumps(value) def loads(self, value): - return msgpack.loads(value, encoding="utf-8") + return msgpack.loads(value, raw=False)