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

Upgrade to Melange 4.0.1-52 and OCaml 5.2.0 #59

Open
feihong opened this issue Oct 23, 2024 · 1 comment
Open

Upgrade to Melange 4.0.1-52 and OCaml 5.2.0 #59

feihong opened this issue Oct 23, 2024 · 1 comment

Comments

@feihong
Copy link
Collaborator

feihong commented Oct 23, 2024

Tried to do it in this branch but ran into this error involving styled-ppx not liking ocaml 5.2.0:

$ npm run init

> init
> opam switch create . 5.2.0 -y --deps-only && npm run install:npm-opam


<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}]
fin
[ERROR] Could not determine which packages to install for this switch:
  * No agreement on the version of ocaml:
    - (invariant) → ocaml-base-compiler = 5.2.0 → ocaml = 5.2.0
    - melange-for-react-devs → styled-ppx >= 0.59.1 → ocaml < 5.2.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) → ocaml-base-compiler = 5.2.0
    - melange-for-react-devs → styled-ppx >= 0.59.1 → ocaml < 5.2.0 → ocaml-base-compiler < 3.07+1
  * Missing dependency:
    - melange-for-react-devs → styled-ppx >= 0.59.1 → ocaml < 5.2.0 → ocaml-variants → ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - melange-for-react-devs → styled-ppx >= 0.59.1 → ocaml < 5.2.0 → ocaml-variants → system-msvc
    unmet availability conditions: 'os = "win32"'

cc @davesnx

@feihong
Copy link
Collaborator Author

feihong commented Oct 30, 2024

styled-ppx updated so that CI succeeds with OCaml 5.2: davesnx/styled-ppx#518

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

1 participant