Skip to content

Python: add support for Python 3.14 - #1904

Merged
eavanvalkenburg merged 3 commits into
microsoft:mainfrom
eavanvalkenburg:py314
Nov 5, 2025
Merged

Python: add support for Python 3.14#1904
eavanvalkenburg merged 3 commits into
microsoft:mainfrom
eavanvalkenburg:py314

Conversation

@eavanvalkenburg

Copy link
Copy Markdown
Member

Motivation and Context

This PR adds support for python 3.14 to Agent Framework, that means that we run all tests on that version and we added the classifiers to indicate on pypi that we support that.
Also added code_quality checks on 3.14 since typing has been changed.

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.

Copilot AI review requested due to automatic review settings November 4, 2025 19:16
@markwallace-microsoft markwallace-microsoft added python Usage: [Issues, PRs], Target: Python lab labels Nov 4, 2025

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 updates Python dependencies in the lock file and adds Python 3.14 support across the Agent Framework project. The changes include:

  • Addition of Python 3.14 classifier to all package pyproject.toml files
  • Python 3.14 added to CI/CD test matrices
  • macOS added back to the test matrix in python-tests.yml
  • Dependency updates including FastAPI (0.115.14 → 0.121.0), Starlette (0.46.2 → 0.49.3), and other packages
  • Minor code formatting fix in lab/pyproject.toml (trailing whitespace removal)

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
python/uv.lock Lock file updated with new dependency versions and Python 3.14 wheel distributions
python/pyproject.toml Added Python 3.14 classifier
python/packages/*/pyproject.toml Added Python 3.14 classifier to all package configurations (redis, purview, mem0, lab, devui, core, copilotstudio, azure-ai, anthropic, a2a)
.github/workflows/python-tests.yml Added Python 3.14 to test matrix and re-enabled macOS tests
.github/workflows/python-lab-tests.yml Added Python 3.14 to test matrix
.github/workflows/python-code-quality.yml Added Python 3.14 to code quality check matrix

@markwallace-microsoft

markwallace-microsoft commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
TOTAL12770190785% 
report-only-changed-files is enabled. No files were changed during this commit :)

Python Unit Test Overview

Tests Skipped Failures Errors Time
1668 107 💤 0 ❌ 0 🔥 32.976s ⏱️

@eavanvalkenburg
eavanvalkenburg added this pull request to the merge queue Nov 5, 2025
Merged via the queue into microsoft:main with commit 54db13c Nov 5, 2025
34 checks passed
arisng pushed a commit to arisng/agent-framework that referenced this pull request Feb 2, 2026
* add tests for py3.14 and add classifier

* remove macos

* allow openai v2
@moonbox3 moonbox3 removed the lab label Jun 17, 2026
@eavanvalkenburg
eavanvalkenburg deleted the py314 branch June 30, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants