Skip to content

Python: Prepare 1.26.0 release - #10298

Merged
Eduard van Valkenburg (eavanvalkenburg) merged 1 commit into
mainfrom
python-release-preparation
Nov 12, 2026
Merged

Eduard van Valkenburg (eavanvalkenburg) merged 1 commit into
mainfrom
python-release-preparation

Conversation

@eavanvalkenburg

Copy link
Copy Markdown
Member

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

  • What are the major changes? Assemble the 1.26.0 CHANGELOG and bump the 28 selected distributions, with Core/root at 1.26.0 and GitHub Copilot at 2.2.0. Generate python/.github/release-python-1.26.0.json, refresh the exact Core pin and core[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.
  • What is the impact of these changes? Raise the Core minimum only for AG-UI, GitHub Copilot, OpenAI, and Redis where the new Core behavior is required. Core requires typing-extensions 4.16.0 for identity-stable replay sentinels. Retain the existing external dependency floors and platform markers; keep AG-UI Protocol on 0.1.x, Redis below 7.2.1, and ty at 0.0.95 pending separate compatibility migrations. Unchanged packages do not receive a cohort bump, and Lab stays outside the release batch. This PR does not create a tag, publish packages, or start a production release.
  • What do you want reviewers to focus on? Check CHANGELOG coverage, the selected package versions and public smoke imports, Core cohort/floor consistency, and the expanded SDK compatibility ranges. The CLI minimum and Hyperlight timeout behavior documented as breaking changes are already merged; this PR packages those changes for release.

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.0 passed; uv run --directory python --no-sync poe test -P ag-ui passed; uv run --directory python --no-sync poe test-typing -P core and uv run --directory python --no-sync poe test-typing -P ag-ui both 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

  • No material AI assistance was used.
  • This is an AI-assisted contribution. I reviewed, understood, and verified all submitted content and accept responsibility for it.

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

  • The code builds clean without any errors or warnings
  • All unit tests pass, and I have added new tests where possible
  • The PR follows the Contribution Guidelines
  • This PR links to an agreed issue with no competing open PR, or the Related Issue section documents a trivial-change or repository-automation exception.
  • This is not a breaking change. If it is a breaking change, add the breaking change label (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.

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.
Copilot AI balanced review requested due to automatic review settings November 12, 2026 13:39
@agent-framework-automation agent-framework-automation Bot added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs python Usage: [Issues, PRs], Target: Python lab Usage: [Issues, PRs], Target: lab packages labels Nov 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@github-code-quality

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: Python

Python / code-coverage/python

main e836934 python-release-prepa... 10fcced +/-
92% 92% 0%
View coverage of the 5 most impacted files.
File main e836934 python-release-prepa... 10fcced +/-
packages/foundr...g/_responses.py 89% 89% 0%
packages/declar...cutors_basic.py 88% 88% 0%
packages/azure-...vector_store.py 88% 89% +1%
packages/foundr...ow_responses.py 82% 83% +1%
packages/azure-...ext_provider.py 96% 98% +2%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@jpalvarezl Jose Alvarez (jpalvarezl) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release manifest, version/dependency updates, changelog, and compatibility cleanups look consistent. CI is green.

Merged via the queue into main with commit 6811ef8 Nov 12, 2026
77 of 78 checks passed
@eavanvalkenburg
Eduard van Valkenburg (eavanvalkenburg) deleted the python-release-preparation branch November 12, 2026 14:31

This branch was successfully deployed

1 active deployment
github-app-auth — 10fcced6 Deployed Nov 12, 2026 by eavanvalkenburg via team_check #9367
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs lab Usage: [Issues, PRs], Target: lab packages python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants