Python: Remove --pre flag from pip install commands in READMEs - #5045
Closed
Giles Odigwe (giles17) wants to merge 1 commit into
Closed
Python: Remove --pre flag from pip install commands in READMEs#5045Giles Odigwe (giles17) wants to merge 1 commit into
Giles Odigwe (giles17) wants to merge 1 commit into
Conversation
Remove the --pre flag from all pip install commands for released agent-framework packages across package READMEs, sample READMEs, and the root README. Also update explanatory text that referenced the --pre flag being needed during preview. The --prerelease=allow flags in hosted_agents samples are kept as they reference third-party preview packages. Resolves the first item in microsoft#5031 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Tao Chen (TaoChenOSU)
approved these changes
Apr 1, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the --pre flag from Python pip install commands across READMEs and sample docs to reflect the transition away from preview-only installation guidance as Agent Framework approaches v1.0.
Changes:
- Removed
--prefrompip install agent-framework*commands across Python docs/samples/packages. - Updated explanatory text that previously stated
--prewas required during preview. - Left prerelease guidance in hosted end-to-end samples where third-party preview dependencies remain (per PR description).
Reviewed changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| python/samples/README.md | Removes --pre from sample prerequisites install command. |
| python/samples/AGENTS.md | Removes --pre and deletes preview-related explanation text. |
| python/samples/02-agents/providers/github_copilot/README.md | Removes --pre from GitHub Copilot provider install command. |
| python/samples/02-agents/declarative/README.md | Removes --pre from declarative package install and inline “Requirements” lines. |
| python/samples/02-agents/declarative/mcp_tool_yaml.py | Updates docstring prerequisites to remove --pre. |
| python/samples/02-agents/declarative/inline_yaml.py | Updates docstring prerequisites to remove --pre. |
| python/samples/01-get-started/README.md | Removes --pre from getting-started prerequisites. |
| python/README.md | Removes --pre from top-level and selective install commands and adjusts explanatory text. |
| python/packages/redis/README.md | Removes --pre from package install command. |
| python/packages/orchestrations/README.md | Removes --pre from package install command. |
| python/packages/openai/README.md | Removes --pre from package install command. |
| python/packages/ollama/README.md | Removes --pre from package install command. |
| python/packages/mem0/README.md | Removes --pre from package install command. |
| python/packages/github_copilot/README.md | Removes --pre from package install command. |
| python/packages/durabletask/README.md | Removes --pre from package install command. |
| python/packages/declarative/README.md | Removes --pre from package install command. |
| python/packages/core/README.md | Removes --pre from core + optional integration install examples. |
| python/packages/copilotstudio/README.md | Removes --pre from package install command. |
| python/packages/claude/README.md | Removes --pre from package install command. |
| python/packages/chatkit/README.md | Removes --pre from package install command. |
| python/packages/bedrock/README.md | Removes --pre from package install command. |
| python/packages/azurefunctions/README.md | Removes --pre from package install command. |
| python/packages/azure-cosmos/README.md | Removes --pre from package install command. |
| python/packages/azure-ai/README.md | Removes --pre from package install command. |
| python/packages/azure-ai-search/README.md | Removes --pre from package install command. |
| python/packages/anthropic/README.md | Removes --pre from package install command. |
| python/packages/a2a/README.md | Removes --pre from package install command. |
Giles Odigwe (giles17)
requested a review
from Eduard van Valkenburg (eavanvalkenburg)
April 2, 2026 01:33
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
Addresses the first item in #5031: Remove
--prefrom all installs of released packages in READMEs.As Agent Framework moves to v1.0, the
--preflag is no longer needed for released packages.Description
--prefrom allpip install agent-framework-*commands across 27 markdown files (package READMEs, sample READMEs, and the root README).python/README.mdandpython/samples/AGENTS.mdthat referenced the--preflag being required during preview.--prerelease=allowflags insamples/05-end-to-end/hosted_agents/as those reference third-party preview packages (azure-ai-agentserver-agentframework).Contribution Checklist