Skip to content
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

stdcompat not installable on 5.2 opam switch #34

Open
ngorogiannis opened this issue Jul 1, 2024 · 1 comment
Open

stdcompat not installable on 5.2 opam switch #34

ngorogiannis opened this issue Jul 1, 2024 · 1 comment

Comments

@ngorogiannis
Copy link

ngorogiannis commented Jul 1, 2024

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

@mathiasbourgoin
Copy link

mathiasbourgoin commented Oct 17, 2024

Yes, I second that. stdcompat builds and runs fine with OCaml 5.2 (in our tests).
Is there any reason not to make a new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants