Skip to content

Conversation

@rahuldevikar761
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings November 4, 2025 18:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modernizes the version management approach across the Agent365 Python SDK by removing dynamic version calculation logic and replacing it with environment-based version configuration expected from CI/CD tooling (setuptools-git-versioning).

Key changes:

  • Replaced custom build_version() logic with simple environment variable reads using AGENT365_PYTHON_SDK_PACKAGE_VERSION
  • Updated copyright headers from "Microsoft. All rights reserved." to "Copyright (c) Microsoft Corporation. Licensed under the MIT License."
  • Deprecated the build_version() function in version_utils.py with appropriate warnings

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
libraries/microsoft-agents-a365-tooling/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-tooling-extensions-semantickernel/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-tooling-extensions-openai/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-tooling-extensions-azureaifoundry/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-tooling-extensions-agentframework/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-runtime/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-runtime/microsoft_agents_a365/runtime/version_utils.py Deprecated build_version() function with warning and updated documentation
libraries/microsoft-agents-a365-observability-extensions-semantickernel/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-observability-extensions-openai/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-observability-extensions-langchain/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-observability-core/setup.py Simplified version management to use environment variable
libraries/microsoft-agents-a365-notifications/setup.py Simplified version management to use environment variable
.github/workflows/ci.yml Updated CI workflow to use new environment variable name

@rahuldevikar761 rahuldevikar761 merged commit 41c5263 into main Nov 4, 2025
8 checks passed
@pontemonti pontemonti deleted the users/radevika/fixVersioning branch December 5, 2025 17: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.

4 participants