Hello community,
here is the log from the commit of package python-django-redis for
openSUSE:Leap:15.2 checked in at 2020-05-01 15:08:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-django-redis (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-django-redis.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-redis"
Fri May 1 15:08:04 2020 rev:4 rq:799464 version:4.11.0
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-django-redis/python-django-redis.changes
2020-02-23 16:47:28.998322011 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-django-redis.new.2738/python-django-redis.changes
2020-05-01 15:08:06.258669581 +0200
@@ -1,0 +2,6 @@
+Fri Apr 24 07:21:30 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build with new msgpack:
+ * msgpack-1.patch
+
+-------------------------------------------------------------------
New:
----
msgpack-1.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-redis.spec ++++++
--- /var/tmp/diff_new_pack.DGzr6i/_old 2020-05-01 15:08:06.714670571 +0200
+++ /var/tmp/diff_new_pack.DGzr6i/_new 2020-05-01 15:08:06.718670580 +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 <[email protected]>
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)