-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove dependency cycles #18124
Remove dependency cycles #18124
Conversation
This makes |
It's probably not worth testing the revdpes on the entiere universe. @dra27 and @kit-ty-kate are you ok to merge this? |
Commit: 019b3aa A pull request by opam-seasoned @samoht. 🌤️ opam-lint warnings 019b3aa
☀️ Installability check (+0) |
packages/result/result.1.3/opam
Outdated
@@ -10,6 +10,7 @@ depends: [ | |||
"ocaml" | |||
"jbuilder" {>= "1.0+beta11"} | |||
] | |||
conflicts:["dune-configurator"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the issue here? I'd rather have the constraint in the correct file (dune-configurator) rather than here. It's much easier to understand and maintain this way.
@@ -22,6 +22,7 @@ depends: [ | |||
"conf-pkg-config" {os != "win32"} | |||
"ocaml" {>= "4.09.0~~"} | |||
] | |||
conflicts: ["ocamlfind-secondary"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question here. Something tells me the constraint should be in ocamlfind-secondary.
@kit-ty-kate there is a cycle between these packages which confuses the solver:
This PR breaks that cycle explicitly by adding a conflict in the middle of the dependency chain. That same conflict can be added either in |
@kit-ty-kate I've fixed the location of the |
The revdep testing are killing the CI. @kit-ty-kate is this ok if I merge this quickly? |
This PR might not be necessary as |
Closing as it needs caml/opam#4541 to be resolved first. |
No description provided.