You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, stdcompat requires a strictly older environment than 5.2:
$ opam install stdcompat
[ERROR] Package conflict!
* No agreement on the version of ocaml:
- (invariant) → ocaml-base-compiler >= 5.2.0 → ocaml = 5.2.0
- stdcompat → ocaml < 5.2
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
$ opam show stdcompat
<><> stdcompat: information on all versions <><><><><><><><><><><><><><><><><><>
name stdcompat
all-versions 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<><> Version-specific details <><><><><><><><><><><><><><><><><><><><><><><><><>
version 19
repository default
url.src "https://github.com/thierry-martinez/stdcompat/releases/download/v19/stdcompat-19.tar.gz"
url.checksum "sha512=25582731170f2f80eed281c48af4904d1d00ef88a38d1b17853395c19a326d7b11e42c17b69f639402c467ff6f9b83a2e9d4dbab7255ac25d466b85a55674bd0"
homepage "https://github.com/thierry-martinez/stdcompat"
bug-reports "https://github.com/thierry-martinez/stdcompat/issues"
dev-repo "git+https://github.com/thierry-martinez/stdcompat.git"
authors "Thierry Martinez <[email protected]>"
maintainer "Thierry Martinez <[email protected]>"
license "BSD-2-Clause"
depends "ocaml" {>= "3.07" & < "5.2"} "dune" {>= "2.0"} "conf-autoconf"
depopts "result" "seq" "uchar" "ocamlfind"
synopsis Compatibility module for OCaml standard library
description Compatibility module for OCaml standard library allowing programs to use some recent additions to the OCaml standard library while preserving the ability to be compiled on former versions of OCaml.
Are there any blockers to changing the dependency here? Thanks
The text was updated successfully, but these errors were encountered:
Summary:
To upgrade to OCaml 5.2 we first need to override the dependency info for stdcompat (it forbids 5.2 without reason according to, e.g., ocamllibs/stdcompat#34 (comment))
This diff simply checks in the package sources under `dependencies/stdcompat` to simplify review. Subsequent diffs will use the package via pinning.
Reviewed By: jvillard
Differential Revision:
D66008056
Privacy Context Container: L1208441
fbshipit-source-id: f400f6e03b378b3d23ebf239525cb406770b7003
Currently, stdcompat requires a strictly older environment than 5.2:
Are there any blockers to changing the dependency here? Thanks
The text was updated successfully, but these errors were encountered: