-
Notifications
You must be signed in to change notification settings - Fork 362
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
pin is being ignored; opam installs the wrong version of a package #5773
Comments
Ah looks like in the next build step ( |
Let’s reopen this for now and figure out why it has this behaviour. I do agree that it sounds pretty buggy behaviour on first glance. |
Rerunning the job after bumping the
So it looks like the constraints of some of the packages ( |
It seems to be fixed on 2.2.0~alpha, can you check ? todo for opam devs: we need to add a test for this case. |
That's great to hear! This is on CI so I can't easily check this, and I'll not migrate our CI to an alpha version. Once a 2.2 stable release is out we can see how it fares on our CI. |
I believe this is opam's bug, but it ignores tsdl's dependency constraints, and installs too newer `ctypes-foreign`, causing a compile error on CI. ocaml/opam#5773 might be relevant.
I have told opam to pin
coq
to8.19.dev
. Nevertheless, it now installed version8.18.dev
of Coq.I saw this happen on CI, in this job:
This is pretty much the worst-case bug for using opam on CI: it silently installs the wrong thing, so even if the tests pass I can't be sure that they passed for the intended package versions. I have no idea how often this happens; usually I don't double check our CI logs. I just noticed this coincidentally while doing some mass-rebuild tests.
The text was updated successfully, but these errors were encountered: