Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
os: ${{ runner.os }}
# Foundry Local requires Python 3.11-3.14; RedisVL still declares Python <3.15.
exclude-packages: ${{ matrix.python-version == '3.15' && 'agent-framework-redis agent-framework-foundry-local' || '' }}
# Foundry Local requires Python 3.11-3.14.
exclude-packages: ${{ matrix.python-version == '3.15' && 'agent-framework-foundry-local' || '' }}
env:
# Configure a constant location for the uv cache
UV_CACHE_DIR: /tmp/.uv-cache
Expand Down
13 changes: 5 additions & 8 deletions python/DEV_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ You can then run the following commands manually:
```bash
# Install every Python version covered by CI
uv python install 3.11 3.12 3.13 3.14 3.15
# Use Python 3.11 through 3.14 for a normal full-workspace development environment
# Use Python 3.11 through 3.14 for a full-workspace development environment
PYTHON_VERSION="3.13"
uv venv --python $PYTHON_VERSION
# Install AF and all workspace dependencies
Expand All @@ -78,13 +78,10 @@ uv run poe prek-install
Python 3.11 or later is required. Use Python 3.11–3.15 for supported development
environments, subject to the workspace and integration-specific limits below.

The checked-in root workspace lock supports the common Python 3.11–3.14
development range. CI validates the Python 3.15 boundary by temporarily
excluding workspace packages whose own Python constraints do not cover that
version; see `.github/actions/python-setup/action.yml`. For local work
specifically targeting Python 3.15, use an isolated package-scoped environment
or the corresponding CI lane rather than expecting the frozen full-workspace
install above to resolve unchanged.
The checked-in root workspace lock supports Python 3.11–3.14. CI validates
Python 3.15 with integration-specific workspace exclusions. For local Python
3.15 work, use an isolated package-scoped environment or the corresponding CI
lane rather than a frozen full-workspace install.

Alternatively, you can reinstall the venv, packages, dependencies and prek
hooks with a single command. Poe is part of the cross-version development
Expand Down
1 change: 0 additions & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ not provide exactly the same feature set as Python 3.14:
| Area | Python 3.15 impact |
| --- | --- |
| Declarative Power Fx | `agent-framework-declarative` is installed, but its `powerfx` dependency is not. YAML values beginning with `=` produce a warning and remain unchanged instead of being evaluated. Declarative agents or workflows that rely on expressions may therefore use invalid literal values or fail later. |
| Redis | `agent-framework-redis` is omitted from the standard install because RedisVL declares `Requires-Python <3.15`. Redis imports and Redis-backed history, context, and vector storage are unavailable. |

## 1. Setup API Keys

Expand Down
2 changes: 1 addition & 1 deletion python/packages/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ all = [
"agent-framework-openai>=1.18.0,<2",
"agent-framework-orchestrations>=1.4.1,<2",
"agent-framework-purview>=1.0.0b261030,<2",
"agent-framework-redis>=1.0.0b261030,<2; python_version < '3.15'",
"agent-framework-redis>=1.0.0b261030,<2",
"agent-framework-tools>=1.0.0b261030,<2",
]

Expand Down
4 changes: 2 additions & 2 deletions python/packages/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ records. Import them from `agent_framework.redis` or `agent_framework_redis`.

## Install

Supports Python 3.11–3.14. RedisVL currently declares `Requires-Python <3.15`,
so pip cannot install this connector on Python 3.15 yet:
Supports Python 3.11–3.15. Python 3.15 requires RedisVL 0.31; earlier Python
versions can use older compatible RedisVL releases:

```bash
pip install agent-framework-redis --pre
Expand Down
5 changes: 3 additions & 2 deletions python/packages/redis/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "agent-framework-redis"
description = "Redis integration for Microsoft Agent Framework."
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
readme = "README.md"
requires-python = ">=3.11,<3.15"
requires-python = ">=3.11"
version = "1.0.0b261030"
license-files = ["LICENSE"]
urls.homepage = "https://aka.ms/agent-framework"
Expand All @@ -19,12 +19,13 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Typing :: Typed",
]
dependencies = [
"agent-framework-core>=1.19.0,<2",
"redis>=6.4.0,<7.2.1",
"redisvl>=0.11.0,<0.16",
"redisvl>=0.11.0,<0.32",
"numpy>=2.2.6,<3"
]

Expand Down
30 changes: 15 additions & 15 deletions python/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading