Skip to content

Users/robrandao/cherry-pick 0.6.1#265

Merged
rodrigobr-msft merged 3 commits intorelease/0.6.1from
users/robrandao/cherry-pick-0.6.0
Dec 1, 2025
Merged

Users/robrandao/cherry-pick 0.6.1#265
rodrigobr-msft merged 3 commits intorelease/0.6.1from
users/robrandao/cherry-pick-0.6.0

Conversation

@rodrigobr-msft
Copy link
Contributor

This pull request improves version management and packaging consistency across all Python library submodules and refactors the _SignInState class 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:

  • Each library now writes its version to a VERSION.txt file during the build process, ensuring consistent versioning across all packages. (.azdo/ci-pr.yaml)
  • All library MANIFEST.in files now include VERSION.txt to ensure the version file is packaged with distributions.
  • All library setup.py scripts are updated to read the version from VERSION.txt if present, falling back to the PackageVersion environment variable if not. This makes local builds and CI builds consistent. [1] [2] [3] [4] [5] [6] [7] [8]

Codebase improvements:

  • The _SignInState class in microsoft_agents/hosting/core/app/oauth/_sign_in_state.py is refactored to inherit from Pydantic's BaseModel for better data validation and serialization, replacing the manual constructor and JSON methods.

rodrigobr-msft and others added 3 commits December 1, 2025 12:42
* Writing version to file and reading it when building

* Fixing issue

* Removed unnecessary declaration

* Specifying encoding
)

* Writing version to file and reading it when building

* Fixing issue

* Removed unnecessary declaration

* Specifying encoding

* Adding MANIFEST.in files to include VERSION.txt
* Fixing _sign_in_state (de)serialization

* Reformatting

---------

Co-authored-by: Chris Mullins <cleemullins@users.noreply.github.com>
@rodrigobr-msft rodrigobr-msft marked this pull request as ready for review December 1, 2025 20:43
@rodrigobr-msft rodrigobr-msft requested a review from a team as a code owner December 1, 2025 20:43
Copy link
Collaborator

@cleemullins cleemullins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@rodrigobr-msft rodrigobr-msft changed the base branch from release/0.6.0 to release/0.6.1 December 1, 2025 20:58
@rodrigobr-msft rodrigobr-msft changed the title Users/robrandao/cherry-pick 0.6.0 Users/robrandao/cherry-pick 0.6.1 Dec 1, 2025
@rodrigobr-msft rodrigobr-msft merged commit 943ba6c into release/0.6.1 Dec 1, 2025
7 checks passed
@rodrigobr-msft rodrigobr-msft deleted the users/robrandao/cherry-pick-0.6.0 branch December 1, 2025 21:14
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.

2 participants

Comments