Skip to content

Python: bump package versions for 1.2.1 release#5536

Merged
moonbox3 merged 4 commits intomicrosoft:mainfrom
moonbox3:bump-py-ver-release-20260428
Apr 28, 2026
Merged

Python: bump package versions for 1.2.1 release#5536
moonbox3 merged 4 commits intomicrosoft:mainfrom
moonbox3:bump-py-ver-release-20260428

Conversation

@moonbox3
Copy link
Copy Markdown
Contributor

@moonbox3 moonbox3 commented Apr 28, 2026

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

=1.2.1 to keep cohort signaling consistent. Date stamp reflects the local (Asia) cut date 2026-04-28.

Description

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

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.
Copilot AI review requested due to automatic review settings April 28, 2026 06:38
@moonbox3 moonbox3 requested a review from a team as a code owner April 28, 2026 06:38
@moonbox3 moonbox3 removed the request for review from a team April 28, 2026 06:38
@moonbox3 moonbox3 self-assigned this Apr 28, 2026
@moonbox3 moonbox3 added documentation Improvements or additions to documentation lab Agent Framework Lab labels Apr 28, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Automated Code Review

Reviewers: 4 | Confidence: 71% | Result: All clear

Reviewed: Correctness, Security Reliability, Test Coverage, Design Approach


Automated review by moonbox3's agents

@moonbox3
Copy link
Copy Markdown
Contributor Author

moonbox3 commented Apr 28, 2026

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
packages/core/agent_framework
   _telemetry.py52590%63, 78–80, 128
TOTAL29883347988% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
6029 30 💤 0 ❌ 0 🔥 1m 42s ⏱️

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-core minimum to >=1.2.1.
  • Update uv.lock and CHANGELOG.md for 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.

Comment thread python/CHANGELOG.md
`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.
@moonbox3 moonbox3 force-pushed the bump-py-ver-release-20260428 branch from a6404b7 to d956213 Compare April 28, 2026 07:38
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.
@moonbox3 moonbox3 merged commit 3a463b8 into microsoft:main Apr 28, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation lab Agent Framework Lab python release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants