GeezerVison is showing github.com — Add Mantle and Pylate targets to lakefile.toml by wkrozowski · Pull Request #17 · strata-org/Strata-Python
Conversation
wkrozowski
commented
Oct 28, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Description
Fix CI failure on StrataPython.Mantle.Env with:
error: StrataPython/Mantle/Env.lean:6:0: unknown module prefix 'StrataMantle'
The GitHub mirror excludes lakefile.toml. So when the Mantle and Pylate work landed, its sources (StrataMantle/, StrataMantleTest/, Pylate/, Scripts/pymantle.lean, Scripts/pylate.lean) reached this repo, but the lean_lib/lean_exe declarations that build them did not. No library owns the StrataMantle.* modules here, so Lake never builds them and the import fails.
This PR ports the missing declarations:
lean_lib: StrataMantle, StrataMantleTest, Pylate, PylateTests
lean_exe: pymantle, pylate, pylateTests
defaultTargets matches the internal list
StrataPythonFrontEndTestMain.needs adds StrataMantleTest and pylateTests
GitHub-specific parts (the package name, the git/rev require on Strata, and the StrataPythonTestExtra lib) are unchanged.
A follow-up on the mirror side will keep these target declarations from drifting again.
Checklist
-
lake build StrataPython StrataPythonTest succeeds locally (Lean v4.34.0); a plain lake build of all default targets also succeeds
- New
.lean files start with the standard copyright header (no new .lean files)
- No trailing whitespace and files end with a newline
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The mirror from the internal StrataPythonFrontEnd package excludes
lakefile.toml, so the lean_lib/lean_exe declarations added alongside
Mantle (StrataMantle, StrataMantleTest, pymantle) and Pylate (Pylate,
PylateTests, pylate, pylateTests) never reached this repository, even
though their sources did.
Without a lean_lib owning the StrataMantle.* modules, Lake does not
build them and `lake build` fails on StrataPython.Mantle.Env with
"unknown module prefix 'StrataMantle'".
This ports those declarations (and the matching defaultTargets and
StrataPythonFrontEndTestMain needs) from the internal lakefile.
|
Looks like you need to point the Plausible dependency to the corresponding GitHub URL? Not sure what to make of the test failures yet.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
cderici
cderici approved these changes
+1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|