-
-
Notifications
You must be signed in to change notification settings - Fork 47
OCaml 5.2.0 and newer support, including OCaml 5.3.0 #210
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
base: master
Are you sure you want to change the base?
Conversation
Ocaml 5.2.0 and 5.3.0 support
|
ftr integration tests are known to fail, to be fixed, but the kernel actually works, including new OCaml 5 features (effects, domains) |
From my side, integration test notebooks work correctly when running from the Jupyter Lab (web). I do not have the proper command line setup (yet) to finish that testing. However, for the Web users there should be no problem (including ppx). I will report when I have more on this. |
|
@zhelih Could you restrict ocaml-versions in ci.yaml and other yaml files to 5.2.0 only? It seems your patch includes code supporting v4.x.x. I think they can be removed. @ygrek Thank you for reply! |
|
There is a plan to remove obsolete code in a separate PR, unless you would recommend otherwise. |
|
Thank you for the restriction of ocaml versions. The CI is failing due to Python 2 installation, but I don’t think we need to support it. It would be helpful if you could remove the following entry. Sorry again for the trouble.
Sounds good to me. I will release a new version of ocaml-jupyter after the separate PR. |
|
I see format fails, correcting. |
|
Enhanced ppx test (and all of them) to be stable. |
|
All tests pass now. |
|
Hi @zhelih, Thank you so much for completing this incredibly challenging upgrade — I really appreciate your dedication and the high quality of your work. When you have time, could you please also update the OCaml version in the following workflow files?
The gh-pages.yaml workflow automatically builds and updates the API documentation at The release.yaml workflow creates a tarball for OPAM release and generates a draft GitHub release when a new tag is pushed. Thanks again for your great work and for keeping the project in such good shape! |
Hi,
This Pull Request provides changes required to use this project with OCaml 5.2.0 and newer up to OCaml 5.3.0.
It includes ideas and changes from other PRs: #199 #207 and addresses issue #202
The reason why versions before 5.2.0 not support is due to changes in AST and function handling.
Please review and let me know if there are any questions or comments.
Thanks!