Skip to content

Add a Strata-Dyn require to lakefile.toml - #18

Draft
peixuan-li wants to merge 1 commit into
mainfrom
peixuan/add-strata-dyn-require
Draft

peixuan-li wants to merge 1 commit into
mainfrom
peixuan/add-strata-dyn-require

Conversation

@peixuan-li

Copy link
Copy Markdown
Contributor

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.

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.

1 participant