Stabilize opam switch when its base package is not available anymore #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In ocaml/opam-repository#17132 it was realized that the base package of an opam switch can change if it is no longer available.
In the case of this PR, the issue was that the fedora and alpine images for OCaml 4.11 were not updated and still are on
4.11.0+trunk
. However since those packages are not valid anymore after the release of4.11.0
, the were moved to4.11.1+trunk
. Opam then realizes that its base package is not available anymore and tries to use the closest base package available:This PR fixes the issue by pinning the base package once and for all.
This package is a draft for the moment as it requires ocurrent/ocaml-version#18 for an easy way to get the package name and version.