Remove fstar.opam Python 2 dependency #3069
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.
The z3 4.8.5 opam package depends on the opam package conf-python-2-7, which "can only installs if the Python-2.7 interpreter is available on the system", see https://opam.ocaml.org/packages/conf-python-2-7. Thus, installing F* dependencies, including z3, using opam, requires Python 2. Python 2, being EOL'd since 2020, is disappearing from distributions repositories, e.g. it is not a Debian stable package anymore. As a consequence, it is quite impractical to require it when building all dependencies from source and not using the prebuilt binaries.
z3 4.8.5-1 fixes this issue, see ocaml/opam-repository#24618.
Disclaimer: I only tested this on x86_64-linux.
cc @R1kM @msprotz