Skip to content

Commit 6aec676

Browse files
authored
Update python docs to deprioritize uv (#2706)
Microsoft's official stance is that folks should use pip, and using uv is their own prerogative that we don't primarily push for.
1 parent 3795a96 commit 6aec676

6 files changed

Lines changed: 6 additions & 13 deletions

File tree

teams.md/scripts/generate-llms-txt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const LANGUAGE_SPECIFIC_TIPS: Record<Language, string[]> = {
1515
"The SDK uses typescript to help you make the right decisions when using the APIs. You may check type definitions and type checkers to make sure your code is correct."
1616
],
1717
python: [
18-
"It's a good idea to run `uv run typecheck` to make sure the code is correctly typed and fix any type errors.",
18+
"It's a good idea to run `pyright` to make sure the code is correctly typed and fix any type errors.",
1919
],
2020
csharp: [
2121
"It's a good idea to build the application and fix compile time errors to help ensure the app works as expected.",

teams.md/src/components/include/getting-started/quickstart/python.incl.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
<!-- prerequisites -->
22

33
- **Python** v3.12 or higher. Install or upgrade from [python.org/downloads](https://www.python.org/downloads/).
4-
- **UV** v0.8.11 or higher. Install or upgrade from [https://docs.astral.sh/uv/getting-started/installation/](https://docs.astral.sh/uv/getting-started/installation/)
5-
6-
import Admonition from '@theme/Admonition';
7-
8-
<Admonition type="info">
9-
UV is a fast Python package installer and resolver. While you can use other package managers like pip, UV provides better performance and dependency resolution for Teams SDK projects.
10-
</Admonition>
114

125
<!-- create-command -->
136

@@ -32,7 +25,7 @@ cd quote-agent
3225
Start the development server:
3326

3427
```sh
35-
uv run src\main.py
28+
python src/main.py
3629
```
3730

3831
<!-- console-output -->

teams.md/src/components/include/in-depth-guides/ai/a2a/python.incl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ This package wraps the official [A2A SDK](https://github.com/a2aproject/a2a-pyth
99
Install the package:
1010

1111
```bash
12-
uv add microsoft-teams-a2a
12+
pip install microsoft-teams-a2a
1313
```

teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-client/python.incl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SSE protocol
77
Install it to your application:
88

99
```bash
10-
uv add microsoft-teams-mcpplugin
10+
pip install microsoft-teams-mcpplugin
1111
```
1212

1313
<!-- remote-protocol -->

teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-server/python.incl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You are able to convert any `App` into an MCP server by using the `McpPlugin` fr
77
Install it to your application:
88

99
```bash
10-
uv add microsoft-teams-mcpplugin
10+
pip install microsoft-teams-mcpplugin
1111
```
1212

1313
<!-- configuration -->

teams.md/src/components/include/migrations/v1/python.incl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We'll also discuss how you can migrate features over incrementally via the [botb
77
First, let's install Teams SDK into your project. Notably, this won't replace any existing installation of Teams SDK. When you've completed your migration, you can safely remove the `teams-ai` dependency from your `pyproject.toml` file.
88

99
```sh
10-
uv add microsoft-teams-apps
10+
pip install microsoft-teams-apps
1111
```
1212

1313
<!-- app-migration -->

0 commit comments

Comments
 (0)