Repository navigation
Python: enable Redis integration on Python 3.15 - #10143
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The PowerShell step can mask a failed Azure Identity import when the subsequent Redis import succeeds and resets $LASTEXITCODE to zero, allowing the smoke check to pass incorrectly.
1 open issue
What changed in this PR
Enables the Python Redis integration on Python 3.15 by adopting RedisVL 0.31 and removing packaging and CI exclusions.
Changes:
- Updates Redis dependency bounds and declares Python 3.15 support.
- Includes Redis in the standard installation and adds Windows import checks.
- Updates installation and development documentation.
| File | Description |
|---|---|
| python/README.md | Removes the Python 3.15 Redis limitation. |
| python/packages/redis/README.md | Documents Python 3.11–3.15 support with RedisVL 0.31. |
| python/packages/redis/pyproject.toml | Updates RedisVL bounds and Python compatibility metadata. |
| python/packages/core/pyproject.toml | Includes Redis in the all extra on Python 3.15. |
| python/DEV_SETUP.md | Documents full-workspace development on Python 3.15. |
| .github/workflows/python-tests.yml | Removes the Redis exclusion and adds Windows Redis import checks. |
Review effort: Balanced
There was a problem hiding this comment.
MAF Automated Review — Iteration 1
Result: No findings
Scope: full PR (1 commit(s)): 6dcf21e3f819
Model: gpt-5.6-sol
Overview
The PR consistently enables the Redis integration on Python 3.15 by updating the bounded RedisVL dependency, package metadata, lockfile, documentation, and CI installation coverage. The frozen lock, full Linux 3.15 workspace lane, Windows wheel installation probe, and existing Redis unit and integration suites provide concrete compatibility guardrails. No supported Critical, High, or Medium defect remains after reconciliation.
Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.

Motivation & Context
RedisVL 0.31.0 is now published with Python 3.15 support. The Redis connector, standard install, and test workflow still exclude Python 3.15 because earlier RedisVL releases did not support it. Remove those restrictions so Redis-backed history, context retrieval, and vector storage are available on Python 3.15.
Upstream release: https://github.com/redis/redis-vl-python/releases/tag/v0.31.0 (includes redis/redis-vl-python#768).
Description & Review Guide
redisvl>=0.11.0,<0.32while retaining 0.31.0 in the workspace lock. Remove the Redis connector's Python upper bound, add its Python 3.15 classifier, and remove the Python-version marker on Redis in core'sallextra. Refreshuv.lock, remove Redis from the CI exclusion, and update the installation and development documentation.Requires-Pythonmetadata, but remain available on compatible older Python versions without raising our existing lower bound. After merging current main, CI retains the separate Foundry Local exclusion on Python 3.15; the full frozen workspace lock remains scoped to Python 3.11–3.14. No connector implementation or public API changes are needed.uv run --directory python --no-project --isolated --python 3.11 --with-editable packages/core --with-editable packages/redis --with pytest==9.1.1 --with pytest-asyncio==1.4.0 --with pytest-timeout==2.4.0 pytest packages/redis/tests -m 'not integration'— passed: 335 tests, 58 integration tests deselected, one existing experimental-feature warning.uv run --directory python --no-project --isolated --python 3.11 --with-editable packages/core --with-editable packages/redis --with redisvl==0.15.0 --with pytest==9.1.1 --with pytest-asyncio==1.4.0 --with pytest-timeout==2.4.0 pytest packages/redis/tests -m 'not integration'— passed after merging current main: 335 tests with the previously locked RedisVL version, 58 integration tests deselected, the same warning.uv run --directory python --no-project --isolated --python 3.15 --with-editable packages/core --with-editable packages/redis --with pytest==9.1.1 --with pytest-asyncio==1.4.0 --with pytest-timeout==2.4.0 pytest packages/redis/tests -m 'not integration'— passed after merging current main: 335 tests, 58 integration tests deselected, the same warning.uv lock --project python --checkandgit diff --check— passed. Core and Redis wheel builds and imports through both namespaces on Python 3.15 passed during initial validation. Live Redis integration tests and Windows execution were not run locally; the existing CI jobs provide those environments.Related Issue
N/A - trivial change. Remove compatibility restrictions whose upstream blocker was resolved by the published RedisVL 0.31.0 release. No competing open PR for this compatibility update was found.
AI Assistance
AI assistance details: Copilot assisted with dependency metadata, the lockfile refresh, CI and documentation changes, local validation, and this PR description.
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and the title prefix in sync automatically.