The Fix
pip install redis==7.1.0
Based on closed redis/redis-py issue #1687 · PR/commit linked
@@ -35,9 +35,12 @@ def delist(x):
def parse_to_list(response):
- """Optimistally parse the response to a list.
- """
+ """Optimistically parse the response to a list."""
fix.md
Option A — Upgrade to fixed release\npip install redis==7.1.0\nWhen NOT to use: Do not use if it changes public behavior or if the failure cannot be reproduced.\n\n
Why This Fix Works in Production
- Trigger: redis-py should support recent changes to RediSearch. For reference, see the following: https://oss.redis.com/redisearch/master/Commands/#ftprofile
- Mechanism: Adds support for the FT.PROFILE command in redis-py, addressing issue #1687.
- Why the fix works: Adds support for the FT.PROFILE command in redis-py, addressing issue #1687. (first fixed release: 7.1.0).
Why This Breaks in Prod
- Production symptom (often without a traceback): redis-py should support recent changes to RediSearch. For reference, see the following: https://oss.redis.com/redisearch/master/Commands/#ftprofile
Proof / Evidence
- GitHub issue: #1687
- Fix PR: https://github.com/redis/redis-py/pull/1727
- First fixed release: 7.1.0
- Reproduced locally: No (not executed)
- Last verified: 2026-02-09
- Confidence: 0.85
- Did this fix it?: Yes (upstream fix exists)
- Own content ratio: 0.69
Discussion
High-signal excerpts from the issue thread (symptoms, repros, edge-cases).
“redis-py should support recent changes to RediSearch. For reference, see the following: https://oss.redis.com/redisearch/master/Commands/#ftprofile”
Failure Signature (Search String)
- redis-py should support recent changes to RediSearch. For reference, see the following: https://oss.redis.com/redisearch/master/Commands/#ftprofile
Copy-friendly signature
signature.txt
Failure Signature
-----------------
redis-py should support recent changes to RediSearch. For reference, see the following: https://oss.redis.com/redisearch/master/Commands/#ftprofile
Error Message
Signature-only (no traceback captured)
error.txt
Error Message
-------------
redis-py should support recent changes to RediSearch. For reference, see the following: https://oss.redis.com/redisearch/master/Commands/#ftprofile
Fix Options (Details)
Option A — Upgrade to fixed release Safe default (recommended)
pip install redis==7.1.0
When NOT to use: Do not use if it changes public behavior or if the failure cannot be reproduced.
Use when you can deploy the upstream fix. It is usually lower-risk than long-lived workarounds.
Fix reference: https://github.com/redis/redis-py/pull/1727
First fixed release: 7.1.0
Last verified: 2026-02-09. Validate in your environment.
When NOT to Use This Fix
- Do not use if it changes public behavior or if the failure cannot be reproduced.
Did This Fix Work in Your Case?
Quick signal helps us prioritize which fixes to verify and improve.
Prevention
- Capture the exact failing error string in logs and tests so you can reproduce via a minimal script.
- Pin production dependencies and upgrade only with a reproducible test that hits the failing path.
Version Compatibility Table
| Version | Status |
|---|---|
| 7.1.0 | Fixed |
Related Issues
No related fixes found.
Sources
We don’t republish the full GitHub discussion text. Use the links above for context.