Skip to content
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

fix: Do not depend on dune in dune-project in dune init template #11129

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

Leonidas-from-XIV
Copy link
Collaborator

@Leonidas-from-XIV Leonidas-from-XIV commented Nov 18, 2024

Dune automatically adds the right constraint anyway, with the right version constraint. All Dune project implicitely depend on Dune anyway and the tests show that the opam files correctly include Dune.

This helps with #11106 but also would have avoided triggering the bug in #11103 when the project is created with dune init proj.

Dune automatically adds the right constraint anyway, with the right
version constraint. All Dune project implicitely depend on Dune anyway
and the tests show that the opam files correctly include Dune.

This helps with ocaml#11106 but also avoids the bug where Dune couldn't solve
a package because it depended on Dune and in the Dune Package Management
we explicitely remove the dependency.

Signed-off-by: Marek Kubica <marek@tarides.com>
@Leonidas-from-XIV Leonidas-from-XIV merged commit de4d262 into ocaml:main Nov 19, 2024
28 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the dune-init-dune-dep branch November 19, 2024 11:04
Leonidas-from-XIV added a commit to Leonidas-from-XIV/dune that referenced this pull request Nov 19, 2024
Signed-off-by: Marek Kubica <marek@tarides.com>
Leonidas-from-XIV added a commit that referenced this pull request Nov 19, 2024
Signed-off-by: Marek Kubica <marek@tarides.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants