Open thomas-lamiaux opened 4 months ago
I see. Let me check if z3 (not ocaml-z3) itself works well on Python 3.12 otherwises we can probably require a Python prior to 3.12.
I found the z3.4.13.0 on homebrew at macos just works fine with Python 3.12. I also tried it on my mac and it obviously has no distutils
.
I guess distutils
is not necessary for z3 itself on other distros, so it should be safely to remove it. Let me try making a new z3 opamfile and test it on my ubuntu box later.
I don't think distutil
is really used in z3 anymore (asking for confirmation with this issue https://github.com/Z3Prover/z3/issues/7228). Let me just make a new opam by removing this.
I tried to install z3 with opam on ubuntu 24.04, which fails with the following error message
It seems that z3 relies on the dependency distutils that is no longer available by default in Python 3.12 and above, as in ubuntu 24.04. Consequently preventing the automatic installation of z3 by opam.
(I was asked to report this issue after discussions on the coq zulip)