Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Python: Bump Python package versions for 1.9.0 release#6583

Merged
moonbox3 merged 1 commit into
microsoft:mainfrom
moonbox3:bump-py-ver-release-260617
Jun 18, 2026
Merged

Python: Bump Python package versions for 1.9.0 release#6583
moonbox3 merged 1 commit into
microsoft:mainfrom
moonbox3:bump-py-ver-release-260617

Conversation

@moonbox3

@moonbox3 moonbox3 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

CHANGELOG-driven version bumps for the 2026-06-18 release.

Released tier: agent-framework-core and the root agent-framework go to 1.9.0 (minor). Core ships new public APIs (agent-loop middleware, tool-approval middleware and harness integration, shell-tool harness integration, AG-UI thread snapshot persistence, context-provider telemetry) plus two behavioral breaking changes on evolving surfaces: MCP sampling now denies server-initiated requests by default, and the FileAccess tools were aligned with the .NET implementation. These are treated as within-1.x changes because every package caps core at <2; a major bump would require rewriting those caps. The foundry and openai packages go to 1.8.2 (patch, bug fixes only). The root agent-framework-core[all] pin was moved to 1.9.0 in lockstep with core.

Release-candidate tier: ag-ui to 1.0.0rc5 and declarative to 1.0.0rc2 for their respective changes. orchestrations is promoted to stable 1.0.0; PACKAGE_STATUS and the README install hint were updated accordingly.

Prerelease tier (new Pacific date stamp 260618): anthropic (beta), azure-contentunderstanding (alpha) and foundry-hosting (alpha). No beta cohort bump was applied; only packages with changes this cycle were stamped.

Dependency floors: following the established convention, the core floor was raised to >=1.9.0 on every non-core package bumped this cycle, preserving the existing <2 upper bound.

Also resolves two pre-existing failures in the dependency-bounds validator that are unrelated to the version bumps. Hosted-environment detection now catches a bare ImportError so optional Foundry hosting probing cannot crash user-agent setup. The harness shell-tool integration, which lazily imports the separate agent-framework-tools package to avoid a circular runtime dependency, is now type-checked and tested in isolated environments via a core dev dependency-group, with the shell-tool tests guarded to skip when that package is absent.

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 is linked to an issue and there is no other open PR for this issue (see Related Issue above).
  • 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 title prefix in sync automatically.

Copilot AI review requested due to automatic review settings June 18, 2026 07:08
@moonbox3 moonbox3 added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs python Usage: [Issues, PRs], Target: Python labels Jun 18, 2026
@github-actions github-actions Bot changed the title Bump Python package versions for 1.9.0 release Python: Bump Python package versions for 1.9.0 release Jun 18, 2026
Comment thread python/packages/anthropic/pyproject.toml Outdated

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.

Pull request overview

This PR prepares the Python workspace for the python-1.9.0 release by updating package versions, dependency floors to agent-framework-core>=1.9.0,<2 for bumped packages, and aligning release documentation/lockfiles with the changelog-driven release notes.

Changes:

  • Bump versions across the Python root package and selected subpackages (core → 1.9.0, foundry/openai → 1.8.2, orchestrations → 1.0.0, RC/dated prereleases).
  • Update dependency floors to agent-framework-core>=1.9.0,<2 where packages were bumped, and update the workspace lockfile accordingly (including core dev dependency-group locking).
  • Promote orchestrations docs/status to stable and add guardrails so shell-tool harness tests skip cleanly when agent-framework-tools isn’t installed.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
