Skip to content

Python: Bump package versions for 1.20.0 release - #8968

Merged
Eduard van Valkenburg (eavanvalkenburg) merged 8 commits into
microsoft:mainfrom
eavanvalkenburg:python-package-release-plan
Oct 2, 2026
Merged

Eduard van Valkenburg (eavanvalkenburg) merged 8 commits into
microsoft:mainfrom
eavanvalkenburg:python-package-release-plan

Conversation

@eavanvalkenburg

@eavanvalkenburg Eduard van Valkenburg (eavanvalkenburg) commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Motivation & Context

Prepare the Python 1.20.0 package release from the 150 Python changes merged since python-1.19.0, including native Foundry workflow hosting and the missing py.typed markers.

Description & Review Guide

  • What are the major changes? Adds the 1.20.0 CHANGELOG section; bumps 37 changed distributions according to their lifecycle stages; updates selected Core and OpenAI floors; bounds core[all] to the current release cohort; refreshes root and Lab development dependencies and lockfiles; and adds Windows Python 3.14 meta-package installation checks.
  • What is the impact of these changes? Core and the root package move to 1.20.0, changed released packages receive independent semver bumps, and changed alpha/beta packages receive the 261002 date stamp. The bounded integration cohort avoids pip resolver backtracking, msgspec 0.22 enables Python 3.15 installation, and Redis is omitted on 3.15 until redisvl supports it.
  • What do you want reviewers to focus on? Confirm the CHANGELOG coverage and semver decisions, the selective Core-floor updates, the core[all] cohort bounds, and the new Windows end-user installation gate.

Related Issue

N/A - scheduled Python release preparation.

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.

Prepare the changelog-driven package release, update selected internal floors, refresh root and Lab development dependencies and lockfiles, bound the core all-extra to the release cohort, and add Python 3.14/3.15 Windows meta-package install checks.
Copilot AI balanced review requested due to automatic review settings October 2, 2026 09:20
@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 Oct 2, 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.

Copilot review overview

🟡 Changes recommended

The release validator incorrectly accepts a missing or empty Core all extra.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Prepares the Python 1.20.0 release by updating package versions, dependency bounds, tooling, release validation, and installation coverage.

Changes:

  • Bumps Core, integrations, prerelease packages, and development tooling.
  • Bounds core[all] dependencies and adds release validation.
  • Adds Python 3.14/3.15 Windows meta-package installation checks.
