Skip to content

Missing version in META file #1042

@hhugo

Description

@hhugo

Starting with lwt 5.8.0 (lwt 5.7.0 is fine), the version is missing from lwt META's files.

The version in the META can be queried by ocamlfind. Some packages query it to check their dependencies.

Actual behavior

$ ocamlfind query lwt -format %v
[unspecified]

Expected behavior

$ ocamlfind query lwt -format %v
5.{8,9}.0

In 5.7.0, the version was present in the opam files. I suspect, but I'm not 100% confident, that dune extracts this info to generate the META.

In 5.8.0 and above, opam files are generated from dune-project but dune-project doesn't contain any version info.

In js_of_ocaml, I use dune-release to release packages and dune-release distrib create an archive with a dune-project file updated with the correct version.

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