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

dune language check doesn't match dune version #47

Closed
Khady opened this issue Feb 11, 2023 · 3 comments
Closed

dune language check doesn't match dune version #47

Khady opened this issue Feb 11, 2023 · 3 comments

Comments

@Khady
Copy link

Khady commented Feb 11, 2023

I'm trying to use the lint-opam check provided by setup-ocaml. It seems to run opam-dune-lint. And somehow even if dune 3.6.2 is installed, (lang dune 3.6) gets rejected

https://github.com/Khady/modern-ocaml/actions/runs/4145135849/jobs/7169100839

/opt/hostedtoolcache/opam/2.1.4/x86_64/opam exec -- opam-dune-lint
File "dune-project", line 1, characters 11-14:
1 | (lang dune 3.6)
               ^^^
Error: Version 3.6 of the dune language is not supported.
Supported versions of this extension in version 3.6 of the dune language:
- 1.0 to 1.12
- 2.0 to 2.9
opam-dune-lint: internal error, uncaught exception:
                Failure("run ['dune' 'build' '@install']: exited with 1")
@talex5
Copy link
Contributor

talex5 commented Feb 17, 2023

The logs say:

downgrade dune                3.6.2 to 2.9.3 [required by opam-dune-lint]

@talex5
Copy link
Contributor

talex5 commented Feb 17, 2023

(there's some work to add support to dune 3 - see #46)

@talex5 talex5 closed this as completed Feb 17, 2023
@Khady
Copy link
Author

Khady commented Feb 18, 2023

ah I missed that part of the logs, thanks

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

No branches or pull requests

2 participants