Add stable releases and semantic versioning support#40
Closed
subhobhai943 wants to merge 6 commits intoperplexityai:masterfrom
subhobhai943:feature/stable-releases
Closed
Add stable releases and semantic versioning support#40subhobhai943 wants to merge 6 commits intoperplexityai:masterfrom subhobhai943:feature/stable-releases
subhobhai943 wants to merge 6 commits intoperplexityai:masterfrom
subhobhai943:feature/stable-releases
Conversation
- Add type annotations for all functions and parameters - Add encoding specification for file operations - Fix subprocess.run calls with check=False for non-critical operations - Add noqa comments for intentional print statements - Fix conditional logic to use early returns - Add docstring for main function - Use unpacking in subprocess calls - Use keyword-only arguments where appropriate - Fix argument formatting and trailing commas
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
This PR addresses issue #39 by implementing stable releases and semantic versioning for pplx-kernels. Users can now pin to specific versions instead of commit SHAs, making the project more stable and easier to manage.
Changes Made
1. Automated Release Workflow
.github/workflows/release.ymlfor automated releasespyproject.toml2. Version Management
CHANGELOG.mdfollowing Keep a Changelog formatREADME.mdwith installation instructions for stable versionsdocs/RELEASE_PROCESS.mdscripts/release.pyhelper script for version management3. User-Facing Improvements
pip install git+https://github.com/perplexityai/pplx-kernels.git@v0.1.0Benefits
Migration Guide
Before
After
Release Process
scripts/release.pyhelper scriptdocs/RELEASE_PROCESS.mdfor detailed instructionsTesting
Future Improvements
The foundation is now in place for:
Resolves
Note: This PR is ready for review and testing. The first stable release (v0.1.0) can be created immediately after merging to establish the versioning baseline.