feat: add Python wheels and checksums to GitHub releases#90
Merged
Conversation
12bbdca to
ab5825e
Compare
- Add dist_glob_patterns to semantic-release configuration to upload dist/* and checksums.txt - Add version_toml configuration to let semantic-release handle pyproject.toml updates - Modify build script to generate SHA256 checksums for all distribution files - Simplify build target to remove complex version logic - semantic-release handles versioning - Keep valuable build functionality: cleanup, dependency management, checksum generation - Enables users to download wheels directly from GitHub releases with integrity verification Files attached to releases: - *.whl (Python wheel) - *.tar.gz (Source distribution) - checksums.txt (SHA256 checksums for verification)
ab5825e to
a131c62
Compare
- Use 'make build' instead of 'python -m build' to get checksums and enhanced build features - Enable PyPI publishing with 'dist = true' - Add dist_glob_patterns to upload wheels and checksums to GitHub releases Workflow: version → build → tag → GitHub release → attach files → PyPI publish
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.
Description
This PR adds Python wheels and checksums to GitHub releases, enabling users to download distribution files directly from GitHub without requiring PyPI access.
Type of Change
Related Issues
Addresses the need for alternative distribution methods and offline installation support.
How Has This Been Tested?
Test Configuration
Checklist
Additional Notes
This change enhances the release process by:
Adding dist_glob_patterns to semantic-release configuration to upload:
*.whl(Python wheel files)*.tar.gz(Source distribution)checksums.txt(SHA256 checksums for verification)Modifying build script to automatically generate SHA256 checksums for all distribution files
Benefits:
Performance Impact
Security Considerations
Dependencies
No new dependencies added.
Deployment Notes