-
Notifications
You must be signed in to change notification settings - Fork 373
Open
Labels
Description
Hi,
Consider the following as part of an opam file (https://github.com/lemaetech/wtr/blob/main/wtr-ppx.opam):
depends: [
"dune" {>= "2.8"}
"ocaml" {>= "4.12.0"}
"uri" {>= "4.2.0"}
"wtr" {= "version"}
"ppxlib" {>= "0.22.0"}
"odoc" {with-doc}
]
When I issue the command opam pin .
, I get the following error,
[ERROR] Package conflict!
* Missing dependency:
- wtr >= version
no matching version
Due to this opam lock ./wtr-ppx.opam
also fails with the following error:
[ERROR] Package conflict!
* Missing dependency:
- wtr >= version
no matching version
It seems we can't pin or lock packages where the dependency constraint contains {= version}
. I am using opam 2.1