Skip to content

fix: include built frontend in package and fix CI - #3

Merged
JacobCoffee merged 2 commits into
mainfrom
fix/frontend-and-ci-surgical
Oct 11, 2026
Merged

JacobCoffee merged 2 commits into
mainfrom
fix/frontend-and-ci-surgical

Conversation

@JacobCoffee

Copy link
Copy Markdown
Owner

Fixes #1.

The 0.1.1 wheel shipped without the admin UI because nothing built the frontend before uv build. This adds that step to the Makefile build target and to the publish workflow, so the wheel and sdist now include litestar_admin/static (101 files in the wheel). Checked by installing the built wheel in a fresh venv: GET /admin/ and its /_next/static/... JS return 200 (0.1.1 serves a page with no assets).

Also:

  • Bump softprops/action-gh-release to v2.6.0 to fix the "Too many retries" failure in the 0.1.1 publish run.
  • Get lint/format/type check/tests passing on main with minimal changes: per-line ignores for complexity rules instead of rewrites, Python 3.10 compat for StrEnum/Self/datetime.UTC (package says it supports 3.10), remove leftover debug print()s, and install litestar-permissions (3.12+) so its integration test can run.

Replaces #2.

Build the frontend before `uv build` in the Makefile and publish
workflow so the wheel and sdist ship the admin UI. Bump
softprops/action-gh-release to v2.6.0 to fix the 'Too many retries'
publish failure.

Get lint, format, type check, and tests passing with minimal changes:
per-line ignores for complexity rules, Python 3.10 compat for
StrEnum/Self/datetime.UTC, remove leftover debug prints, and install
litestar-permissions for its integration test on Python 3.12+.

Fixes #1
@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.6.3

🚀 View preview at
https://JacobCoffee.github.io/litestar-admin/pr-preview/pr-3/

Built to branch gh-pages at 2026-10-11 02:25 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Windows' coarse clock gives back-to-back audit entries identical
timestamps; the stable sort then returned them oldest-first.
@JacobCoffee
JacobCoffee merged commit ca1e5ad into main Oct 11, 2026
17 checks passed
@JacobCoffee
JacobCoffee deleted the fix/frontend-and-ci-surgical branch October 11, 2026 02:28
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.

Frontend static files are missing from the PyPI package (0.1.1)

1 participant