Skip to content

Ensure dune version installed is appropriate #1904

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

Merged
merged 13 commits into from
Aug 1, 2025

Conversation

PizieDust
Copy link
Contributor

@PizieDust PizieDust commented Jul 31, 2025

This PR checks that the dune version installed supports all the currrent features of Dune Package Management.
Currently, we check if it's a release or a preview.
If it's a release, we check that the version is gte 3.19.1 and if it's a preview we check that the timestamp is on or after 2025-07-29

This is related to #1833 (comment)

cc @pitag-ha

@smorimoto smorimoto requested a review from pitag-ha July 31, 2025 12:03
Copy link
Member

@pitag-ha pitag-ha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @PizieDust! I only have a few comments.

Copy link
Member

@pitag-ha pitag-ha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what we've discussed, right? The last changes we need are not available in 3.19.1, so we need 3.20.0 as a minimum

@PizieDust PizieDust requested a review from pitag-ha August 1, 2025 14:57
PizieDust and others added 2 commits August 1, 2025 15:57
Copy link
Member

@pitag-ha pitag-ha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you! :)

Copy link
Member

@pitag-ha pitag-ha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a note: there's a lot of logging (the one below is just one out of about 10). @smorimoto , is it ok to leave them all? Or do you prefer @PizieDust to remove (some of) them?

(they're already removed)

@smorimoto smorimoto merged commit 1af52ea into ocamllabs:master Aug 1, 2025
6 checks passed
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