-
Notifications
You must be signed in to change notification settings - Fork 370
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 lock does not include with-test
dependencies even when those are installed
#4170
Comments
This |
Yes, it was from an online manpage. Is it not supported anymore? If it's not, is there a workaround? Thanks in advance. |
FWIK, It has never been supported in the |
Closing in favor to ocaml-opam/opam2web#188. Thanks! |
(ref: AltGr/opam-lock#11) |
this is shame that opam-lock doesn't support this, it's quite convenient to setup a test environment. There's no evolution planned on this? |
for whatever reason it seems to work just fine with |
Ah nevermind, my test setup was faulty. It is supported and works just fine. If you see a case where this is not supported please open a new issue. Sorry for the noise. |
indeed, I tested again, and |
The documentation says:
I have
ounit
andpatdiff
marked aswith-test
and installed in my opam switch, but those don't make it into thelocked
file.Here is a minimized version of my project's
opam
file:I execute
opam lock .
and here is myopam.locked
file:As you can see the
with-test
dependencies are not in thelocked
file and when I try to install the locked dependencies I get the following:Here is the result of running
opam config report
:The text was updated successfully, but these errors were encountered: