-
Notifications
You must be signed in to change notification settings - Fork 98
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
Drop support for OCaml < 4.08 #556
Conversation
Not having 4.08 build in the CI is going to be a problem here. Not sure who to contact about that on the ocaml-ci side. |
Signed-off-by: Nathan Rebours <[email protected]>
Signed-off-by: Nathan Rebours <[email protected]>
I'm a bit surprised as when I run the tests locally I get the following diff:
@patricoferris could you try to build this branch locally on a 4.08 switch to see if you get the same resulsts? |
I got the same problem, but I had to jump through a lot of hoops first. It would seem dependencies we have for our benchmarks are giving us grief here: https://ocaml.ci.dev/github/ocaml-ppx/ppxlib/commit/ccfc1007f7f6bbc3482621b103bb5c990bd502f9/variant/debian-12-4.08_opam-2.3#L245-245 After I installed |
To recreate the CI success: $ opam sw create 4.08.1
$ opam pin . -yn --with-version=dev
$ opam install ppxlib ppxlib-tools
# This doesn't have the test deps
$ opam install cinaps
# No findlib apparently
$ opam install ocamlfind
$ dune runtest
No such package: base
$ dune runtest Then I went for a |
ah right so base actually is an undeclared test dependency of ours but the relevant tests fail silently when it's not installed. Thanks for your help, I'll look into it! |
Signed-off-by: Nathan Rebours <[email protected]>
Ok circling back to this. I had initially misunderstood your comments.
|
Indeed, starting from a fresh switch worked and the tests pass but as soon as I install base it fails again, even though we don't link base. |
I'm not sure how base is messing up with the exception printing here but it so specific and only relevant to one test that I don't think it's worth investigating this any further, especially since everything works perfectly well when installing our deps and test deps only. Let's merge! |
No description provided.