Skip to content

Missing cmdliner constraints on old versions of ocamlformat-related packages #28637

@lthls

Description

@lthls

The OxCaml CI has a job that relies on ocamlformat.0.24.1, and it started failing recently. We fixed it by pinning cmdliner to 1.3.0, but it looks like it reveals a missing constraint on the ocamlformat package so I'm filing this issue to let maintainers know.

From what we understand, when cmdliner 2 was released ocamlformat wasn't coinstallable with it because ocamlformat depends on ocp-indent, for which there was no version compatible with cmdliner 2 at that time.
Since then, ocp-indent.1.9.0 was released which is compatible with cmdliner 2.0, and the CI for the corresponding PR (#28630) shows failures that seem almost all related to cmdliner.
I suspect the right fix is to add constraints on the relevant ocamlformat or ocamlformat-lib packages, but I'd like to leave that to someone who is used to this sort of work (and may already have the right tools for that).

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