File Description
python/​scripts/​dependencies/​tests/​test_dependency_bounds_release.py Tests cohort bounds and prerelease policy.
python/​scripts/​dependencies/​README.md Documents cohort validation.
python/​scripts/​dependencies/​_dependency_bounds_release_impl.py Adds version-aware bounds validation.
python/​samples/​02-agents/​embeddings/​foundry_embeddings.py Reformats async resource management.
python/​pyproject.toml Bumps release and development dependencies.
python/​packages/​typesafe/​pyproject.toml Bumps TypeSafe prerelease.
python/​packages/​typesafe/​agent_framework_typesafe/​_tool_calls.py Reformats schema error construction.
python/​packages/​tools/​pyproject.toml Bumps Tools prerelease.
python/​packages/​sql-server/​pyproject.toml Bumps SQL Server prerelease.
python/​packages/​redis/​pyproject.toml Bumps Redis and limits Python support.
python/​packages/​purview/​pyproject.toml Bumps Purview prerelease.
python/​packages/​postgres/​pyproject.toml Bumps PostgreSQL prerelease.
python/​packages/​orchestrations/​pyproject.toml Bumps Orchestrations minor version.
python/​packages/​openai/​pyproject.toml Bumps OpenAI and Core floor.
python/​packages/​ollama/​pyproject.toml Bumps Ollama prerelease.
python/​packages/​monty/​pyproject.toml Bumps Monty prerelease.
python/​packages/​mongodb/​pyproject.toml Bumps MongoDB prerelease.
python/​packages/​mem0/​pyproject.toml Bumps Mem0 prerelease.
python/​packages/​lab/​pyproject.toml Refreshes Lab development tools.
python/​packages/​hyperlight/​pyproject.toml Bumps Hyperlight prerelease.
python/​packages/​hosting/​pyproject.toml Bumps Hosting prerelease.
python/​packages/​hosting-telegram/​pyproject.toml Bumps Telegram Hosting prerelease.
python/​packages/​hosting-responses/​pyproject.toml Bumps Responses Hosting prerelease.
python/​packages/​github_copilot/​pyproject.toml Bumps GitHub Copilot patch version.
python/​packages/​gemini/​pyproject.toml Bumps Gemini and Core floor.
python/​packages/​foundry/​pyproject.toml Bumps Foundry dependency cohort.
python/​packages/​foundry_hosting/​tests/​foundry_hosting/​test_workflow_state.py Updates generic type annotations.
python/​packages/​foundry_hosting/​tests/​foundry_hosting/​test_native_responses.py Consolidates async context managers.
python/​packages/​foundry_hosting/​pyproject.toml Bumps Foundry Hosting and Core floor.
python/​packages/​duckdb/​pyproject.toml Bumps DuckDB prerelease.
python/​packages/​devui/​pyproject.toml Bumps DevUI prerelease.
python/​packages/​declarative/​pyproject.toml Bumps Declarative and Core floor.
python/​packages/​core/​tests/​test_security.py Adds Ty suppression.
python/​packages/​core/​tests/​core/​test_skills.py Adds Ty suppressions.
python/​packages/​core/​tests/​core/​test_mcp.py Adds Ty suppressions.
python/​packages/​core/​tests/​core/​test_mcp_skills.py Adds Ty suppression.
python/​packages/​core/​tests/​core/​test_mcp_observability.py Adds Ty suppressions.
python/​packages/​core/​tests/​core/​test_harness_tool_approval.py Normalizes captured content types.
python/​packages/​core/​tests/​core/​conftest.py Adds Ty suppression.
python/​packages/​core/​pyproject.toml Bumps Core and bounds integrations.
python/​packages/​copilotstudio/​pyproject.toml Bumps Copilot Studio prerelease.
python/​packages/​claude/​pyproject.toml Bumps Claude prerelease.
python/​packages/​chatkit/​pyproject.toml Bumps ChatKit prerelease.
python/​packages/​bedrock/​pyproject.toml Bumps Bedrock prerelease.
python/​packages/​azure-documentdb/​pyproject.toml Bumps DocumentDB prerelease.
python/​packages/​azure-cosmos/​pyproject.toml Bumps Cosmos prerelease.
python/​packages/​azure-cosmos-memory/​pyproject.toml Bumps Cosmos Memory and documents policy.
python/​packages/​azure-contentunderstanding/​pyproject.toml Bumps Content Understanding prerelease.
python/​packages/​azure-ai-search/​pyproject.toml Bumps AI Search prerelease.
python/​packages/​anthropic/​pyproject.toml Bumps Anthropic prerelease.
python/​packages/​ag-ui/​pyproject.toml Bumps AG-UI and Core floor.
python/​packages/​a2a/​pyproject.toml Bumps A2A prerelease.
python/​CHANGELOG.md Adds the 1.20.0 release notes.
python/​.github/​skills/​python-package-management/​SKILL.md Documents cohort-bound conventions.
python/​.github/​skills/​agent-framework-py-release/​SKILL.md Adds cohort refresh guidance.
.github/​workflows/​python-tests.yml Adds required modern-Python install coverage.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread python/scripts/dependencies/_dependency_bounds_release_impl.py Outdated

@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 (4 commit(s)): e7172356985e, 3b0d4cabb5dc, d9ecb984fbf7, 6d29ef5edf15
Model: gpt-5.6-sol

Overview

The release preparation comprehensively bounds the Core integration cohort and adds useful lock-independent and Windows installation gates. However, it publishes explicitly breaking changes under compatible minor versions for three stable distributions, so ordinary 1.x upgrades can acquire incompatible behavior. The new cohort validator also applies Core's live-workspace invariant to provider-only releases, conflicting with the repository's independent package lifecycle.

Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
4 verified findings remained after source verification (1 high, 3 medium) across 4 files. Details are attached to the affected lines below.

Affected areas: python/packages/ag-ui/pyproject.toml, python/packages/core/pyproject.toml, python/packages/declarative/pyproject.toml, python/scripts/dependencies/_dependency_bounds_release_impl.py

Comment thread python/packages/core/pyproject.toml
Comment thread python/packages/ag-ui/pyproject.toml
Comment thread python/packages/declarative/pyproject.toml
Comment thread python/scripts/dependencies/_dependency_bounds_release_impl.py Outdated

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

Result: No findings
Scope: 2 net-new commit(s): acb1a7d2d9a7, 1884ef36f9f6
Model: gpt-5.6-sol

Overview

This incremental update rejects missing or empty Core integration cohorts when Core is selected, avoids coupling provider-only releases to Core metadata, and narrows the dedicated Windows installation check to the reported Python 3.14 path. The new validator cases and existing bounded-cohort checks provide concrete guardrails, and no non-duplicate Critical, High, or Medium defect was established in the authoritative range.

Reviewed the supplied incremental change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.

Comment thread python/pyproject.toml Outdated
Merged via the queue into microsoft:main with commit 6967986 Oct 2, 2026
62 checks passed
@eavanvalkenburg
Eduard van Valkenburg (eavanvalkenburg) deleted the python-package-release-plan branch October 2, 2026 11:34

This branch was previously deployed

1 inactive deployment
github-app-auth — ffb05820 Deployed Oct 2, 2026 by eavanvalkenburg via add_label #24271
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.

4 participants