fix: align __version__ and CORE_VERSION with pyproject.toml 2.6.0#56
Merged
Conversation
__version__ was 2.5.0 while pyproject.toml already declared 2.6.0. CORE_VERSION also pointed to 2.5.0 — capiscio-core v2.6.0 release exists.
|
✅ Documentation validation passed!
|
|
✅ All checks passed! Ready for review. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
Aligns the SDK’s runtime version constants with the package version declared in pyproject.toml so the published SDK version and the downloaded capiscio-core binary version stay consistent.
Changes:
- Bump
capiscio_sdk.__version__to2.6.0. - Bump
capiscio_sdk._rpc.process.CORE_VERSIONto2.6.0(affects the GitHub release tagv2.6.0used for downloads).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
capiscio_sdk/_rpc/process.py |
Updates CORE_VERSION to 2.6.0 so the downloader targets the correct capiscio-core release tag. |
capiscio_sdk/__init__.py |
Updates __version__ to 2.6.0 to match pyproject.toml’s project version. |
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.
Problem
__version__incapiscio_sdk/__init__.pywas2.5.0whilepyproject.tomlalready declared2.6.0.CORE_VERSIONin_rpc/process.pyalso pointed to2.5.0, meaning the SDK would download capiscio-core 2.5.0 instead of 2.6.0.Fix
capiscio_sdk/__init__.py:__version__→2.6.0capiscio_sdk/_rpc/process.py:CORE_VERSION→2.6.0(capiscio-core v2.6.0 release exists)Testing
Tests use hardcoded version strings in mocked calls — not affected by this change.