Skip to content

[2.4 regression] opam install --deps-only does not handle pin dependencies #6610

Description

@kit-ty-kate

#6375 seems to have broken the following case:

$ cat opam
opam-version: "2.0"
depends: "spdx_licenses"
pin-depends: ["spdx_licenses.dev" "git+https://github.com/kit-ty-kate/spdx_licenses.git"]
$ opam install --deps .
[...]
Nothing to do.

We would expect the pin-depends to be pinned and the new pinned package to be installed.

Encountered in dune's CI by @anmonteiro

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions