Adding MANIFEST.in file to include package version files in builds#263
Merged
cleemullins merged 6 commits intomainfrom Dec 1, 2025
Merged
Adding MANIFEST.in file to include package version files in builds#263cleemullins merged 6 commits intomainfrom
cleemullins merged 6 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request standardizes version management across all Python libraries by introducing a VERSION.txt file-based approach. The CI build process now generates VERSION.txt files before building packages, and each library's MANIFEST.in ensures this file is included in source distributions.
- CI build script generates
VERSION.txtfiles containing package versions - All
setup.pyfiles read version fromVERSION.txtwith fallback to environment variable MANIFEST.infiles added to includeVERSION.txtin source distributions
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| libraries/microsoft-agents-activity/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-authentication-msal/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-copilotstudio-client/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-hosting-aiohttp/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-hosting-core/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-hosting-fastapi/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-hosting-teams/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-storage-blob/MANIFEST.in | Adds VERSION.txt to source distribution |
| libraries/microsoft-agents-storage-cosmos/MANIFEST.in | Adds VERSION.txt to source distribution |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
axel-srz
approved these changes
Dec 1, 2025
cleemullins
approved these changes
Dec 1, 2025
rodrigobr-msft
added a commit
that referenced
this pull request
Dec 1, 2025
* Getting package version from file when building packages (#261) * Writing version to file and reading it when building * Fixing issue * Removed unnecessary declaration * Specifying encoding * Adding MANIFEST.in file to include package version files in builds (#263) * 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 serialization/deserialization (#264) * Fixing _sign_in_state (de)serialization * Reformatting --------- Co-authored-by: Chris Mullins <[email protected]> --------- Co-authored-by: Chris Mullins <[email protected]>
Closed
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 versioning process for all Python library packages by ensuring that each package reads its version from a
VERSION.txtfile, which is generated during the build process. This change makes version management more consistent and reliable across all libraries.Build and versioning improvements:
.azdo/ci-pr.yaml) now generates aVERSION.txtfile containing the package version for each library before building the packages.setup.pyfiles have been updated to read the version fromVERSION.txtif it exists, falling back to thePackageVersionenvironment variable otherwise. This ensures the correct version is always used during packaging. [1] [2] [3] [4] [5] [6] [7] [8]Packaging configuration updates:
MANIFEST.innow includes theVERSION.txtfile so that it is packaged and distributed with the built wheel or source distribution.