-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opam admin check --cycle --ignore-test-doc does not give accurate results #4541
Comments
Hm, it seems that the cycle is real in the dependency sense... but appears not to be co-installable. I'll see if that can be filtered out, but it might prove pretty tricky. |
I'm noticing a related issue, with (in a fresh switch with ocaml-base-compiler.4.13.0):
even though ocamlfind does not depend on ocamlfind-secondary. |
@Armael the arrow should be viewed the otherway around (I know this is weird) In this case:
|
Ah! I see. So at least part of the bug is that dune is considered as depending on ocamlfind-secondary, but this is not actually the case, as we have ocaml >= 4.08 installed. |
In ocaml/opam-repository#18124 an attempt has been made to remove every cycle in opam-repository detected by
opam admin check --cycle --ignore-test-doc
.However this command does not seem to give correct results. For example on top of ocaml/opam-repository@019b3aa, if I remove the
{!= "1.3"}
constraint from theresult
indune-configurator.2.8.1
, I get:However this should not appear, as
opam install --update-invariant
rightfully points out:Is there a bug in the cycle detection by any chance?
opam version:
2.1.0~beta4
The text was updated successfully, but these errors were encountered: