Skip to content
This repository was archived by the owner on Nov 6, 2026. It is now read-only.
This repository was archived by the owner on Nov 6, 2026. It is now read-only.

Lean 3.49.0 compatibility #17486

Closed
Closed

Description

@tchajed

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.

Homebrew/homebrew-core#115498 is waiting on this to bump the Homebrew version of lean.

Activity

  1. alexjbest commented on Nov 15, 2022

    @alexjbest
    Member

    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?

  2. tchajed commented on Nov 15, 2022

    @tchajed
    Author

    Yes, that is the only reason for the dependency. Specifically Homebrew tests all dependents, and in the mathlibtools test leanproject new fails.

  3. alexjbest commented on Nov 15, 2022

    @alexjbest
    Member

    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.

  4. eric-wieser commented on Nov 15, 2022

    @eric-wieser
    Member

    If leanproject new fails when mathlib is behind lean, that probably would be a bug to file against https://github.com/leanprover-community/mathlibtools

  5. alexjbest commented on Nov 16, 2022

    @alexjbest
    Member

    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.

  6. tchajed commented on Nov 16, 2022

    @tchajed
    Author

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions