-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
result < 1.5: mark as available only with ocaml < 4.08 #27208
base: master
Are you sure you want to change the base?
Conversation
With the archival process in mind i personally think this PR is totally fine and welcome. If this is merged i would also invite to also open a PR to remove the now unnecessary |
@kit-ty-kate that's a great idea, and once this PR is merged I'll follow up (it may only be safe when the result packages have been archived - otherwise on a e.g. 4.06 switch someone may install result 1.3 and get into trouble with some packages). |
Agreed with @kit-ty-kate! My only objection to it previously was the supported status of pre-4.08 versions. It'll also be really nice to remove all the conflict clauses on result. |
It's a data point rather than a veto, but as in #24868 (comment), there will still I think be packages which aren't (yet) archived but which become uninstallable on OCaml 4.08-4.13 as a result of this. |
Right @dra27. To repeat your list -- here with the transitive closure of revdeps:
So, below the line I only see datakit as an issue -- and am wondering whether this is an actively used project? There's not much activity on https://github.com/moby/datakit -- is this still used? |
Oops, there's maybe some more impact by
I'm unaware of the usage and impact of lilis and opam-query. They both don't have any revers dependencies, I am not sure whether they are used. |
Regarding datakit: I've not used it for several years. We've not added a commit for 6 years. I think it's ok to archive. |
|
Result is a compatibility package for OCaml versions that do not provide the Result module in the standard library (< 4.08). There's an issue with result < 1.5, namely that with OCaml compilers >= 4.08 it does lack the type equality which leads to compilation errors due to the Result.result (provided by the result package) not being compatible with the Result.t from the standard library.
Now, at several occasions there was an attempt to lower the lower bound - to avoid random packages failing in CI, and requiring the magic
conflicts: [ "result" {< "1.5"} ]
line in arbitrary opam files (see also discussions and more).Time has moved on, we're now in the happy situation (thanks to #25960 and #27100) that we're able to remove packages. This is great.
Within our archival process, soon (Feb 1st) we'll move all our
< 4.08
packages to the archive. To avoid further burden on ocaml package developers, I propose (as discussed in opam-repository maintainers meetings) to lower the lower bound of earlier result packages - so we finally can close #24263.Obviously since there has been some discussions and disapproval by @dra27 (and eventually others, asking for @avsm @kit-ty-kate opinions), my invitation is to discuss this PR - whether there are still concerns or the time is ready. From my discussions with the opam-repository maintainers, the timing is good.