[archival] [ann] Raising the OCaml lower bound to 4.11.0 for opam-repository

This is closed door for NetBSD entirely.

What do you mean? What is closed now and why?

Just tried install (any) OCaml on NetBSD 10.0 with no luck.

I’m sorry to hear. It may be worth reporting to the issue tracker with further details. I’m not sure how this is related to this topic.

It should be pointed out that putting newcomers on an experience none of the people who are willing to help them have and live with is generally not a good idea (cue opam system switches…).

I am not sure I am understanding the discussion. The compiler being supported in the opam-repository does not mean that package maintainers have to support it. If there are incompatibilities we add a lower bound and call it a day, we never forced anyone to support all the tested compilers. Am I missing something?

It’s a bit more complicated than that, expectations of availability have effects.
For example for both opam and odoc target very low OCaml compiler versions.

In turn this means a library like cmdliner also has to target these. This means eschewing more recent standard library additions (example and another one). In turn this means more bloat and possible bugs for everyone using cmdliner.

The issue is that this lower bound is being used as a justification to force opam package maintainers to support those lower bounds: [ANN] Dune 3.23.0 - #2 by kit-ty-kate

I see what you mean. I thought it would be at most asking for the option, as mentioned by @yawaramin which I think is fine and maintainers can always refuse in principle, but I did not factor in expectations from seeing it mentioned in the opam-repository.

I don’t have a strong opinion on this. To me it makes sense to support the compilers available on main distributions in the opam-repository and perhaps make it clearer also there in the README that this does not imply that maintainers have to support them all. But I am happy to see how the discussion will unfold and follow the consensus.

I think there is a typo with opam-repository-archive; the command should be

opam switch create 4.08.1 --repos default,archive=https://github.com/ocaml/opam-repository-archive.git

Thanks a lot, I edited the above comment to fix the typo.