Repository navigation
Python: Prepare 1.26.0 release - #10298
Conversation
Release the 28 CHANGELOG-selected distributions with Core and the root meta-package at 1.26.0, GitHub Copilot at 2.2.0, and changed prereleases stamped 261112. Refresh the Core standard-install cohort and raise Core floors only for AG-UI, GitHub Copilot, OpenAI, and Redis where the new Core behavior is required. Include compatible SDK and development dependency updates, retain the AG-UI Protocol, Redis, and ty compatibility limits, and apply the approved minimal lint and SDK-regression-test cleanups. No cohort-wide prerelease bump is applied. The standalone Lab workspace remains outside the release batch, and Cosmos Memory needs no version bump because its only change removes a stale lint suppression.
There was a problem hiding this comment.
🔵 Needs a closer look
Widened major SDK ranges and HTTP transport changes require compatibility confirmation through dependency-bound tests and built-artifact smoke checks that could not run in this review environment.
No open issues 🎉
What changed in this PR
Prepares the Python 1.26.0 release of Agent Framework, packaging previously merged features and fixes without publishing packages or creating a release tag.
Changes:
- Updates 28 selected distributions, aligns the Core dependency cohort, and adds a release manifest with smoke imports.
- Expands SDK compatibility ranges and refreshes development tooling while keeping Lab outside the release batch.
- Documents release changes and migrations, updates SDK regression tests, and applies minimal lint cleanups.
| File | Description |
|---|---|
python/tooling/requirements-typing.txt |
Updates pyrefly. |
python/tooling/requirements-quality.txt |
Updates Ruff. |
python/pyproject.toml |
Sets 1.26.0, aligns the Core pin, and refreshes tooling. |
python/packages/tools/pyproject.toml |
Advances the prerelease version. |
python/packages/redis/pyproject.toml |
Bumps version, raises Core minimum, and expands RedisVL support. |
python/packages/purview/tests/purview/test_cache.py |
Removes an extra blank line. |
python/packages/purview/pyproject.toml |
Advances the prerelease version. |
python/packages/postgres/pyproject.toml |
Advances the prerelease version. |
python/packages/oracle/pyproject.toml |
Bumps version and expands python-oracledb support. |
python/packages/openai/tests/openai/test_openai_chat_client.py |
Tests shell tools through the public SDK structured-output API. |
python/packages/openai/pyproject.toml |
Bumps version and requires Core 1.26.0. |
python/packages/ollama/pyproject.toml |
Bumps version and expands Ollama support. |
python/packages/monty/pyproject.toml |
Bumps version and expands Monty support. |
python/packages/mistral/tests/mistral/test_mistral_embedding_client.py |
Makes ownership assertions independent of HTTPX implementation. |
python/packages/mistral/tests/mistral/test_mistral_chat_client.py |
Adapts transport and cleanup tests for supported SDK majors. |
python/packages/mistral/pyproject.toml |
Bumps version, declares HTTPX, and allows Mistral 3.x. |
python/packages/mem0/pyproject.toml |
Advances the prerelease version. |
python/packages/lab/pyproject.toml |
Refreshes standalone development dependencies without a release bump. |
python/packages/hyperlight/pyproject.toml |
Advances the prerelease version. |
python/packages/hosting-responses/pyproject.toml |
Advances the prerelease version. |
python/packages/github_copilot/pyproject.toml |
Sets 2.2.0 and requires Core 1.26.0. |
python/packages/gemini/pyproject.toml |
Bumps version, expands GenAI support, and declares test HTTPX. |
python/packages/foundry/pyproject.toml |
Bumps version and expands Azure AI Projects support. |
python/packages/foundry_hosting/tests/test_responses.py |
Reformats a function-call test input. |
python/packages/foundry_hosting/pyproject.toml |
Bumps version and expands Tenacity support. |
python/packages/foundry_hosting/agent_framework_foundry_hosting/_responses.py |
Combines nested computer-call output conditions. |
python/packages/duckdb/pyproject.toml |
Bumps version and allows DuckDB 2.x on earlier Python versions. |
python/packages/devui/pyproject.toml |
Bumps version and updates watchdog extras. |
python/packages/devui/agent_framework_devui/_mapper.py |
Combines nested message-type checks. |
python/packages/declarative/pyproject.toml |
Bumps version and updates stubs and test dependency ranges. |
python/packages/declarative/agent_framework_declarative/_workflows/_executors_basic.py |
Simplifies the indexed table-update condition. |
python/packages/core/tests/core/test_observability.py |
Reformats response calls. |
python/packages/core/tests/core/test_agents.py |
Sorts imports. |
python/packages/core/pyproject.toml |
Sets 1.26.0 and aligns release cohort and Tenacity ranges. |
python/packages/core/agent_framework/security.py |
Reformats conditions and an error statement. |
python/packages/core/agent_framework/_skills.py |
Removes obsolete PyYAML typing suppressions. |
python/packages/core/agent_framework/_sessions.py |
Reformats continuation conditions. |
python/packages/claude/pyproject.toml |
Advances the prerelease version. |
python/packages/claude/agent_framework_claude/_agent.py |
Reformats token accounting. |
python/packages/bedrock/pyproject.toml |
Advances the prerelease version. |
python/packages/azure-documentdb/pyproject.toml |
Advances the prerelease version. |
python/packages/azure-cosmos/pyproject.toml |
Advances the prerelease version. |
python/packages/azure-cosmos-memory/agent_framework_azure_cosmos_memory/_context_provider.py |
Removes a stale lint suppression. |
python/packages/anthropic/pyproject.toml |
Bumps version and allows Anthropic 2.x. |
python/packages/ag-ui/tests/ag_ui/test_endpoint.py |
Reformats a replay-approval assertion. |
python/packages/ag-ui/pyproject.toml |
Bumps version and requires Core 1.26.0. |
python/packages/a2a/pyproject.toml |
Advances the prerelease version. |
python/CHANGELOG.md |
Adds 1.26.0 changes, migration guidance, and comparison links. |
python/.pre-commit-config.yaml |
Aligns the uv hook version. |
python/.github/release-python-1.26.0.json |
Defines selected release versions and public smoke imports. |
Review effort: Balanced
Code coverage overviewLanguages: Python Python / code-coverage/python
View coverage of the 5 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
There was a problem hiding this comment.
MAF Automated Review — Iteration 1
Result: Findings reported
Scope: full PR (1 commit(s)): 10fcced61e2c
Model: gpt-5.6-sol
Overview
This release-preparation PR uses the repository's manifest validation, package-cohort checks, bounded dependency ranges, smoke imports, and refreshed lockfiles to assemble the selected Python 1.26.0 distributions. The executable Python edits are control-flow-equivalent lint or compatibility cleanups, and no changed security or shared-state lifecycle issue was established. One residual compatibility risk remains: a stable package is assigned a minor version despite an explicitly breaking startup requirement.
Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
1 verified finding remained after source verification (1 medium) across 1 file. Details are attached to the affected lines below.
Affected areas: python/packages/github_copilot/pyproject.toml
Jose Alvarez (jpalvarezl)
left a comment
There was a problem hiding this comment.
Release manifest, version/dependency updates, changelog, and compatibility cleanups look consistent. CI is green.
Motivation & Context
Prepare the Python 1.26.0 release from the merged changes since 1.25.0, including the FIDES replay fixes and legacy memory deprecations. This cut uses a reviewed, selective package batch and refreshes compatible development and SDK dependencies.
Description & Review Guide
python/.github/release-python-1.26.0.json, refresh the exact Core pin andcore[all]cohort, and date-stamp only changed prerelease packages. Update compatible SDK ranges, development pins, and the root and standalone Lab lockfiles. Include the approved minimal lint cleanups and SDK-compatible regression tests.Local checks with uv 0.13.7:
uv run --directory python --no-sync python -m scripts.prepare_release --check --base-ref upstream/main --tag python-1.26.0passed;uv run --directory python --no-sync poe test -P ag-uipassed;uv run --directory python --no-sync poe test-typing -P coreanduv run --directory python --no-sync poe test-typing -P ag-uiboth passed. The selected wheels and sdists build successfully; Flit still emits the repository's existing PEP 639 license-classifier warning.Related Issue
N/A - maintainer-requested release preparation and dependency maintenance. The scope and compatibility decisions were approved in this session; the product features and fixes are already merged. No competing 1.26.0 release PR was found.
AI Assistance
AI assistance details: GitHub Copilot assisted with release analysis, version and dependency updates, CHANGELOG preparation, regression-test and lint cleanups, 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.