python/uv.lock Updates locked workspace package versions and adds core dev dependency-group entries for agent-framework-tools.
python/pyproject.toml Bumps the root agent-framework meta-package to 1.9.0 and pins core [all]==1.9.0.
python/CHANGELOG.md Adds the 1.9.0 release notes section and updates compare links.
python/PACKAGE_STATUS.md Promotes agent-framework-orchestrations status to released.
python/packages/core/pyproject.toml Bumps core to 1.9.0 and adds a dev dependency-group for agent-framework-tools.
python/packages/core/agent_framework/_telemetry.py Broadens hosted-environment detection exception handling to catch ImportError.
python/packages/core/tests/core/test_harness_agent.py Skips shell-tool harness tests when agent-framework-tools is absent.
python/packages/openai/pyproject.toml Bumps agent-framework-openai to 1.8.2 and raises core floor to >=1.9.0,<2.
python/packages/foundry/pyproject.toml Bumps agent-framework-foundry to 1.8.2 and raises core floor to >=1.9.0,<2.
python/packages/foundry_hosting/pyproject.toml Date-stamps agent-framework-foundry-hosting prerelease and raises core floor to >=1.9.0,<2.
python/packages/orchestrations/pyproject.toml Promotes orchestrations to 1.0.0 and raises core floor to >=1.9.0,<2.
python/packages/orchestrations/README.md Removes --pre from the installation instructions for orchestrations now that it’s stable.
python/packages/declarative/pyproject.toml Bumps declarative RC version and raises core floor to >=1.9.0,<2.
python/packages/ag-ui/pyproject.toml Bumps AG-UI RC version and raises core floor to >=1.9.0,<2.
python/packages/anthropic/pyproject.toml Date-stamps anthropic prerelease and raises core floor to >=1.9.0,<2.
python/packages/azure-contentunderstanding/pyproject.toml Date-stamps azure-contentunderstanding prerelease and raises core floor to >=1.9.0,<2.

Comment thread python/packages/foundry/pyproject.toml Outdated
Comment thread python/packages/orchestrations/pyproject.toml
Comment thread python/CHANGELOG.md
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Python Test Coverage

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

Python Unit Test Overview

Tests Skipped Failures Errors Time
7987 34 💤 0 ❌ 0 🔥 2m 4s ⏱️

@moonbox3 moonbox3 force-pushed the bump-py-ver-release-260617 branch from 16d226b to 9bd9194 Compare June 18, 2026 07:14

@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.

Automated Code Review

Reviewers: 5 | Confidence: 94% | Result: All clear

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


Automated review by moonbox3's agents

Selective, CHANGELOG-driven version bumps for the 2026-06-18 release.

Released tier: agent-framework-core and the root agent-framework go to 1.9.0
(minor). Core ships new public APIs (agent-loop middleware, tool-approval
middleware and harness integration, shell-tool harness integration, AG-UI
thread snapshot persistence, context-provider telemetry) plus two behavioral
breaking changes on evolving surfaces: MCP sampling now denies server-initiated
requests by default, and the FileAccess tools were aligned with the .NET
implementation. These are treated as within-1.x changes because every package
caps core at <2; a major bump would require rewriting those caps. The foundry
and openai packages go to 1.8.2 (patch, bug fixes only). The root
agent-framework-core[all] pin was moved to 1.9.0 in lockstep with core.

Release-candidate tier: ag-ui to 1.0.0rc5 and declarative to 1.0.0rc2 for their
respective changes. orchestrations is promoted to stable 1.0.0; PACKAGE_STATUS
and the README install hint were updated accordingly.

Prerelease tier (new Pacific date stamp 260618): anthropic (beta),
azure-contentunderstanding (alpha) and foundry-hosting (alpha). No beta cohort
bump was applied; only packages with changes this cycle were stamped.

Dependency floors: following the established convention, the core floor was
raised to >=1.9.0 on every non-core package bumped this cycle, preserving the
existing <2 upper bound.

Also resolves two pre-existing failures in the dependency-bounds validator that
are unrelated to the version bumps. Hosted-environment detection now catches a
bare ImportError so optional Foundry hosting probing cannot crash user-agent
setup. The harness shell-tool integration, which lazily imports the separate
agent-framework-tools package to avoid a circular runtime dependency, is now
type-checked and tested in isolated environments via a core dev
dependency-group, with the shell-tool tests guarded to skip when that package
is absent.
@moonbox3 moonbox3 force-pushed the bump-py-ver-release-260617 branch from 9bd9194 to ea3b0f2 Compare June 18, 2026 07:57
@moonbox3 moonbox3 added the breaking change Usage: [PRs], Target: all PRs that introduce changes that are not backward compatible label Jun 18, 2026
@github-actions github-actions Bot changed the title Python: Bump Python package versions for 1.9.0 release Python: [BREAKING] Bump Python package versions for 1.9.0 release Jun 18, 2026
@moonbox3 moonbox3 removed the breaking change Usage: [PRs], Target: all PRs that introduce changes that are not backward compatible label Jun 18, 2026
@moonbox3 moonbox3 changed the title Python: [BREAKING] Bump Python package versions for 1.9.0 release Python: Bump Python package versions for 1.9.0 release Jun 18, 2026
@moonbox3 moonbox3 merged commit b55992b into microsoft:main Jun 18, 2026
41 checks passed
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 python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants