Skip to content

Python: remove unneeded deps and added fix for grpcio#2549

Closed
eavanvalkenburg wants to merge 1 commit intomicrosoft:mainfrom
eavanvalkenburg:fix_deps
Closed

Python: remove unneeded deps and added fix for grpcio#2549
eavanvalkenburg wants to merge 1 commit intomicrosoft:mainfrom
eavanvalkenburg:fix_deps

Conversation

@eavanvalkenburg
Copy link
Member

Motivation and Context

Fixes the grpcio package version for python 3.14
Also removed some unneeded dependencies in other packages.

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 December 1, 2025 12:16
@markwallace-microsoft markwallace-microsoft added python lab Agent Framework Lab labels Dec 1, 2025
Copy link
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

This PR addresses Python 3.14 compatibility by fixing the grpcio package version constraint and cleans up redundant dependency declarations.

Key Changes:

  • Added version-specific grpcio constraints to support Python 3.14 (>=1.76.0) while maintaining compatibility with earlier Python versions (<1.68.0 for Python <3.14)
  • Removed redundant pydantic and opentelemetry-api declarations from lab package optional dependencies (already provided by agent-framework-core)
  • Relaxed version constraints on fastapi and uvicorn in devui package (versions are controlled at workspace level)

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
python/pyproject.toml Added Python version-specific grpcio overrides to support Python 3.14 wheels while respecting litellm's <1.68.0 constraint for earlier versions
python/packages/lab/pyproject.toml Removed redundant pydantic and opentelemetry-api dependencies from gaia and tau2 optional dependencies (already inherited from agent-framework-core)
python/packages/devui/pyproject.toml Relaxed fastapi and uvicorn version constraints to rely on workspace-level version management

@markwallace-microsoft
Copy link
Member

Python Test Coverage

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

Python Unit Test Overview

Tests Skipped Failures Errors Time
2262 130 💤 0 ❌ 0 🔥 54.641s ⏱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lab Agent Framework Lab python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants