Jump to solution
Details

The Fix

pip install redis==7.1.0

Based on closed redis/redis-py issue #1688 · PR/commit linked

Open PR/Commit
@@ -103,6 +103,7 @@ def __init__(self, query="*"): self._aggregateplan = [] self._loadfields = [] + self._loadall = False self._limit = Limit() self._max = 0
fix.md
Option A — Upgrade to fixed release\npip install redis==7.1.0\nWhen NOT to use: Do not use this fix if you require compatibility with earlier versions of RediSearch that do not support LOAD *.\n\n

Why This Fix Works in Production

  • Trigger: redis-py should support recent changes to RediSearch. For reference, see the following: RediSearch/RediSearch#2301
  • Mechanism: Adds support for FT.AGGREGATE with LOAD *, addressing issue #1688.
  • Why the fix works: Adds support for FT.AGGREGATE with LOAD *, addressing issue #1688. (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: RediSearch/RediSearch#2301

Proof / Evidence

  • GitHub issue: #1688
  • Fix PR: https://github.com/redis/redis-py/pull/1735
  • 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.73

Discussion

High-signal excerpts from the issue thread (symptoms, repros, edge-cases).

“Default if LOAD is specified but no '*' will be to assume the '*'.”
@chayim · 2021-11-15 · source

Failure Signature (Search String)

  • redis-py should support recent changes to RediSearch. For reference, see the following: RediSearch/RediSearch#2301
Copy-friendly signature
signature.txt
Failure Signature ----------------- redis-py should support recent changes to RediSearch. For reference, see the following: RediSearch/RediSearch#2301

Error Message

Signature-only (no traceback captured)
error.txt
Error Message ------------- redis-py should support recent changes to RediSearch. For reference, see the following: RediSearch/RediSearch#2301

What Broke

Users were unable to utilize the new aggregation features in RediSearch, leading to limited functionality.

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 this fix if you require compatibility with earlier versions of RediSearch that do not support LOAD *.

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/1735

First fixed release: 7.1.0

Last verified: 2026-02-09. Validate in your environment.

Get updates

We publish verified fixes weekly. No spam.

Subscribe

When NOT to Use This Fix

  • Do not use this fix if you require compatibility with earlier versions of RediSearch that do not support LOAD *.

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

VersionStatus
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.