Repository navigation
fix: include built frontend in package and fix CI - #3
Merged
Merged
Conversation
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
Contributor
|
Windows' coarse clock gives back-to-back audit entries identical timestamps; the stable sort then returned them oldest-first.
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.
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 Makefilebuildtarget and to the publish workflow, so the wheel and sdist now includelitestar_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:
softprops/action-gh-releaseto v2.6.0 to fix the "Too many retries" failure in the 0.1.1 publish run.StrEnum/Self/datetime.UTC(package says it supports 3.10), remove leftover debugprint()s, and installlitestar-permissions(3.12+) so its integration test can run.Replaces #2.