Users/robrandao/cherry-pick 0.6.1#265
Merged
rodrigobr-msft merged 3 commits intorelease/0.6.1from Dec 1, 2025
Merged
Conversation
* Writing version to file and reading it when building * Fixing issue * Removed unnecessary declaration * Specifying encoding
* Fixing _sign_in_state (de)serialization * Reformatting --------- Co-authored-by: Chris Mullins <cleemullins@users.noreply.github.com>
cleemullins
requested changes
Dec 1, 2025
Collaborator
cleemullins
left a comment
There was a problem hiding this comment.
Can you create a new branch - 0.6.1? Just fork it off the old 0.6.0 and then cherrypick this into that branch. update the version number in the new branch to 0.6.1
Taking this cherrypick would prevent us from easily re-creating the 0.6.0 release. Doing so would require some git jijistu.
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 version management and packaging consistency across all Python library submodules and refactors the
_SignInStateclass for better maintainability. The key changes include standardizing how package versions are handled during build and packaging, ensuring the version is always included in distributions, and modernizing the sign-in state model using Pydantic.Version management and packaging improvements:
VERSION.txtfile during the build process, ensuring consistent versioning across all packages. (.azdo/ci-pr.yaml)MANIFEST.infiles now includeVERSION.txtto ensure the version file is packaged with distributions.setup.pyscripts are updated to read the version fromVERSION.txtif present, falling back to thePackageVersionenvironment variable if not. This makes local builds and CI builds consistent. [1] [2] [3] [4] [5] [6] [7] [8]Codebase improvements:
_SignInStateclass inmicrosoft_agents/hosting/core/app/oauth/_sign_in_state.pyis refactored to inherit from Pydantic'sBaseModelfor better data validation and serialization, replacing the manual constructor and JSON methods.