-
Notifications
You must be signed in to change notification settings - Fork 368
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 2.1.0 has different behaviours on macOS on packages with mismatching version field #4780
Comments
I was able to reproduce:
There seems to be a weird change of behaviour between On macOS the repository state seems to have been set to an empty one whereas on linux it seems to have ignored the failure. Tested with opam master (ab530f8) |
ok, it's the strict mode that is making it fail, i see. I've tried without it. |
I can reproduce, on linux too |
I can be better handled with the new |
I don’t think this is a good solution. I’d much rather fail early and not do any modification when it fails and have the same behaviour between add and set-url. |
Makes sense... So we keep the may fail after setting an url just when specifically user set |
This succeeds (see #4779), but now on Linux:
succeeds, however on macOS the package does not even exist anymore (it existed before, see https://opam.ocaml.org/packages/elina/):
The text was updated successfully, but these errors were encountered: