Skip to content

python CLI - remove devtools and ai sample#519

Merged
lilyydu merged 4 commits into
mainfrom
lilyyd/remove-py-devtools-and-ai
Apr 23, 2026
Merged

python CLI - remove devtools and ai sample#519
lilyydu merged 4 commits into
mainfrom
lilyyd/remove-py-devtools-and-ai

Conversation

@lilyydu

@lilyydu lilyydu commented Apr 10, 2026

Copy link
Copy Markdown
Contributor
  • removed devtools from echo sample
  • removed AI sample from python's CLI

@lilyydu
lilyydu requested a review from MehakBindra April 13, 2026 17:16
Copilot AI review requested due to automatic review settings April 22, 2026 20:27

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 removes the Python “ai” CLI template and stops generating OpenAI/Azure OpenAI-related environment variables for new Python projects, while also attempting to drop the Python devtools dependency from the remaining templates.

Changes:

  • Removed the packages/cli/templates/python/ai template (code, README, app package assets, sample.env, and pyproject).
  • Removed automatic propagation of OPENAI_* / AZURE_OPENAI_* env vars in the Python new command.
  • Updated the Python echo template’s pyproject.toml.hbs dependencies (removed microsoft-teams-devtools).

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/cli/templates/python/echo/pyproject.toml.hbs Removes microsoft-teams-devtools from the echo template dependencies.
packages/cli/templates/python/ai/src/main.py Deletes the Python AI template entrypoint.
packages/cli/templates/python/ai/sample.env Deletes AI template sample env file.
packages/cli/templates/python/ai/pyproject.toml.hbs Deletes AI template project metadata/deps.
packages/cli/templates/python/ai/appPackage/outline.png Deletes AI template app icon.
packages/cli/templates/python/ai/appPackage/color.png Deletes AI template app icon.
packages/cli/templates/python/ai/appPackage/manifest.json.hbs Deletes AI template Teams manifest template.
packages/cli/templates/python/ai/README.md Deletes AI template README.
packages/cli/src/commands/new/python.ts Removes adding OpenAI/Azure OpenAI env vars to generated Python projects.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/cli/templates/python/echo/pyproject.toml.hbs
@lilyydu
lilyydu merged commit 24da349 into main Apr 23, 2026
7 checks passed
@lilyydu
lilyydu deleted the lilyyd/remove-py-devtools-and-ai branch April 23, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants