Closed kit-ty-kate closed 5 years ago
@AltGr Is it volunteer to not have the same behavior on with-test
variable propagation between install & list operations ?
probably not, it's historical. We need to hurry with integration of depext handling to avoid these consistency issues
but the issue would be in opam list
, since that's what depext
calls to get the list of tags to resolve.
(more precisely, opam list --resolve=PKGS --with-test
)
but the issue would be in opam list, since that's what depext calls to get the list of tags to resolve.
Yes, if an opam issue there is, i.e. should --resolve
comply with opam install
results ?
Should I open an opam issue instead?
@kit-ty-kate PR opened!
There is a weird error in the following PR https://github.com/ocaml/opam-repository/pull/14175:
opam-depext fails with this when called with
opam depext --with-test
(added in https://github.com/ocaml/opam-depext/pull/120) butcrowbar
only depends onxmldiff
"with-test". So it seems thatopam list --with-test
doesn't have the same behaviour asopam install --with-test
as it looks for every tests dependencies recursively and not just in the given package asopam install --with-test
does.