Skip to content

Bumping minimum setuptools version and including py.typed files - #527

Merged
Rodrigo Brandão (rodrigobr-msft) merged 5 commits into
mainfrom
users/robrandao/package-setup
Aug 10, 2026
Merged

Bumping minimum setuptools version and including py.typed files#527
Rodrigo Brandão (rodrigobr-msft) merged 5 commits into
mainfrom
users/robrandao/package-setup

Conversation

@rodrigobr-msft

@rodrigobr-msft Rodrigo Brandão (rodrigobr-msft) commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This pull request improves the developer experience for the Microsoft Agents Python packages by adding typing support and updating build requirements. The main changes are the inclusion of py.typed files in all core packages to enable type checking with tools like MyPy, and the update of setuptools to version 77 or higher to ensure compatibility with these changes.

Developer Experience Improvements:

  • Added py.typed files to all core Python packages (e.g., microsoft_agents.activity, microsoft_agents.authentication.msal, etc.) to enable PEP 561 typing support. This allows type checkers to recognize and use the package type hints. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Added a note to the changelog.md highlighting the improved typing support via py.typed files.

Build System Updates:

  • Updated the setuptools requirement to version 77 or higher in all core package pyproject.toml files to ensure proper handling of py.typed files and modern build features. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Packaging Metadata:

  • Added VERSION.txt to the package manifest for microsoft-agents-hosting-dialogs to ensure version information is included in built distributions.

These changes will make it easier for developers to use and integrate these libraries with static type checking tools, improving code quality and reliability.

Copilot AI lite review requested due to automatic review settings August 6, 2026 15:37

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI review requested due to automatic review settings August 6, 2026 16:23
@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) marked this pull request as ready for review August 6, 2026 16:33

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI review requested due to automatic review settings August 7, 2026 19:02

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

Copilot reviewed 15 out of 28 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 10, 2026 18:01

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

Copilot reviewed 15 out of 28 changed files in this pull request and generated no new comments.

Suppressed comments (1)

changelog.md:15

  • Changelog entry is phrased as a fragment and doesn’t match the existing bullet style (many entries use a short bolded label and a complete sentence). Consider rewriting this line to be a complete, descriptive statement about PEP 561 / py.typed support.
## Developer Experience
- Building packages with `py.typed` files for improved typing support

@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) merged commit 445e4c0 into main Aug 10, 2026
11 checks passed
@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) deleted the users/robrandao/package-setup branch August 10, 2026 18:26
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