Hello community, here is the log from the commit of package python-redis for openSUSE:Leap:15.2 checked in at 2020-04-20 12:55:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-redis (Old) and /work/SRC/openSUSE:Leap:15.2/.python-redis.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-redis" Mon Apr 20 12:55:54 2020 rev:14 rq:795720 version:3.4.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-redis/python-redis.changes 2020-03-02 13:22:05.230246833 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-redis.new.2738/python-redis.changes 2020-04-20 12:56:19.384807040 +0200 @@ -1,0 +2,55 @@ +Thu Mar 19 11:37:31 UTC 2020 - pgaj...@suse.com + +- version update to 3.4.1 + * 3.4.1 + * Move the username argument in the Redis and Connection classes to the + end of the argument list. This helps those poor souls that specify all + their connection options as non-keyword arguments. #1276 + * Prior to ACL support, redis-py ignored the username component of + Connection URLs. With ACL support, usernames are no longer ignored and + are used to authenticate against an ACL rule. Some cloud vendors with + managed Redis instances (like Heroku) provide connection URLs with a + username component pre-ACL that is not intended to be used. Sending that + username to Redis servers < 6.0.0 results in an error. Attempt to detect + this condition and retry the AUTH command with only the password such + that authentication continues to work for these users. #1274 + * Removed the __eq__ hooks to Redis and ConnectionPool that were added + in 3.4.0. This ended up being a bad idea as two separate connection + pools be considered equal yet manage a completely separate set of + connections. + * 3.4.0 + * Allow empty pipelines to be executed if there are WATCHed keys. + This is a convenient way to test if any of the watched keys changed + without actually running any other commands. Thanks @brianmaissy. + #1233, #1234 + * Removed support for end of life Python 3.4. + * Added support for all ACL commands in Redis 6. Thanks @IAmATeaPot418 + for helping. + * Pipeline instances now always evaluate to True. Prior to this change, + pipeline instances relied on __len__ for boolean evaluation which + meant that pipelines with no commands on the stack would be considered + False. #994 + * Client instances and Connection pools now support a 'client_name' + argument. If supplied, all connections created will call CLIENT SETNAME + as soon as the connection is opened. Thanks to @Habbie for supplying + the basis of this change. #802 + * Added the 'ssl_check_hostname' argument to specify whether SSL + connections should require the server hostname to match the hostname + specified in the SSL cert. By default 'ssl_check_hostname' is False + for backwards compatibility. #1196 + * Slightly optimized command packing. Thanks @Deneby67. #1255 + * Added support for the TYPE argument to SCAN. Thanks @netocp. #1220 + * Better thread and fork safety in ConnectionPool and + BlockingConnectionPool. Added better locking to synchronize critical + sections rather than relying on CPython-specific implementation details + relating to atomic operations. Adjusted how the pools identify and + deal with a fork. Added a ChildDeadlockedError exception that is + raised by child processes in the very unlikely chance that a deadlock + is encountered. Thanks @gmbnomis, @mdellweg, @yht804421715. #1270, + #1138, #1178, #906, #1262 + * Added __eq__ hooks to the Redis and ConnectionPool classes. + Thanks @brainix. #1240 +- deleted patches + - 0001-fix-tests-with-redis-pre-5.0.0.patch (upstreamed) + +------------------------------------------------------------------- Old: ---- 0001-fix-tests-with-redis-pre-5.0.0.patch redis-3.3.11.tar.gz New: ---- redis-3.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-redis.spec ++++++ --- /var/tmp/diff_new_pack.FLDDA6/_old 2020-04-20 12:56:19.804807699 +0200 +++ /var/tmp/diff_new_pack.FLDDA6/_new 2020-04-20 12:56:19.804807699 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-redis # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-redis -Version: 3.3.11 +Version: 3.4.1 Release: 0 Summary: Python client for Redis key-value store License: MIT Group: Development/Languages/Python URL: https://github.com/andymccurdy/redis-py Source: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz -Patch0: 0001-fix-tests-with-redis-pre-5.0.0.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 2.7.0} BuildRequires: %{python_module setuptools} @@ -43,7 +42,6 @@ %prep %setup -q -n redis-%{version} -%patch0 -p1 %build %python_build @@ -54,7 +52,7 @@ %check %{_sbindir}/redis-server --port 6379 & -%python_exec setup.py test +%pytest killall redis-server %files %{python_files} ++++++ redis-3.3.11.tar.gz -> redis-3.4.1.tar.gz ++++++ ++++ 2942 lines of diff (skipped)