Skip to content
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

Remove fstar.opam Python 2 dependency #3069

Merged

Conversation

cmovcc
Copy link
Contributor

@cmovcc cmovcc commented Oct 12, 2023

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

Antonin Reitz and others added 3 commits October 12, 2023 15:41
z3 4.8.5 depends on the package conf-python-2-7,
which "can only installs if the Python-2.7 interpreter
is available on the system"
z3 4.8.5-1 fixes this issue,
see ocaml/opam-repository#24618
@mtzguido
Copy link
Member

Thank you!

@mtzguido mtzguido merged commit 05c5627 into FStarLang:master Oct 30, 2023
2 checks passed
tahina-pro added a commit to project-everest/everparse that referenced this pull request Oct 31, 2023
tahina-pro added a commit to FStarLang/steel that referenced this pull request Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants