Skip to content

remove devtools#381

Merged
lilyydu merged 9 commits into
mainfrom
lilyydu/remove-devtools
Apr 23, 2026
Merged

remove devtools#381
lilyydu merged 9 commits into
mainfrom
lilyydu/remove-devtools

Conversation

@lilyydu

@lilyydu lilyydu commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator
  • completely remove devtools package

Copilot AI review requested due to automatic review settings April 10, 2026 18:39

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

Removes the microsoft-teams-devtools workspace package from the Teams Python SDK monorepo and cleans up all repo references so the remaining packages/examples/build pipeline no longer depend on it.

Changes:

  • Removed the packages/devtools package (code + web assets) and its workspace/lockfile entries.
  • Updated examples and docs to stop importing/using DevToolsPlugin (and removed port 3979//devtools references).
  • Updated the AzDO publish pipeline to stop installing packages/devtools.

Reviewed changes

Copilot reviewed 40 out of 56 changed files in this pull request and generated no comments.

Show a summary per file
File Description
uv.lock Removes microsoft-teams-devtools from workspace members/dependency graph and drops now-unneeded resolved deps.
RELEASE.md Updates publishing note to no longer mention devtools being excluded.
README.md Removes microsoft-teams-devtools from the package list.
pyrightconfig.json Stops including packages/devtools/src in type-checking paths.
pyproject.toml Removes microsoft-teams-devtools from workspace sources.
packages/devtools/src/microsoft/teams/devtools/init.py Deletes deprecated compatibility shim module.
packages/devtools/src/microsoft_teams/devtools/init.py Deletes devtools package public exports.
packages/devtools/src/microsoft_teams/devtools/devtools_plugin.py Removes the DevTools plugin implementation.
packages/devtools/src/microsoft_teams/devtools/event.py Removes DevTools event models.
packages/devtools/src/microsoft_teams/devtools/page.py Removes DevTools page model.
packages/devtools/src/microsoft_teams/devtools/routes/init.py Removes devtools routing exports.
packages/devtools/src/microsoft_teams/devtools/routes/context.py Removes devtools routing context.
packages/devtools/src/microsoft_teams/devtools/routes/router.py Removes devtools root router.
packages/devtools/src/microsoft_teams/devtools/routes/v3/init.py Removes v3 route exports.
packages/devtools/src/microsoft_teams/devtools/routes/v3/router.py Removes v3 router.
packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/init.py Removes conversations route exports.
packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/router.py Removes conversations router.
packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/activities/init.py Removes activities route exports.
packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/activities/router.py Removes activities router.
packages/devtools/src/microsoft_teams/devtools/routes/v3/conversations/activities/create.py Removes activity creation handler.
packages/devtools/src/microsoft_teams/devtools/web/index.html Removes embedded devtools web UI entrypoint.
packages/devtools/src/microsoft_teams/devtools/web/icon.png Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/teams.png Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/index-DUmBwYhV.css Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Resizable-Iep0utY8.woff2 Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Resizable-DnCkRnj_.woff Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Resizable-CnnvCM7P.ttf Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Regular-DG6j5pl_.woff Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Regular-DaURWknX.woff2 Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Regular-Ck4JqYAr.ttf Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Light-eu0dDZrh.woff2 Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Light-DzHdd4FE.woff Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Light-CPYKaotZ.ttf Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Filled-CKlopXFJ.woff Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Filled-BNz-nPog.woff2 Removes devtools web UI asset.
packages/devtools/src/microsoft_teams/devtools/web/assets/FluentSystemIcons-Filled-BkKNRAuh.ttf Removes devtools web UI asset.
packages/devtools/README.md Removes devtools package documentation.
packages/devtools/pyproject.toml Removes devtools package build metadata/dependencies.
examples/tab/src/main.py Removes DevTools plugin usage from tab example.
examples/tab/pyproject.toml Drops devtools dependency from tab example.
examples/mcp-server/src/main.py Removes DevTools plugin usage from MCP server example.
examples/mcp-server/pyproject.toml Drops devtools dependency from MCP server example.
examples/mcp-client/src/main.py Removes DevTools plugin usage from MCP client example.
examples/mcp-client/pyproject.toml Drops devtools dependency from MCP client example.
examples/echo/src/main.py Removes DevTools plugin usage from echo example.
examples/echo/pyproject.toml Drops devtools dependency from echo example.
examples/botbuilder/src/main.py Removes DevTools plugin usage from botbuilder example.
examples/botbuilder/pyproject.toml Drops devtools dependency/source from botbuilder example.
examples/ai-test/src/main.py Removes DevTools plugin usage from ai-test example.
examples/a2a-test/src/main.py Removes DevTools plugin usage from a2a-test example.
examples/a2a-test/README.md Updates instructions to no longer mention devtools.
CLAUDE.md Removes devtools from the repo package list.
.github/scripts/analyze_issue.py Removes devtools from issue triage package list.
.github/copilot-instructions.md Updates validation guidance to remove devtools/3979 references.
.azdo/publish.yml Stops installing packages/devtools in the publish pipeline.

@lilyydu
lilyydu merged commit 2192aad into main Apr 23, 2026
7 checks passed
@lilyydu
lilyydu deleted the lilyydu/remove-devtools branch April 23, 2026 17:50
E-G-C pushed a commit to E-G-C/teams.py that referenced this pull request Apr 25, 2026
…osoft#186)

Aligns with <a
href="https://github.com/microsoft/teams.ts/pull/381">teams.ts PR
microsoft#381</a> to add "grid" layout support for messaging extensions while
maintaining backward compatibility.

## Changes

- **New Enum**: Created `MessagingExtensionAttachmentLayout` with values
`LIST = "list"` and `GRID = "grid"`
- **Updated Type**: `MessagingExtensionResult.attachment_layout` now
uses `MessagingExtensionAttachmentLayout` instead of `AttachmentLayout`
- **Preserved Original**: `AttachmentLayout` remains unchanged with
`LIST` and `CAROUSEL` for backward compatibility
- **Exports**: Added `MessagingExtensionAttachmentLayout` to
`messaging_extension/__init__.py`
- **Test Updates**: Updated test applications to use the new enum type

## Usage

```python
from microsoft.teams.api.models import (
    MessagingExtensionAttachmentLayout,
    MessagingExtensionResult
)

result = MessagingExtensionResult(
    attachment_layout=MessagingExtensionAttachmentLayout.GRID,  # New GRID option
    attachments=[...]
)

# AttachmentLayout.CAROUSEL still available for other use cases
from microsoft.teams.api.models import AttachmentLayout
# Existing code using AttachmentLayout.CAROUSEL continues to work
```

**Note**: This change maintains backward compatibility. Existing code
using `AttachmentLayout.CAROUSEL` is not affected. Only messaging
extension code needs to migrate to the new
`MessagingExtensionAttachmentLayout` type.

<!-- START COPILOT CODING AGENT SUFFIX -->



<details>

<summary>Original prompt</summary>

> can you change AttachmentLayout to be list | grid instead of list |
carousel. Link <a href="microsoft/teams.ts#381"
rel="noreferrer noopener"
title="microsoft/teams.ts#381"
target="_blank">https://github.com/microsoft/teams.ts/pull/381</a> in
the PR description. <attachment
id="app-preview-card-psc7b00c7e591949669b47bbed5c303ae2"></attachment>


</details>



<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: heyitsaamir <[email protected]>
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