Repository navigation
Add a Strata-Dyn require to lakefile.toml - #18
Draft
peixuan-li wants to merge 1 commit into
Draft
peixuan-li wants to merge 1 commit into
peixuan-li wants to merge 1 commit into
Conversation
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.
Summary
lakefile.toml requires the Strata-Dyn package, and lake-manifest.json gets the matching StrataDyn entry.
Why
The StrataDyn migration CR-327642667 moves StrataDyn/ and StrataDynTest/ into the Strata-Dyn package. StrataPython/Dyn/.lean and StrataPythonTest/Dyn/.lean import StrataDyn.*, so the export breaks Strata-Python unless the package is required. The same error ("unknown module prefix 'StrataDyn'") already fails the Build workflow on main today.
Solution
lakefile.toml gets a
[[require]]for StrataDyn with git = https://github.com/strata-org/Strata-Dyn and rev = "main", written like the Strata require. lake-manifest.json gets a StrataDyn entry pinned to Strata-Dyn 1c7fec0, so the exporter has a rev to refresh. The import sync ignores lake-manifest.json, and the bot rewrites it on each export. The Build check stays red until the Strata-Dyn package contains the StrataDyn library.