Python: remove unneeded deps and added fix for grpcio#2549
Closed
eavanvalkenburg wants to merge 1 commit intomicrosoft:mainfrom
Closed
Python: remove unneeded deps and added fix for grpcio#2549eavanvalkenburg wants to merge 1 commit intomicrosoft:mainfrom
eavanvalkenburg wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
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 |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Fixes the grpcio package version for python 3.14
Also removed some unneeded dependencies in other packages.
Description
Contribution Checklist