Skip to content

fix(python): bump __version__ to 0.3.0#1175

Open
Demirrr wants to merge 2 commits intogithub:mainfrom
Demirrr:fix/python-version-0.3.0
Open

fix(python): bump __version__ to 0.3.0#1175
Demirrr wants to merge 2 commits intogithub:mainfrom
Demirrr:fix/python-version-0.3.0

Conversation

@Demirrr
Copy link
Copy Markdown

@Demirrr Demirrr commented Apr 30, 2026

Summary

The v0.3.0 release was published on April 24, 2026, but the Python package version string in python/copilot/__init__.py was not updated and still reads 0.1.0.

Change

# Before
__version__ = "0.1.0"

# After
__version__ = "0.3.0"

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>
Copilot AI review requested due to automatic review settings April 30, 2026 11:16
@Demirrr Demirrr requested a review from a team as a code owner April 30, 2026 11:16
Copy link
Copy Markdown
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

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__ from 0.1.0 to 0.3.0.

Comment thread python/copilot/__init__.py Outdated
from .tools import convert_mcp_call_tool_result, define_tool

__version__ = "0.1.0"
__version__ = "0.3.0"
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

__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.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Sure

… 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>
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