Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the versioning strategy for the Agent365 Python SDK by transitioning from a custom date-based versioning system to setuptools-git-versioning, which provides automated semantic versioning based on Git history and tags.
Key changes:
- Implements
setuptools-git-versioningfor automatic version calculation from Git commits and tags - Updates the branching/release strategy to use
release/*branches for official releases - Simplifies the CI pipeline by removing manual version generation logic
- Removes legacy "Kairo" references from copyright headers
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| versioning/pyproject.toml | Configures setuptools-git-versioning with dev templates and version file settings |
| versioning/TARGET-VERSION | Sets base version to 0.1.0 for version calculation |
| setup.py | Updates copyright header, removes Kairo references, replaces custom versioning with environment variable approach |
| replace-version.ps1 | PowerShell script to query current version using setuptools-git-versioning |
| pyproject.toml | Adds setuptools-git-versioning dependency, removes tzdata dependency |
| HOW_TO_SET_A_VERSION.md | Comprehensive documentation for the new Git-based versioning workflow |
| .github/workflows/ci.yml | Updates CI pipeline to calculate versions using setuptools-git-versioning and restrict publishing to release branches |
juliomenendez
previously approved these changes
Nov 3, 2025
pontemonti
reviewed
Nov 3, 2025
juliomenendez
previously approved these changes
Nov 4, 2025
pontemonti
approved these changes
Nov 4, 2025
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.
No description provided.