Skip to content

Deprecate ai, openai, mcpplugin, and a2a packages#406

Merged
heyitsaamir merged 2 commits intomainfrom
deprecate/ai-mcp-a2a-openai-packages
Apr 25, 2026
Merged

Deprecate ai, openai, mcpplugin, and a2a packages#406
heyitsaamir merged 2 commits intomainfrom
deprecate/ai-mcp-a2a-openai-packages

Conversation

@heyitsaamir
Copy link
Copy Markdown
Collaborator

Summary

  • These packages were in preview but we've decided to stop maintaining them before GA
  • Added [!WARNING] deprecation banners to each package's README with links to recommended replacements
  • Added runtime DeprecationWarning on import so users get notified in their terminal
  • Added Development Status :: 7 - Inactive trove classifier to each pyproject.toml

Recommended replacements:

Test plan

  • poe check passes (ruff + format)
  • pyright passes
  • Verify deprecation warnings show when importing any of the four packages
  • Verify README banners render correctly on GitHub

These packages were in preview but won't be maintained to GA.
Added README warnings, runtime DeprecationWarnings on import,
and "Development Status :: 7 - Inactive" classifiers pointing
users to the recommended replacements.

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 24, 2026 23:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 deprecates the preview microsoft-teams-ai, microsoft-teams-openai, microsoft-teams-mcpplugin, and microsoft-teams-a2a packages by adding user-facing deprecation notices in docs, runtime import warnings, and packaging metadata to signal inactive status.

Changes:

  • Added import-time deprecation warnings to each package’s __init__.py.
  • Added [!WARNING] deprecation banners to each package README with links to recommended replacements.
  • Added Development Status :: 7 - Inactive trove classifier to each affected package’s pyproject.toml.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
packages/openai/src/microsoft_teams/openai/init.py Emits a deprecation warning on import for microsoft-teams-openai.
packages/openai/pyproject.toml Marks package as inactive via trove classifier.
packages/openai/README.md Adds a deprecation banner and replacement guidance.
packages/mcpplugin/src/microsoft_teams/mcpplugin/init.py Emits a deprecation warning on import for microsoft-teams-mcpplugin.
packages/mcpplugin/pyproject.toml Marks package as inactive via trove classifier.
packages/mcpplugin/README.md Adds a deprecation banner and replacement guidance.
packages/ai/src/microsoft_teams/ai/init.py Emits a deprecation warning on import for microsoft-teams-ai.
packages/ai/pyproject.toml Marks package as inactive via trove classifier.
packages/ai/README.md Adds a deprecation banner and replacement guidance.
packages/a2aprotocol/src/microsoft_teams/a2a/init.py Emits a deprecation warning on import for microsoft-teams-a2a.
packages/a2aprotocol/pyproject.toml Marks package as inactive via trove classifier.
packages/a2aprotocol/README.md Adds a deprecation banner and replacement guidance.

Comment thread packages/mcpplugin/src/microsoft_teams/mcpplugin/__init__.py
Comment thread packages/ai/src/microsoft_teams/ai/__init__.py
Comment thread packages/ai/src/microsoft_teams/ai/__init__.py
Comment thread packages/a2aprotocol/src/microsoft_teams/a2a/__init__.py
Comment thread packages/openai/src/microsoft_teams/openai/__init__.py
Comment thread packages/openai/src/microsoft_teams/openai/__init__.py
Comment thread packages/mcpplugin/src/microsoft_teams/mcpplugin/__init__.py
Switched from DeprecationWarning to FutureWarning so warnings
are visible by default. Updated Agent Framework link to official
Microsoft Learn docs.

Co-Authored-By: Claude <noreply@anthropic.com>
@heyitsaamir heyitsaamir merged commit 28c7439 into main Apr 25, 2026
7 checks passed
@heyitsaamir heyitsaamir deleted the deprecate/ai-mcp-a2a-openai-packages branch April 25, 2026 00:09
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