673e16e503
- Rewrite logic for skipping tests * Add skipped_tests * Move list of skipped tests from spec to skipped_tests * Add list of tests that need to be skipped exclusively for valkey - Update valkey skipped test list to fix test suite with valkey >= 9.0.0 (bsc#1252957) - Update general skipped test list with tests that fail in aarch64 and i586 - Add redis_opts rpm macro * Allows us to properly check for redis/valkey >= 7.0.0, instead of grepping for known major versions when adding the needed cli options
Matej Cepl2025-11-06 09:54:44 +00:00
3564ba5b23
Accepting request 1315210 from devel:languages:python
Ana Guerrero2025-11-05 15:17:43 +00:00
7902d019f2
- Update to 7.0.1: (bsc#1252957) * New Features + Support for maintenance push notifications handling during server upgrade or maintenance procedures. + Adding WITHATTRIBS option to vector set's vsim command. + Adding ssl_verify_flags_config argument for ssl connection configuration + Adding new ExternalAuthProviderError that will be raised when we receive 'problem with LDAP service' response from server. * Experimental Features + Multi-database client implementation * Breaking changes + Adding abstract method declaration for cache property setter in EvictionPolicyInterface + Removing synchronous context manager handling from async RedisCluster. + Removing the threading.Lock locks and replacing them with RLock objects to avoid deadlocks. + Adding score_cast_func argument to zrank, zrevrank and zunion - for consistency with the other sorted sets commands - Refreshed patch remove-mock.patch
Steve Kowalik2025-11-03 04:00:08 +00:00
ab0376faf0
- update to 6.4.0: * Added epsilon property to the vsim command - update to 6.3.0: * Add support for new BITOP operations: DIFF, DIFF1, ANDOR, ONE * Support new VAMANA vector index type * Add new stream commands * add async Retry __eq__ and __hash__ & fix ExponentialWithJitterBackoff __eq__ * Fixing sentinel command execution to allow returning of actual responses when meaningful - behaviour controlled by 'return_responses' argument. * Annotate deprecated_args decorator to preserve wrapped function type signature * Fix ConnectionPool to raise MaxConnectionsError instead of Connection… * add async Retry __eq__ and __hash__ & fix ExponentialWithJitterBackoff __eq__ * SentinelManagedConnection searches for new master upon connection failure (#3560)
Dirk Mueller2025-09-30 12:35:04 +00:00
ddd5a43f6b
Accepting request 1289331 from devel:languages:python
Ana Guerrero2025-07-02 10:07:16 +00:00
af3f271c65
- Added test_add_elem_no_quant.patch to fix test on 32 bit archs.
Matej Cepl2025-06-30 17:18:57 +00:00
7437248b67
Accepting request 1285097 from devel:languages:python
Ana Guerrero2025-06-13 16:42:23 +00:00
956291d98c
- Remove not needed pytest.ini source file.
Daniel Garcia2025-06-12 10:31:30 +00:00
6a2af8ebb7
- Add pytest-asyncio-045.patch to make tests compatible with latest python-pytest-asyncio
Daniel Garcia2025-02-13 11:52:23 +00:00
2c3fb9a318
- Update to 5.2.1: * Fixed unsecured tempfile.mktemp() command usage (#3446) * Fixed bug with SLOWLOG GET response parsing on Redis Software (#3441) * Fixed issue with invoking _close() on closed event loop (#3438) * Migrate test infrastructure to new custom docker images (#3415) * Fixed flacky test with HEXPIREAT command (#3437)
Daniel Garcia2025-02-13 11:00:13 +00:00
509395d6b0
Accepting request 1227113 from devel:languages:python
Ana Guerrero2024-11-28 23:08:46 +00:00
307a5bd9d1
- Pin tests to pytest-asyncio < 0.24 - Only require async-timeout for older pythons
Ana Guerrero2024-11-28 11:37:49 +00:00
1b7e8b8a28
Accepting request 1225386 from devel:languages:python
Ana Guerrero2024-11-21 14:13:30 +00:00
ac0cdf7a12
- update to 5.2.0: * Extend AggregateRequest with scorer argument
Dirk Mueller2024-11-20 17:54:33 +00:00
d7a0465d3a
Accepting request 1206271 from devel:languages:python
Ana Guerrero2024-10-09 20:03:06 +00:00
fac67c4e78
Accepting request 1162314 from devel:languages:python
Ana Guerrero2024-03-27 19:41:47 +00:00
2d0859fe95
Accepting request 1162291 from home:glaubitz:branches:devel:languages:python
Robert Schweikert2024-03-26 15:50:57 +00:00
de9943fd2e
Accepting request 1139023 from devel:languages:python
Ana Guerrero2024-01-17 21:14:40 +00:00
0f0cfe95a3
- add https://github.com/redis/redis-py/pull/3005 as Close-various-objects-created-during-asyncio-tests.patch to fix tests for python 3.12 potential data leak in specific cases. (CVE-2023-28858, bsc#1209811) * Better error handling
Dirk Mueller2024-01-15 20:20:19 +00:00
5884f3b76f
- Update to 4.5.4: * Security + Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases. (CVE-2023-28858, bsc#1209811) + Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases. (CVE-2023-28859, bsc#1209812) * New Features + Introduce AbstractConnection so that UnixDomainSocketConnection can call super().init (#2588) + Added queue_class to REDIS_ALLOWED_KEYS (#2577) + Made search document subscriptable (#2615) + Sped up the protocol parsing (#2596) + Use hiredis::pack_command to serialized the commands. (#2570) + Add support for unlink in cluster pipeline (#2562) * Bug Fixes + Fixing cancelled async futures (#2666) + Fix: do not use asyncio's timeout lib before 3.11.2 (#2659) + Fix UDS in v4.5.2: UnixDomainSocketConnection missing constructor argument (#2630) + CWE-404 AsyncIO Race Condition Fix (#2624, #2579) + Fix behaviour of async PythonParser to match RedisParser as for issue #2349 (#2582) + Replace async_timeout by asyncio.timeout (#2602) + Update json().arrindex() default values (#2611) + Fix#2581 UnixDomainSocketConnection object has no attribute _command_packer (#2583) + Fix issue with pack_commands returning an empty byte sequence (#2416) + Async HiredisParser should finish parsing after a Connection.disconnect() (#2557) + Check for none, prior to raising exception (#2569)
Steve Kowalik2023-04-18 03:13:49 +00:00
bf1ee5d359
Accepting request 1076597 from devel:languages:python
Matej Cepl2023-04-01 08:13:48 +00:00
6bf3e78d6d
- Upgrade to 4.4.4 (also bsc#1209811, CVE-2023-28858 & bsc#1209812, CVE-2023-28859) to fix possible async command information disclosure. - Upgrade to 4.4.3: Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade! - CWE-404 AsyncIO Race Condition Fix - Upgrade to 4.4.2: - Add support for BF.CARD - Add support for custom connection pool class in NodesManager Allow replica to master promotion in nodes_cache Security Fix: Updating graph parser for potential injection cases - Upgrade to 4.4.0: - Async clusters: Support creating locks inside async functions - Async: added 'blocking' argument to call lock method - Added a replacement for the default cluster node in the event of failure. - Fixed geosearch: Wrong number of arguments for geosearch command - Updating dev dependencies - Removing deprecated LGTM - Added an explicit index name in RediSearch example - Adding connection step to bloom filter examples - Skip test_acl_list test (gh#redis/redis-py#2679)
Matej Cepl2023-04-01 02:45:41 +00:00
4274d7b8f5
- Disable broken test test_xautoclaim gh#redis/redis-py#2554 - udpate to 4.3.5: * Add support for TIMESERIES 1.8 (#2296) * Graph - add counters for removed labels and properties (#2292) * Add support for TDIGEST.QUANTILE extensions (#2317) * Add TDIGEST.TRIMMED_MEAN (#2300) * Add support for async GRAPH module (#2273) * Support TDIGEST.MERGESTORE and make compression optional on TDIGEST.CREATE (#2319) * Adding reserve as an alias for create, so that we have BF.RESERVE and CF.RESERVE accuratenly supported (#2331) * Fix async connection.is_connected to return a boolean value (#2278) * Fix: workaround asyncio bug on connection reset by peer (#2259) * Fix crash: key expire while search (#2270) * Async cluster: fix concurrent pipeline (#2280) * Fix async SEARCH pipeline (#2316) * Fix KeyError in async cluster - initialize before execute multi key commands (#2439) * Supply chain risk reduction: remove dependency on library named deprecated (#2386) * Search test - Ignore order of the items in the response (#2322) * Fix GRAPH.LIST & TDIGEST.QUANTILE tests (#2335) * Fix TimeSeries range aggregation (twa) tests (#2358) * Mark TOPK.COUNT as deprecated (#2363)
Daniel Garcia2023-01-18 13:10:50 +00:00
8ed8f54ea4
- update to 4.3.4: * Fix backward compatibility from 4.3.2 in Lock.acquire() * Fix XAUTOCLAIM to return the full response, instead of only keys 2+ * Added dynamic_startup_nodes configuration to RedisCluster. * Fix retries in async mode * Async cluster: fix simultaneous initialize * Uppercased commands in CommandsParser.get_keys * Late eval of the skip condition in async tests * Reuse the old nodes' connections when a cluster topology refresh is being done * Docs: add pipeline examples * Correct retention_msecs value * Cluster: use pipeline to execute split commands * Docs: Add a note about client_setname and client_name difference
Dirk Mueller2022-10-01 17:23:23 +00:00
8d1c0f81d0
- Add account-defaults-redis.patch which fixes failing tests by taking into consideration redis defaults, not overwriting them (gh#andymccurdy/redis-py#1499).
Matej Cepl2021-07-16 09:17:26 +00:00
392532f780
Accepting request 688628 from home:jayvdb:django
Tomáš Chvátal
2019-03-26 09:41:16 +00:00
86cf3a1c1c
Accepting request 676986 from devel:languages:python
Yuchen Lin2019-02-19 11:00:38 +00:00
2df149d0c1
Accepting request 676978 from home:sebix:branches:devel:languages:python
Thomas Bechtold2019-02-18 09:39:32 +00:00
a7a56ab3ae
- 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
Tomáš Chvátal
2019-02-15 11:46:31 +00:00
f62398c5be
Accepting request 649543 from home:sebix:branches:devel:languages:python
Todd R
2018-11-16 15:02:25 +00:00
901058bff2
Accepting request 649524 from home:sebix:branches:devel:languages:python
Tomáš Chvátal
2018-11-16 10:20:02 +00:00
38b1bbe888
Accepting request 635475 from devel:languages:python
Yuchen Lin2018-09-13 22:01:36 +00:00
b5f7a3b1e7
- 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
Tomáš Chvátal
2018-09-13 07:54:53 +00:00
d13562cd38
- 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.
Dirk Mueller2016-11-15 12:37:13 +00:00
e97c29c8f3
Accepting request 247253 from devel:languages:python
Stephan Kulow
2014-09-03 06:30:19 +00:00
2788fb2d31
Accepting request 247252 from home:TheBlackCat:branches:devel:languages:python
Todd R
2014-09-02 16:38:54 +00:00
ac5671162c
Accepting request 208186 from devel:languages:python
Stephan Kulow
2013-11-25 15:03:31 +00:00
8ea62ebe80
Accepting request 208185 from home:posophe:branches:devel:languages:python
Denisart Benjamin
2013-11-24 19:05:59 +00:00
b927205009
Accepting request 186099 from devel:languages:python
Stephan Kulow
2013-08-07 18:53:11 +00:00