Switch to ocaml-opam/opam-repository-mingw #651
Merged
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.
fdopen/opam-repository-mingw has not been receiving updates since November last year, following its previously announced deprecation.
opam 2.2 will add some required additional support for depext support on Windows and we (opam devs) expect to update opam-repository's compiler packages as part of this so that ocaml/opam-repository can be used without needing opam-repository-mingw, however we're suffering from a slight race condition for the next month or so with existing CI workflows still using fdopen/opam-repository-mingw and wanting to add ocaml/opam-repository in order to get new versions of packages which already work. Workflows which want new releases have been adding ocaml/opam-repository:
This has been causing some problems, the first of which was fixed in #647. The other problem is not in setup-ocaml but with opam-repository-mingw itself, which occurs when constraints in existing packages have to be updated because of new releases in opam-repository.
In order to deal with this, opam-repository-mingw has been forked to ocaml-opam/opam-repository-mingw solely for the purpose of applying constraint changes to it, and adding the missing 4.x compiler.
This is intended solely to bridge the gap between requiring both opam-repository-mingw, which is necessary at the moment while the compiler packages are being stabilised and an opam 2.2 capable of reliably using them isn't ready.
With this PR, default workflows will be unaffected, but other workflows can now use: