Bumping minimum setuptools version and including py.typed files - #527
Merged
Rodrigo Brandão (rodrigobr-msft) merged 5 commits intoAug 10, 2026
Merged
Conversation
Rodrigo Brandão (rodrigobr-msft)
marked this pull request as ready for review
August 6, 2026 16:33
Rodrigo Brandão (rodrigobr-msft)
requested a review
from a team
as a code owner
August 6, 2026 16:33
Copilot started reviewing on behalf of
Rodrigo Brandão (rodrigobr-msft)
August 6, 2026 23:24
View session
Copilot started reviewing on behalf of
Rodrigo Brandão (rodrigobr-msft)
August 7, 2026 19:02
View session
Copilot started reviewing on behalf of
Rodrigo Brandão (rodrigobr-msft)
August 10, 2026 18:03
View session
Contributor
There was a problem hiding this comment.
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.typedsupport.
## Developer Experience
- Building packages with `py.typed` files for improved typing support
Kyle Rohn (kylerohn-msft)
approved these changes
Aug 10, 2026
Rodrigo Brandão (rodrigobr-msft)
deleted the
users/robrandao/package-setup
branch
August 10, 2026 18:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.typedfiles in all core packages to enable type checking with tools like MyPy, and the update ofsetuptoolsto version 77 or higher to ensure compatibility with these changes.Developer Experience Improvements:
py.typedfiles 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]changelog.mdhighlighting the improved typing support viapy.typedfiles.Build System Updates:
setuptoolsrequirement to version 77 or higher in all core packagepyproject.tomlfiles to ensure proper handling ofpy.typedfiles and modern build features. [1] [2] [3] [4] [5] [6] [7] [8] [9]Packaging Metadata:
VERSION.txtto the package manifest formicrosoft-agents-hosting-dialogsto 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.