GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add Mantle and Pylate targets to lakefile.toml by wkrozowski · Pull Request #17 · strata-org/Strata-Python

Conversation

@wkrozowski

@wkrozowski wkrozowski commented Oct 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@wkrozowski
Add Mantle and Pylate targets to lakefile.toml
9574082
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.
@wkrozowski
wkrozowski requested a review from a team October 28, 2026 12:11
@ssomayyajula

ssomayyajula commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Looks like you need to point the Plausible dependency to the corresponding GitHub URL? Not sure what to make of the test failures yet.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

joehendrix
joehendrix approved these changes Oct 30, 2026
View reviewed changes
cderici
cderici approved these changes Oct 30, 2026
View reviewed changes
peixuan-li
peixuan-li approved these changes Oct 30, 2026
View reviewed changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cderici cderici cderici approved these changes
@peixuan-li peixuan-li peixuan-li approved these changes
+1 more reviewer
@joehendrix joehendrix joehendrix approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

5 participants

@wkrozowski @ssomayyajula @cderici @joehendrix @peixuan-li
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.