Skip to content

chore: nix shell: add python314#12774

Open
fiforeach wants to merge 4 commits intoleanprover:masterfrom
fiforeach:nix-python3
Open

chore: nix shell: add python314#12774
fiforeach wants to merge 4 commits intoleanprover:masterfrom
fiforeach:nix-python3

Conversation

@fiforeach
Copy link

@fiforeach fiforeach commented Mar 3, 2026

This PR adds Python 3.14 as an input to the Nix flake.

For instance, tests/fix_expected.py requires Python >= 3.14 (pathlib.Path.copy).

This PR add Python as an input to the Nix flake.

For instance, [`tests/lint.py`](https://github.com/leanprover/lean4/blob/03a5db34c77db5266d21af56469ba43c9965d341/tests/lint.py) requires Python.
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Mar 3, 2026
@mathlib-lean-pr-testing
Copy link

mathlib-lean-pr-testing bot commented Mar 3, 2026

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 03a5db34c77db5266d21af56469ba43c9965d341 --onto cda84702e9b31165f1f83c657b532f36f34e0bd0. You can force Mathlib CI using the force-mathlib-ci label. (2026-03-03 14:41:04)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 03a5db34c77db5266d21af56469ba43c9965d341 --onto 333ab1c6f0ce11f33551d6a736054cb72812cad9. You can force Mathlib CI using the force-mathlib-ci label. (2026-03-06 10:03:39)

@leanprover-bot
Copy link
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 03a5db34c77db5266d21af56469ba43c9965d341 --onto cda84702e9b31165f1f83c657b532f36f34e0bd0. You can force reference manual CI using the force-manual-ci label. (2026-03-03 14:41:06)

The script `tests/fix_expected.py` requires Python >= 3.14.
@fiforeach fiforeach changed the title chore: nix shell: add python3 chore: nix shell: add python314 and meld Mar 6, 2026
@fiforeach
Copy link
Author

Ok, I removed Meld again since I think it is maybe not really a truly required dependency for development.

@fiforeach fiforeach changed the title chore: nix shell: add python314 and meld chore: nix shell: add python314 Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants