You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 6, 2026. It is now read-only.
There's no lean-3.49.0 branch, and a quick sanity check shows that there are a few new build failures in src/order/basic.lean and src/order/lattice.lean for example.
I think it would be much more reasonable to make the homebrew build not depend on a specific version of mathlib being updated to the latest lean, in principle there should be no barrier to doing this. Lean doesn't depend on mathlib. Is the only issue you face due to mathlibtools wanting to use the latest lean by default?
What are the requirements for homebrew tests? If you are simply checking minimal functionality, i.e. that the install succeeded then checking that leanproject -h outputs a help message seems a far less complicated test that shouldn't fail in this situation, it shold be easier on ci resources too.
I agree with that too but making a 3-line fix to the homebrew test seems easier, and homebrew ci getting mathlib oleans as a way of checking leanproject works seems excessive to me.
I doubt Homebrew would accept reducing what's tested - it seems reasonable that out of the box leanproject new always works. If the behavior of leanproject changed so that it used a compatible version of Lean then the test would succeed and then Homebrew lean would be independent of mathlib support.
Isn't the current situation fine as long as maintainers are aware that upgrading Lean requires waiting a couple days for mathlib support?
Activity
alexjbest commentedon Nov 15, 2022
I think it would be much more reasonable to make the homebrew build not depend on a specific version of mathlib being updated to the latest lean, in principle there should be no barrier to doing this. Lean doesn't depend on mathlib. Is the only issue you face due to mathlibtools wanting to use the latest lean by default?
tchajed commentedon Nov 15, 2022
Yes, that is the only reason for the dependency. Specifically Homebrew tests all dependents, and in the mathlibtools test
leanproject newfails.alexjbest commentedon Nov 15, 2022
What are the requirements for homebrew tests? If you are simply checking minimal functionality, i.e. that the install succeeded then checking that
leanproject -houtputs a help message seems a far less complicated test that shouldn't fail in this situation, it shold be easier on ci resources too.eric-wieser commentedon Nov 15, 2022
If
leanproject newfails when mathlib is behind lean, that probably would be a bug to file against https://github.com/leanprover-community/mathlibtoolsalexjbest commentedon Nov 16, 2022
I agree with that too but making a 3-line fix to the homebrew test seems easier, and homebrew ci getting mathlib oleans as a way of checking leanproject works seems excessive to me.
tchajed commentedon Nov 16, 2022
I doubt Homebrew would accept reducing what's tested - it seems reasonable that out of the box
leanproject newalways works. If the behavior of leanproject changed so that it used a compatible version of Lean then the test would succeed and then Homebrew lean would be independent of mathlib support.Isn't the current situation fine as long as maintainers are aware that upgrading Lean requires waiting a couple days for mathlib support?