8000 fix(packaging): keep the web UI in the sdist, so the wheel keeps it too by dmux · Pull Request #5 · dmux/minilake · GitHub
[go: up one dir, main page]

Skip to content

fix(packaging): keep the web UI in the sdist, so the wheel keeps it too - #5

Merged
dmux merged 1 commit into
mainfrom
fix/sdist-drops-web-ui
Aug 19, 2026
Merged

dmux merged 1 commit into
mainfrom
fix/sdist-drops-web-ui

Conversation

@dmux
@dmux dmux commented Aug 19, 2026
Copy link
Copy Markdown
Owner

Found while pre-flighting the 1.7.0 release.

uv build — what release.yml runs — builds the sdist first, then builds the wheel from that sdist. The artifacts override that rescues the gitignored src/minilake/ui_static export was only on the wheel target, so the export was dropped at the sdist step and the wheel came out empty:

build command ui_static files in wheel
uv build --wheel (straight from the tree) 265
uv build (sdist → wheel, as in CI) 0

Nothing fails when this happens — the wheel installs and runs, it just has no /ui. And a PyPI upload cannot be replaced. It went unnoticed because 1.6.0 shipped before the UI existed.

Changes

  • Same artifacts override on the sdist target. Verified: 265 files now survive sdist → wheel.
  • A guard in release.yml that fails the publish if the wheel arrives without the UI, so this cannot regress silently.

Blocks tagging v1.7.0.

`uv build` — what the release workflow runs — builds the sdist first and
then builds the wheel *from that sdist*. The `artifacts` override that
rescues the gitignored `ui_static` export was declared only on the wheel
target, so the export was dropped at the sdist step and the published
wheel had no web UI at all.

Nothing fails when this happens: the wheel installs and runs, there is
just no /ui. It went unnoticed because `uv build --wheel` builds straight
from the source tree and does include it, and because 1.6.0 shipped
before the UI existed.

Adds the same override to the sdist target, plus a release-workflow step
that fails the publish if the wheel arrives without the UI — a PyPI
upload cannot be replaced.
@dmux
dmux merged commit d88f951 into main Aug 19, 2026
3 checks passed
@dmux
dmux deleted the fix/sdist-drops-web-ui branch August 19, 2026 01:39
@dmux dmux mentioned this pull request Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0