Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-redis for 
openSUSE:Factory checked in at 2022-10-11 18:03:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-redis (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-redis.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-redis"

Tue Oct 11 18:03:24 2022 rev:10 rq:1009757 version:5.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-django-redis/python-django-redis.changes  
2022-05-12 23:00:10.912782425 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-redis.new.2275/python-django-redis.changes
        2022-10-11 18:05:50.394112944 +0200
@@ -1,0 +2,42 @@
+Tue Oct 11 09:30:19 UTC 2022 - John Vandenberg <[email protected]>
+
+- Drop unnecessary clean-cache.patch
+- Update to v5.2.0
+  * Block use with broken redis-py 4.0.0 and 4.0.1
+  * Add support for django 4
+- from v5.1.0
+  * Add Python 3.10 to CI
+  * Configured towncrier to generate the changelog.
+  * Added django_redis.compressors.zstd.ZStdCompressor to provide
+    pyzstd cache value compression
+  * Change pickle default version to Python default instead of
+    highest version
+  * Add hiredis extra dependency to request redis[hiredis]
+  * Add pexpireat to allow setting 'expire at' with millisecond
+    precision
+  * Make expire, pexpire, expireat and persist return the redis
+    client value
+  * Convert most unittest class tests to pytest tests
+  * Update type comments to type annotations
+  * Pin redis-py to 3.x until 4.x breaking changes can be addressed
+  * Clarify redis primary name in sentinel documentation
+  * Add documentation on configuring self signed SSL certificates
+- from v5.0.0
+  * supporting django 3.1 and django 3.2
+  * dropped support for python 3.5
+  * added support for python 3.9
+  * started type hinting the codebase
+  * ensure connections are closed
+  * fixed ShardClient .clear() method
+  * .delete() now returns boolean from django 3.1 onwards
+  * disconnect connection pools on .close()
+  * added support for redis sentinel
+  * added .expire_at() method
+  * fixed .incr() when ttl is None or when the number is larger than 64 bit
+  * fixed .incr_version() when ttl is None
+  * added .pttl() method to the clients to support milli-second precision
+    for ttl of a key
+  * added .pexpire() method to the clients to support milli-second
+    precision for setting expiry of a key
+
+-------------------------------------------------------------------

Old:
----
  clean-cache.patch
  django-redis-4.12.1.tar.gz

New:
----
  django-redis-5.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-redis.spec ++++++
--- /var/tmp/diff_new_pack.BTgDoi/_old  2022-10-11 18:05:50.790113584 +0200
+++ /var/tmp/diff_new_pack.BTgDoi/_new  2022-10-11 18:05:50.794113590 +0200
@@ -18,19 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
+%define skip_python36 1
 Name:           python-django-redis
-Version:        4.12.1
+Version:        5.2.0
 Release:        0
 Summary:        A redis cache backend for Django
 License:        BSD-3-Clause
 URL:            https://github.com/jazzband/django-redis
 Source:         
https://files.pythonhosted.org/packages/source/d/django-redis/django-redis-%{version}.tar.gz
-# minimal patch to fix the testsuite, see 
https://github.com/jazzband/django-redis/pull/492 for reference
-Patch0:         clean-cache.patch
 BuildRequires:  %{python_module Django >= 2.2}
 BuildRequires:  %{python_module lz4 >= 0.15}
 BuildRequires:  %{python_module msgpack >= 0.4.6}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytest-django}
+BuildRequires:  %{python_module pytest-mock >= 3.0}
 BuildRequires:  %{python_module redis >= 2.10.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -48,7 +49,7 @@
 
 %prep
 %setup -q -n django-redis-%{version}
-%autopatch -p1
+sed -i '/addopts/d' setup.cfg
 
 %build
 %python_build
@@ -59,30 +60,20 @@
 
 %check
 /usr/sbin/redis-server --port 6379 &
-export PYTHONPATH=.:tests
-%python_exec tests/runtests.py
-# The first four are errors on Python 2
-# The last three tests tests raise NotImplementedError
-%{python_expand DJANGO_SETTINGS_MODULE=tests.test_sqlite_sharding \
-  $python -m pytest \
-    --deselect 
tests/test_backend.py::DjangoRedisCacheTestEscapePrefix::test_keys \
-    --deselect 
tests/test_backend.py::DjangoRedisCacheTests::test_delete_pattern \
-    --deselect 
tests/test_backend.py::DjangoRedisCacheTests::test_touch_missed_key \
-    --deselect 
tests/test_backend.py::DjangoRedisCacheTests::test_touch_negative_timeout \
-    --deselect 
tests/test_backend.py::DjangoRedisCacheTests::test_touch_positive_timeout \
-    --deselect 
tests/test_backend.py::DjangoRedisCacheTests::test_touch_zero_timeout \
-    tests
+export PYTHONPATH=${PWD}:${PWD}/tests
+%{python_expand \
+DJANGO_SETTINGS_MODULE=tests.settings.sqlite_sharding $python -m pytest -rs -v 
tests
+DJANGO_SETTINGS_MODULE=tests.settings.sqlite_herd $python -m pytest -rs -v 
tests
+DJANGO_SETTINGS_MODULE=tests.settings.sqlite_json $python -m pytest -rs -v 
tests
+DJANGO_SETTINGS_MODULE=tests.settings.sqlite_msgpack $python -m pytest -rs -v 
tests
+DJANGO_SETTINGS_MODULE=tests.settings.sqlite_zlib $python -m pytest -rs -v 
tests
+DJANGO_SETTINGS_MODULE=tests.settings.sqlite_lz4 $python -m pytest -rs -v tests
 }
-%python_exec tests/runtests-herd.py
-%python_exec tests/runtests-json.py
-%python_exec tests/runtests-msgpack.py
-%python_exec tests/runtests-zlib.py
-%python_exec tests/runtests-lz4.py
 killall redis-server
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/django[-_]redis*/
 
 %changelog

++++++ django-redis-4.12.1.tar.gz -> django-redis-5.2.0.tar.gz ++++++
++++ 8169 lines of diff (skipped)

Reply via email to