build: update pinned package versions #622
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Several versions of packages mentioned in the lockfiles before this commit do not exist on opam anymore. This causes a build failure on a fresh clone of this repo in docker, which uses the package versions pinned in the lockfiles.
To find these package versions, I simply deleted the lockfiles, installed all dependencies in a fresh OCaml 5.1.1 switch, and used
opam lock. This process resulted in version 5.9.1 forjs_of_ocaml{,-toplevel,-compiler,...} on which Learn-OCaml's toplevel fails to initialize, making the webapp unusable. I then manually lowered the pinned version of js_of_ocaml back to the previously pinned version, 5.8.2.
Description
Fresh clone of learn-ocaml fails to build in docker due to bogus pinned package versions, which no longer exist in opam.
Checklist
Note to maintainers
Close #…if a related issue exists.