fix(python): bump __version__ to 0.3.0#1175
Open
Demirrr wants to merge 2 commits intogithub:mainfrom
Open
Conversation
The v0.3.0 release was tagged on April 24, 2026 but the Python package version string was not updated and still reads 0.1.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Python SDK’s runtime version string to match the already-published v0.3.0 release, ensuring copilot.__version__ reflects the intended release version.
Changes:
- Bump
python/copilot/__init__.py__version__from0.1.0to0.3.0.
| from .tools import convert_mcp_call_tool_result, define_tool | ||
|
|
||
| __version__ = "0.1.0" | ||
| __version__ = "0.3.0" |
There was a problem hiding this comment.
__version__ is now 0.3.0, but the package metadata version in python/pyproject.toml is still 0.1.0. This will leave the built/distributed wheel reporting 0.1.0 (and can also reintroduce drift later). Consider updating the project.version to 0.3.0 as part of this change, or deriving __version__ from importlib.metadata.version("github-copilot-sdk") so there’s a single source of truth.
… metadata - Update project.version in pyproject.toml from 0.1.0 to 0.3.0 so the built/distributed wheel reports the correct version. - Derive __version__ from importlib.metadata.version() so pyproject.toml is the single source of truth; falls back to '0.3.0' when the package is not installed (e.g. during development without an editable install). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
The v0.3.0 release was published on April 24, 2026, but the Python package version string in
python/copilot/__init__.pywas not updated and still reads0.1.0.Change