ci: publish PEP 503 package index for release wheels - #24
Merged
Conversation
uniko's Python wheels are distributed as GitHub release assets (each is ~120 MB, over PyPI's 100 MB per-file limit), so they cannot be installed from PyPI. Publish a static PEP 503 "simple" index on the docs GitHub Pages site so pip/poetry can install them via --extra-index-url https://rustic-ai.github.io/uniko/packages/. - scripts/ci/gen_package_index.py: generate the index from the GitHub releases API, grouping every wheel/sdist under its normalized project name (uniko, uniko-cuda, uniko-metal) and pinning #sha256 from asset digests (no downloads; stdlib only). - deploy-docs.yml: regenerate the index before building the site, and expose workflow_call so the release can invoke it. The generated tree (website/docs/packages/) is gitignored — the releases API is the source of truth. - release.yml: after github-release attaches the wheels, call deploy-docs to rebuild + redeploy so a new release is immediately installable. Invoked directly because GITHUB_TOKEN-created releases don't cascade into trigger-based workflows.
Shiti
force-pushed
the
ci/pep503-package-index
branch
from
July 21, 2026 22:37
83f636e to
979a4ef
Compare
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
uniko's Python wheels are distributed as GitHub release assets (each is ~120 MB, over PyPI's 100 MB per-file limit), so they cannot be installed from PyPI.
Publish a static PEP 503 "simple" index on the docs GitHub Pages site so pip/poetry can install them via --extra-index-url https://rustic-ai.github.io/uniko/packages/.
Type of change
Checklist
cargo fmt --checkpassescargo clippy -- -D warningspassescargo nextest runpassescargo deny checkpasses (licenses / advisories)use uni_dbor call.db()directly — access goes throughuniko-store)Linked issues