Python: bump package versions for 1.2.1 release#5536
Merged
moonbox3 merged 4 commits intomicrosoft:mainfrom Apr 28, 2026
Merged
Python: bump package versions for 1.2.1 release#5536moonbox3 merged 4 commits intomicrosoft:mainfrom
moonbox3 merged 4 commits intomicrosoft:mainfrom
Conversation
PATCH bump (1.2.0 -> 1.2.1) for the released cohort. The release window covers two PRs, no new public APIs: - agent-framework-core: prevent inner_exception from being lost in AgentFrameworkException (microsoft#5167) - samples: add requirements.txt and .env.example to the a2a/ hosting sample for pip-based setup (microsoft#5510) Per lockstep convention, all 21 beta packages stamp 1.0.0b260428 and all 3 alpha packages stamp 1.0.0a260428, regardless of per-package code churn. Every non-core package floor on agent-framework-core is raised to >=1.2.1 to keep cohort signaling consistent. Date stamp reflects the local (Asia) cut date 2026-04-28.
Contributor
Author
Python Test Coverage Report •
Python Unit Test Overview
|
||||||||||||||||||||||||||||||
Contributor
There was a problem hiding this comment.
Pull request overview
Bumps the Python Agent Framework cohort to the 1.2.1 patch release, updating package versions in lockstep (GA/core to 1.2.1; beta/alpha packages to the 2026-04-28 datestamp) and aligning dependency floors on agent-framework-core>=1.2.1.
Changes:
- Bump GA package versions (
agent-framework,agent-framework-core,agent-framework-foundry,agent-framework-openai) to 1.2.1. - Stamp all beta/alpha Python packages to 1.0.0b260428 / 1.0.0a260428 and raise their
agent-framework-coreminimum to >=1.2.1. - Update
uv.lockandCHANGELOG.mdfor the 1.2.1 release.
Reviewed changes
Copilot reviewed 29 out of 30 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| python/uv.lock | Updates locked local package versions to 1.2.1 / *260428 cohort. |
| python/pyproject.toml | Bumps agent-framework to 1.2.1 and pins core to 1.2.1. |
| python/packages/a2a/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/ag-ui/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/anthropic/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/azure-ai-search/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/azure-cosmos/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/azurefunctions/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/bedrock/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/chatkit/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/claude/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/copilotstudio/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/core/pyproject.toml | Bumps agent-framework-core to 1.2.1. |
| python/packages/declarative/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/devui/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/durabletask/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/foundry/pyproject.toml | Bumps agent-framework-foundry to 1.2.1 and raises core floor. |
| python/packages/foundry_hosting/pyproject.toml | Bumps alpha version + raises core floor to >=1.2.1. |
| python/packages/foundry_local/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/gemini/pyproject.toml | Bumps alpha version + raises core floor to >=1.2.1. |
| python/packages/github_copilot/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/hyperlight/pyproject.toml | Bumps alpha version + raises core floor to >=1.2.1. |
| python/packages/lab/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/mem0/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/ollama/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/openai/pyproject.toml | Bumps agent-framework-openai to 1.2.1 and raises core floor. |
| python/packages/orchestrations/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/purview/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/packages/redis/pyproject.toml | Bumps beta version + raises core floor to >=1.2.1. |
| python/CHANGELOG.md | Adds 1.2.1 release notes + updates compare links. |
eavanvalkenburg
approved these changes
Apr 28, 2026
`azure.ai.agentserver.core` is probed at runtime via `importlib.util.find_spec` and is not a declared dependency. The existing `# pyright: ignore[reportMissingImports]` suppresses the missing-import warning, but at `lowest-direct` resolution pyright still reports the imported symbol (`AgentConfig`) and its members (`from_env`, `is_hosted`) as unknown, breaking `validate-dependency-bounds-test` for `packages/core`. Extend the existing ignore to cover `reportUnknownVariableType` on the import and `reportUnknownMemberType` on the call site so the bounds check returns to green. Behavior is unchanged. Latent since microsoft#5455 (shipped in 1.2.0).
The Gemini chat client references several `google.genai.types` symbols (`FileSearch`, `ThinkingLevel`, `SearchTypes`, `McpServer`, `StreamableHttpTransport`, plus call-site keyword args `mcp_servers` and `search_types`) that are not present at the lower bound of `google-genai>=1.0.0`. At `lowest-direct` resolution this caused `validate-dependency-bounds-test` to fail for `packages/gemini` with eleven `reportAttributeAccessIssue` / `reportUnknownVariableType` errors. Walking the upstream `google.genai.types` API: - `GoogleMaps`, `AuthConfig`: present from 1.40.0 - `FileSearch`: introduced in 1.49.0 - `ThinkingLevel`: introduced in 1.55.0 - `SearchTypes`, `McpServer`, `StreamableHttpTransport`: introduced in 1.65.0 Bump the lower bound to 1.65.0 — the minimum version that exposes every symbol the package actually uses. Keep the `<2.0.0` upper cap unchanged. With this bump `validate-dependency-bounds-test` passes for both lower and upper resolution scenarios across all 27 workspace packages. Latent since microsoft#4847 (Gemini package introduction in 1.1.0); aggravated by subsequent feature additions that pulled in newer `types.*` symbols.
a6404b7 to
d956213
Compare
Catalog the 15 dependabot dependency updates that merged on `upstream/main` between python-1.2.0 and the 1.2.1 cut window under a new Changed section: - Workspace dev/runtime deps: `rich`, `prek`, `python-multipart`, `pyasn1`, `pytest` (ag-ui, devui, lab), `uv` (lab) - Frontend deps: `vite` (devui, chatkit), `postcss` (devui, chatkit, handoff), `picomatch` (devui, handoff) CHANGELOG-only — no source or pyproject.toml changes. PRs themselves merged upstream independently of this release branch and will be brought in via the PR merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
PATCH bump (1.2.0 -> 1.2.1) for the released cohort.
Per lockstep convention, all 21 beta packages stamp 1.0.0b260428 and all 3 alpha packages stamp 1.0.0a260428, regardless of per-package code churn. Every non-core package floor on agent-framework-core is raised to
Description
Contribution Checklist