Skip to content

fix: build wheel from source so frontend static assets ship#1

Merged
galuszkm merged 1 commit into
mainfrom
fix/mg/publish-whl-statics
Jul 2, 2026
Merged

fix: build wheel from source so frontend static assets ship#1
galuszkm merged 1 commit into
mainfrom
fix/mg/publish-whl-statics

Conversation

@galuszkm

@galuszkm galuszkm commented Jul 2, 2026

Copy link
Copy Markdown
Member

Description

In publish CI uv build builds the sdist first, then builds the wheel from that sdist. Since static/ dir is gitignored the frontend artifacts were not shipped in the wheel published in PyPI.

This PR intriduces uv build --sdist --wheel --out-dir dist/ in publish.yml gh actions workflow to fix it.

Related Issues

N/A

Type of Change

  • Bug fix

Testing

How have you tested the change?

  • I ran uv run just check (lint + type check)
  • I ran uv run just test for overall testing
  • I added or updated tests that prove my fix is effective or my feature works
  • I verified existing examples in examples/ still work

Checklist

  • I have read the CONTRIBUTING document
  • I have updated the documentation accordingly
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- build sdist and wheel independently with `uv build --sdist --wheel`
- fixed missing example.env files in examples
@galuszkm galuszkm merged commit f0d83e6 into main Jul 2, 2026
8 checks passed
@galuszkm galuszkm deleted the fix/mg/publish-whl-statics branch July 2, 2026 00:24
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