pycon.tw
pycon.tw copied to clipboard
chore(deps): bump redis from 2.10.6 to 4.3.6 in /requirements
Bumps redis from 2.10.6 to 4.3.6.
Release notes
Sourced from redis's releases.
4.3.6
Changes
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
🐛 Bug Fixes
Version 4.3.5
Changes
This is a maintenance release of redis-py, prior to the release of 4.4.0. This release contains both bug fixes, and features, keeping pace with the release of redis-stack capabilities.
🚀 New Features
- 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)
🐛 Bug Fixes
- 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)
🧰 Maintenance
- 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)
Contributors
We'd like to thank all the contributors who worked on this release!
@sileht,@utkarshgupta137,@dvora-h,@akx,@bodevone,@chayim,@DvirDukhanVersion 4.3.4
Changes
... (truncated)
Changelog
Sourced from redis's changelog.
* Allow data to drain from async PythonParser when reading during a disconnect() * Use asyncio.timeout() instead of async_timeout.timeout() for python >= 3.11 ([#2602](https://github.com/redis/redis-py/issues/2602)) * Add test and fix async HiredisParser when reading during a disconnect() ([#2349](https://github.com/redis/redis-py/issues/2349)) * Use hiredis-py pack_command if available. * Support `.unlink()` in ClusterPipeline * Simplify synchronous SocketBuffer state management * Fix string cleanse in Redis Graph * Make PythonParser resumable in case of error ([#2510](https://github.com/redis/redis-py/issues/2510)) * Add `timeout=None` in `SentinelConnectionManager.read_response` * Documentation fix: password protected socket connection ([#2374](https://github.com/redis/redis-py/issues/2374)) * Allow `timeout=None` in `PubSub.get_message()` to wait forever * add `nowait` flag to `asyncio.Connection.disconnect()` * Update README.md links * Fix timezone handling for datetime to unixtime conversions * Fix start_id type for XAUTOCLAIM * Remove verbose logging from cluster.py * Add retry mechanism to async version of Connection * Compare commands case-insensitively in the asyncio command parser * Allow negative `retries` for `Retry` class to retry forever * Add `items` parameter to `hset` signature * Create codeql-analysis.yml ([#1988](https://github.com/redis/redis-py/issues/1988)). Thanks @chayim * Add limited support for Lua scripting with RedisCluster * Implement `.lock()` method on RedisCluster * Fix cursor returned by SCAN for RedisCluster & change default target to PRIMARIES * Fix scan_iter for RedisCluster * Remove verbose logging when initializing ClusterPubSub, ClusterPipeline or RedisCluster * Fix broken connection writer lock-up for asyncio ([#2065](https://github.com/redis/redis-py/issues/2065)) * Fix auth bug when provided with no username ([#2086](https://github.com/redis/redis-py/issues/2086)) * Fix missing ClusterPipeline._lock ([#2189](https://github.com/redis/redis-py/issues/2189)) * Added dynaminc_startup_nodes configuration to RedisCluster * Fix reusing the old nodes' connections when cluster topology refresh is being done * Fix RedisCluster to immediately raise AuthenticationError without a retry * ClusterPipeline Doesn't Handle ConnectionError for Dead Hosts ([#2225](https://github.com/redis/redis-py/issues/2225)) * Remove compatibility code for old versions of Hiredis, drop Packaging dependency * The `deprecated` library is no longer a dependency * Failover handling improvements for RedisCluster and Async RedisCluster ([#2377](https://github.com/redis/redis-py/issues/2377)) * Fixed "cannot pickle '_thread.lock' object" bug ([#2354](https://github.com/redis/redis-py/issues/2354), [#2297](https://github.com/redis/redis-py/issues/2297)) * Added CredentialsProvider class to support password rotation * Enable Lock for asyncio cluster mode * Fix Sentinel.execute_command doesn't execute across the entire sentinel cluster bug ([#2458](https://github.com/redis/redis-py/issues/2458)) * Added a replacement for the default cluster node in the event of failure ([#2463](https://github.com/redis/redis-py/issues/2463)) * Fix for Unhandled exception related to self.host with unix socket ([#2496](https://github.com/redis/redis-py/issues/2496))
... (truncated)
Commits
7b48b1bAsyncIO Race Condition Fix (#2639)54a1dceVersion 4.3.5 (#2469)72f90c2Cherry-pick for 4.3.5 (#2468)e6cd4fdv4.3.4 (#2255)e9c2852Fix backwards compatibility from 4.3.2 (#2254)e85fe3bFixXAUTOCLAIMto return the full response (#2252)e5df832Split incorrect mark into two separate marks (#2253)d7d4336commands/cluster: use pipeline to execute split commands (#2230)11cf66aChanged dynamic_startup_nodes default value to 'True' to prevent breaking bac...8b18d5blate eval of the skip condition (#2248)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Codecov Report
Patch and project coverage have no change.
Comparison is base (
3be480d) 69.74% compared to head (b5da151) 69.74%.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@ Coverage Diff @@
## master #1134 +/- ##
=======================================
Coverage 69.74% 69.74%
=======================================
Files 85 85
Lines 3378 3378
=======================================
Hits 2356 2356
Misses 1022 1022
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
what? i don't even know we're using redis 😕
I didn't find any components using Redis, maybe we could remove it?
I'm working on introducing poetry, and will examine and drop those unused deps
@dependabot rebase
Looks like redis is no longer a dependency, so this is no longer needed.