Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python2-redis | Distribution: openSUSE Leap 15.2 |
Version: 3.4.1 | Vendor: openSUSE |
Release: lp152.1.1 | Build date: Mon Apr 20 13:00:39 2020 |
Group: Development/Languages/Python | Build host: cloud106 |
Size: 611825 | Source RPM: python-redis-3.4.1-lp152.1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/andymccurdy/redis-py | |
Summary: Python client for Redis key-value store |
The Python interface to the Redis key-value store.
MIT
* Thu Mar 19 2020 pgajdos@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) * Fri Dec 13 2019 Matthias Fehring <buschmann23@opensuse.org> - Fix tests with redis pre 5.0.0: * 0001-fix-tests-with-redis-pre-5.0.0.patch * Sun Nov 24 2019 Arun Persaud <arun@gmx.de> - specfile: * be more specifc in %files section - update to version 3.3.11: * Further fix for the SSLError -> TimeoutError mapping to work on obscure releases of Python 2.7. - changes from version 3.3.10: * Fixed a potential error handling bug for the SSLError -> TimeoutError mapping introduced in 3.3.9. hanks @zbristow. #1224 - changes from version 3.3.9: * Mapped Python 2.7 SSLError to TimeoutError where appropriate. Timeouts should now consistently raise TimeoutErrors on Python 2.7 for both unsecured and secured connections. Thanks @zbristow. #1222 * Tue Sep 10 2019 Tomáš Chvátal <tchvatal@suse.com> - Update to 3.3.8: * Fixed MONITOR parsing to properly parse IPv6 client addresses * Fixed a regression introduced in 3.3.0 * Mon Aug 12 2019 Marketa Calabkova <mcalabkova@suse.com> - Update to v3.3.6 * Resolve a race condition with the PubSubWorkerThread. #1150 * Response callbacks are now case insensitive. * Added support for hiredis-py 1.0.0 encoding error support. * Add READONLY and READWRITE commands. * Added extensive health checks that keep the connections lively. * Many more changes, see upstream changelog. * Sun Mar 31 2019 John Vandenberg <jayvdb@gmail.com> - Add missing build dependency setuptools * Tue Mar 26 2019 John Vandenberg <jayvdb@gmail.com> - Update to v3.2.1 * Fix SentinelConnectionPool to work in multiprocess/forked environments * Mon Feb 18 2019 sebix+novell.com@sebix.at - Update to 3.2.0 bsc#1131555: * Added support for `select.poll` to test whether data can be read on a socket. This should allow for significantly more connections to be used with pubsub. Fixes #486/#1115 * Attempt to guarentee that the ConnectionPool hands out healthy connections. Healthy connections are those that have an established socket connection to the Redis server, are ready to accept a command and have no data available to read. Fixes #1127/#886 * Use the socket.IPPROTO_TCP constant instead of socket.SOL_TCP. IPPROTO_TCP is available on more interpreters (Jython for instance). Thanks @Junnplus. #1130 * Fixed a regression introduced in 3.0 that mishandles exceptions not derived from the base Exception class. KeyboardInterrupt and gevent.timeout notable. Thanks Christian Fersch. #1128/#1129 * Significant improvements to handing connections with forked processes. Parent and child processes no longer trample on each others' connections. Thanks to Jay Rolette for the patch and highlighting this issue. [#504]/#732/#784/#863 * PythonParser no longer closes the associated connection's socket. The connection itself will close the socket. #1108/#1085 * Fri Feb 15 2019 Tomáš Chvátal <tchvatal@suse.com> - Update to 3.1.0: * Connection URLs must have one of the following schemes: redis://, rediss://, unix://. Thanks @jdupl123. #961/#969 * Fixed an issue with retry_on_timeout logic that caused some TimeoutErrors to be retried. Thanks Aaron Yang. #1022/#1023 * Added support for SNI for SSL. Thanks @oridistor and Roey Prat. #1087 * Fixed ConnectionPool repr for pools with no connections. Thanks Cody Scott. #1043/#995 * Fixed GEOHASH to return a None value when specifying a place that doesn't exist on the server. Thanks @guybe7. #1126 * Fixed XREADGROUP to return an empty dictionary for messages that have been deleted but still exist in the unacknowledged queue. Thanks @xeizmendi. #1116 * Added an owned method to Lock objects. owned returns a boolean indicating whether the current lock instance still owns the lock. Thanks Dave Johansen. #1112 * Allow lock.acquire() to accept an optional token argument. If provided, the token argument is used as the unique value used to claim the lock. Thankd Dave Johansen. #1112 * Added a reacquire method to Lock objects. reaquire attempts to renew the lock such that the timeout is extended to the same value that the lock was initially acquired with. Thanks Ihor Kalnytskyi. #1014 * Stream names found within XREAD and XREADGROUP responses now properly respect the decode_responses flag. * XPENDING_RANGE now requires the user the specify the min, max and count arguments. Newer versions of Redis prevent ount from being infinite so it's left to the user to specify these values explicitly. * ZADD now returns None when xx=True and incr=True and an element is specified that doesn't exist in the sorted set. This matches what the server returns in this case. #1084 * Added client_kill_filter that accepts various filters to identify and kill clients. Thanks Theofanis Despoudis. #1098 * Fixed a race condition that occurred when unsubscribing and resubscribing to the same channel or pattern in rapid succession. Thanks Marcin Raczyński. #764 * Added a LockNotOwnedError that is raised when trying to extend or release a lock that is no longer owned. This is a subclass of LockError so previous code should continue to work as expected. Thanks Joshua Harlow. #1095 * Fixed a bug in GEORADIUS that forced decoding of places without respecting the decode_responses option. Thanks Bo Bayles. #1082 - Drop no longer needed redis-skip-rounding.patch * Fri Nov 16 2018 sebix+novell.com@sebix.at - add recommendation for python-hiredis as requested by @mimi_vx in Request#649524 * Fri Nov 16 2018 sebix+novell.com@sebix.at - update to version 3.0.1: * Fixed regression with UnixDomainSocketConnection caused by 3.0.0. Thanks Jyrki Muukkonen * Fixed an issue with the new asynchronous flag on flushdb and flushall. Thanks rogeryen * Updated Lock.locked() method to indicate whether *any* process has acquired the lock, not just the current one. This is in line with the behavior of threading.Lock. Thanks Alan Justino da Silva - update to version 3.0.0: BACKWARDS INCOMPATIBLE CHANGES * When using a Lock as a context manager and the lock fails to be acquired a LockError is now raised. This prevents the code block inside the context manager from being executed if the lock could not be acquired. * Renamed LuaLock to Lock. * Removed the pipeline based Lock implementation in favor of the LuaLock implementation. * Only bytes, strings and numbers (ints, longs and floats) are acceptable for keys and values. Previously redis-py attempted to cast other types to str() and store the result. This caused must confusion and frustration when passing boolean values (cast to 'True' and 'False') or None values (cast to 'None'). It is now the user's responsibility to cast all key names and values to bytes, strings or numbers before passing the value to redis-py. * The StrictRedis class has been renamed to Redis. StrictRedis will continue to exist as an alias of Redis for the forseeable future. * The legacy Redis client class has been removed. It caused much confusion to users. * ZINCRBY arguments 'value' and 'amount' have swapped order to match the the Redis server. The new argument order is: keyname, amount, value. * MGET no longer raises an error if zero keys are passed in. Instead an empty list is returned. * MSET and MSETNX now require all keys/values to be specified in a single dictionary argument named mapping. This was changed to allow for future options to these commands in the future. * ZADD now requires all element names/scores be specified in a single dictionary argument named mapping. This was required to allow the NX, XX, CH and INCR options to be specified. * Removed support for EOL Python 2.6 and 3.3. Thanks jdufresne OTHER CHANGES * Added missing DECRBY command. Thanks derek-dchu * CLUSTER INFO and CLUSTER NODES respones are now properly decoded to strings. * Added a 'locked()' method to Lock objects. This method returns True if the lock has been acquired and owned by the current process, otherwise False. * EXISTS now supports multiple keys. It's return value is now the number of keys in the list that exist. * Ensure all commands can accept key names as bytes. This fixes issues with BLPOP, BRPOP and SORT. * All errors resulting from bad user input are raised as DataError exceptions. DataError is a subclass of RedisError so this should be transparent to anyone previously catching these. * Added support for NX, XX, CH and INCR options to ZADD * Added support for the MIGRATE command * Added support for the MEMORY USAGE and MEMORY PURGE commands. Thanks Itamar Haber * Added support for the 'asynchronous' argument to FLUSHDB and FLUSHALL commands. Thanks Itamar Haber * Added support for the BITFIELD command. Thanks Charles Leifer and Itamar Haber * Improved performance on pipeline requests with large chunks of data. Thanks tzickel * Fixed test suite to not fail if another client is connected to the server the tests are running against. * Added support for SWAPDB. Thanks Itamar Haber * Added support for all STREAM commands. Thanks Roey Prat and Itamar Haber * SHUTDOWN now accepts the 'save' and 'nosave' arguments. Thanks dwilliams-kenzan * Added support for ZPOPMAX, ZPOPMIN, BZPOPMAX, BZPOPMIN. Thanks Itamar Haber * Added support for the 'type' argument in CLIENT LIST. Thanks Roey Prat * Added support for CLIENT PAUSE. Thanks Roey Prat * Added support for CLIENT ID and CLIENT UNBLOCK. Thanks Itamar Haber * GEODIST now returns a None value when referencing a place that does not exist. Thanks qingping209 * Added a ping() method to pubsub objects. Thanks krishan-carbon * Fixed a bug with keys in the INFO dict that contained ':' symbols. Thanks mzalimeni * ssl_cert_reqs now has a default value of 'required' by default. This should make connecting to a remote Redis server over SSL more secure. Thanks u2mejc * Fixed the select system call retry compatibility with Python 2.x. Thanks lddubeau * max_connections is now a valid querystring argument for creating connection pools from URLs. Thanks mmaslowskicc * Added the UNLINK command. Thanks yozel * Added socket_type option to Connection for configurability. Thanks garlicnation * Lock.do_acquire now atomically sets acquires the lock and sets the expire value via set(nx=True, px=timeout). Thanks 23doors * Added 'count' argument to SPOP. Thanks AlirezaSadeghi * Fixed an issue parsing client_list respones that contained an '='. Thanks swilly22 * Thu Sep 13 2018 Tomáš Chvátal <tchvatal@suse.com> - Add patch redis-skip-rounding.patch to fix rounding issues with geolocation, it is not stable enought o produce pinpoint equal results among 32bit platforms * Tue Aug 28 2018 tchvatal@suse.com - Run tests by launching redis server - Require redis on runtime * Tue Oct 03 2017 arun@gmx.de - update to version 2.10.6: * Various performance improvements. Thanks cjsimpson * Fixed a bug with SRANDMEMBER where * Added HSTRLEN command. Thanks Alexander Putilin * Added the TOUCH command. Thanks Anis Jonischkeit * Remove unnecessary calls to the server when registering Lua scripts. Thanks Ben Greenberg * SET's EX and PX arguments now allow values of zero. Thanks huangqiyin * Added PUBSUB {CHANNELS, NUMPAT, NUMSUB} commands. Thanks Angus Pearson * PubSub connections that that encounter `InterruptedError`s now retry automatically. Thanks Carlton Gibson and Seth M. Larson * LPUSH and RPUSH commands run on PyPy now correctly returns the number of items of the list. Thanks Jeong YunWon * Added support to automatically retry socket EINTR errors. Thanks Thomas Steinacher * PubSubWorker threads started with `run_in_thread` are now daemonized so the thread shuts down when the running process goes away. Thanks Keith Ainsworth * Added support for GEO commands. Thanks Pau Freixes, Alex DeBrie and Abraham Toriz * Made client construction from URLs smarter. Thanks Tim Savage * Added support for CLUSTER * commands. Thanks Andy Huang * The RESTORE command now accepts an optional `replace` boolean. Thanks Yoshinari Takaoka * Attempt to connect to a new Sentinel if a TimeoutError occurs. Thanks Bo Lopker * Fixed a bug in the client's `__getitem__` where a KeyError would be raised if the value returned by the server is an empty string. Thanks Javier Candeira. * Socket timeouts when connecting to a server are now properly raised as TimeoutErrors. * Wed Jun 28 2017 benoit.monin@gmx.fr - convert the package to singlespec * Tue Nov 15 2016 dmueller@suse.com - update to 2.10.5: * Allow URL encoded parameters in Redis URLs. Characters like a "/" can now be URL encoded and redis-py will correctly decode them. Thanks * Added support for the WAIT command. Thanks https://github.com/eshizhan * Better shutdown support for the PubSub Worker Thread. It now properly cleans up the connection, unsubscribes from any channels and patterns previously subscribed to and consumes any waiting messages on the socket. * Added the ability to sleep for a brief period in the event of a WatchError occuring. Thanks Joshua Harlow. * Fixed a bug with pipeline error reporting when dealing with characters in error messages that could not be encoded to the connection's character set. Thanks Hendrik Muhs. * Fixed a bug in Sentinel connections that would inadvertantly connect to the master when the connection pool resets. Thanks https://github.com/df3n5 * Better timeout support in Pubsub get_message. Thanks Andy Isaacson. * Fixed a bug with the HiredisParser that would cause the parser to get stuck in an endless loop if a specific number of bytes were delivered from the socket. This fix also increases performance of parsing large responses from the Redis server. * Added support for ZREVRANGEBYLEX. * ConnectionErrors are now raised if Redis refuses a connection due to the maxclients limit being exceeded. Thanks Roman Karpovich. * max_connections can now be set when instantiating client instances. Thanks Ohad Perry.
/usr/lib/python2.7/site-packages/redis /usr/lib/python2.7/site-packages/redis-3.4.1-py2.7.egg-info /usr/lib/python2.7/site-packages/redis-3.4.1-py2.7.egg-info/PKG-INFO /usr/lib/python2.7/site-packages/redis-3.4.1-py2.7.egg-info/SOURCES.txt /usr/lib/python2.7/site-packages/redis-3.4.1-py2.7.egg-info/dependency_links.txt /usr/lib/python2.7/site-packages/redis-3.4.1-py2.7.egg-info/requires.txt /usr/lib/python2.7/site-packages/redis-3.4.1-py2.7.egg-info/top_level.txt /usr/lib/python2.7/site-packages/redis/__init__.py /usr/lib/python2.7/site-packages/redis/__init__.pyc /usr/lib/python2.7/site-packages/redis/__init__.pyo /usr/lib/python2.7/site-packages/redis/_compat.py /usr/lib/python2.7/site-packages/redis/_compat.pyc /usr/lib/python2.7/site-packages/redis/_compat.pyo /usr/lib/python2.7/site-packages/redis/client.py /usr/lib/python2.7/site-packages/redis/client.pyc /usr/lib/python2.7/site-packages/redis/client.pyo /usr/lib/python2.7/site-packages/redis/connection.py /usr/lib/python2.7/site-packages/redis/connection.pyc /usr/lib/python2.7/site-packages/redis/connection.pyo /usr/lib/python2.7/site-packages/redis/exceptions.py /usr/lib/python2.7/site-packages/redis/exceptions.pyc /usr/lib/python2.7/site-packages/redis/exceptions.pyo /usr/lib/python2.7/site-packages/redis/lock.py /usr/lib/python2.7/site-packages/redis/lock.pyc /usr/lib/python2.7/site-packages/redis/lock.pyo /usr/lib/python2.7/site-packages/redis/sentinel.py /usr/lib/python2.7/site-packages/redis/sentinel.pyc /usr/lib/python2.7/site-packages/redis/sentinel.pyo /usr/lib/python2.7/site-packages/redis/utils.py /usr/lib/python2.7/site-packages/redis/utils.pyc /usr/lib/python2.7/site-packages/redis/utils.pyo /usr/share/doc/packages/python2-redis /usr/share/doc/packages/python2-redis/CHANGES /usr/share/doc/packages/python2-redis/README.rst /usr/share/licenses/python2-redis /usr/share/licenses/python2-redis/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 11:27:19 2024