Skip to content

Support dune >= 3.0 #7

@jubnzv

Description

@jubnzv

Is it possible to allow to build the package using 3.x versions of the dune package?

Currently the package requires dune 2.6 version, as it is set in drom.toml. So, drom generates dune-project with the following dependency: (dune (and (>= 2.6.0) (< 3.0.0))). This makes total sense, because the next major version of dune may contain incompatible changes. But for this particular package everything works fine with dune 3.4.6.

This dependency creates the following problem.
I'm trying to install ocaml-solidity, which depends on ez_file and (undirectly) on ocplib_stuff. Both of the dependencies require dune < 3.0.0. But ocaml-lsp-server from my switch requires dune >= 3.0. So I need to clone both of the dependencies locally, change the dune version to 3.0+ and build them from sources, before installing ocaml-solidity. This workaround works well, but this is not very convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions