Repository navigation
Add pip distribution via platform-specific wheels - #66
Merged
Merged
Conversation
Wraps the existing static dsas binaries in per-platform wheels (embedded binary + thin launcher that execs it), retagged with `wheel tags` for manylinux/macosx/win, and published to PyPI via trusted publishing on tag push. `pip install opendsas` now works alongside the existing curl/brew install paths. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #66 +/- ##
=======================================
Coverage 93.48% 93.48%
=======================================
Files 16 16
Lines 937 937
Branches 416 416
=======================================
Hits 876 876
Misses 12 12
Partials 49 49 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
dsasbinaries in a newpython/package (opendsas): a thindsasconsole-script launcher thatexecs the bundled binary, no compilation needed.release.ymlwith apackage-pipmatrix job that builds a wheel per platform and retags it (wheel tags) tomanylinux2014_x86_64,manylinux2014_aarch64,macosx_11_0_arm64, andwin_amd64, and apublish-pypijob that publishes them to PyPI via trusted publishing (OIDC, no token secret) on tag push.pip install opendsassection.Setup required before this can publish
PyPI trusted publishing must be registered once at https://pypi.org/manage/account/publishing/ for project
opendsas, ownerlubyant, repoOpenDSAS, workflowrelease.yml, environmentpypi.opendsasis currently unclaimed on PyPI. Until that's configured,package-pipand the release-asset attachment still work — only the finalpublish-pypistep will fail.Test plan
python -m build+python -m wheel tags), confirmed the resulting.whlhas the right platform tag and file layout (opendsas/bin/dsaspresent, executable).dsas <args>execs the bundled binary and forwards args correctly.package-pip/publish-pypi) on an actual tag push, once trusted publishing is registered on PyPI.🤖 Generated with Claude Code