lean-interact 0.6.3__tar.gz → 0.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. {lean_interact-0.6.3 → lean_interact-0.7.0}/.github/workflows/update-changelog.yml +1 -1
  2. {lean_interact-0.6.3 → lean_interact-0.7.0}/PKG-INFO +2 -2
  3. {lean_interact-0.6.3 → lean_interact-0.7.0}/README.md +1 -1
  4. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/changelog.md +8 -0
  5. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/index.md +1 -1
  6. {lean_interact-0.6.3 → lean_interact-0.7.0}/pyproject.toml +1 -1
  7. {lean_interact-0.6.3 → lean_interact-0.7.0}/src/lean_interact/config.py +341 -116
  8. {lean_interact-0.6.3 → lean_interact-0.7.0}/src/lean_interact/interface.py +239 -2
  9. {lean_interact-0.6.3 → lean_interact-0.7.0}/src/lean_interact/server.py +14 -0
  10. {lean_interact-0.6.3 → lean_interact-0.7.0}/src/lean_interact/utils.py +146 -1
  11. lean_interact-0.7.0/tests/test_git_functionality.py +272 -0
  12. {lean_interact-0.6.3 → lean_interact-0.7.0}/tests/test_server.py +40 -0
  13. {lean_interact-0.6.3 → lean_interact-0.7.0}/uv.lock +1 -1
  14. {lean_interact-0.6.3 → lean_interact-0.7.0}/.devcontainer/devcontainer.json +0 -0
  15. {lean_interact-0.6.3 → lean_interact-0.7.0}/.github/workflows/ci.yml +0 -0
  16. {lean_interact-0.6.3 → lean_interact-0.7.0}/.github/workflows/docs.yml +0 -0
  17. {lean_interact-0.6.3 → lean_interact-0.7.0}/.github/workflows/publish-to-pypi.yml +0 -0
  18. {lean_interact-0.6.3 → lean_interact-0.7.0}/.gitignore +0 -0
  19. {lean_interact-0.6.3 → lean_interact-0.7.0}/LICENSE +0 -0
  20. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/.nojekyll +0 -0
  21. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/api/config.md +0 -0
  22. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/api/interface.md +0 -0
  23. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/api/server.md +0 -0
  24. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/api/sessioncache.md +0 -0
  25. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/api/utils.md +0 -0
  26. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/contributing.md +0 -0
  27. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/examples.md +0 -0
  28. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/installation.md +0 -0
  29. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/troubleshooting.md +0 -0
  30. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/update_changelog.py +0 -0
  31. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/user-guide/basic-usage.md +0 -0
  32. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/user-guide/custom-lean-configuration.md +0 -0
  33. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/user-guide/getting-started.md +0 -0
  34. {lean_interact-0.6.3 → lean_interact-0.7.0}/docs/user-guide/tactic-mode.md +0 -0
  35. {lean_interact-0.6.3 → lean_interact-0.7.0}/examples/beq_plus.py +0 -0
  36. {lean_interact-0.6.3 → lean_interact-0.7.0}/examples/proof_generation_and_autoformalization.py +0 -0
  37. {lean_interact-0.6.3 → lean_interact-0.7.0}/examples/type_check.py +0 -0
  38. {lean_interact-0.6.3 → lean_interact-0.7.0}/mkdocs.yml +0 -0
  39. {lean_interact-0.6.3 → lean_interact-0.7.0}/src/lean_interact/__init__.py +0 -0
  40. {lean_interact-0.6.3 → lean_interact-0.7.0}/src/lean_interact/sessioncache.py +0 -0
  41. {lean_interact-0.6.3 → lean_interact-0.7.0}/tests/test_concurrency.py +0 -0
  42. {lean_interact-0.6.3 → lean_interact-0.7.0}/tests/test_utils.py +0 -0
@@ -35,4 +35,4 @@ jobs:
35
35
  git config --local user.name "GitHub Action"
36
36
  git add docs/changelog.md
37
37
  git commit -m "Update changelog with ${{ github.event.release.tag_name }} release notes"
38
- git push origin ${GITHUB_REF_NAME}
38
+ git push origin main
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lean-interact
3
- Version: 0.6.3
3
+ Version: 0.7.0
4
4
  Summary: LeanInteract is a Python package that allows you to interact with the Lean theorem prover.
5
5
  Author-email: Auguste Poiroux <auguste.poiroux@epfl.ch>
6
6
  License: MIT License
@@ -51,7 +51,7 @@ Description-Content-Type: text/markdown
51
51
  - **🔗 Interactivity**: Execute Lean code and files directly from Python.
52
52
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction.
53
53
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems.
54
- - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.22.0-rc2`.
54
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.22.0-rc3`.
55
55
  - We backport the latest features of Lean REPL to older versions of Lean (see [fork](https://github.com/augustepoiroux/repl)).
56
56
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments.
57
57
  - Useful for experimenting with benchmarks depending on [Mathlib](https://github.com/leanprover-community/mathlib4) like [ProofNet#](https://huggingface.co/datasets/PAug/ProofNetSharp) and [MiniF2F](https://github.com/yangky11/miniF2F-lean4).
@@ -13,7 +13,7 @@
13
13
  - **🔗 Interactivity**: Execute Lean code and files directly from Python.
14
14
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction.
15
15
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems.
16
- - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.22.0-rc2`.
16
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.22.0-rc3`.
17
17
  - We backport the latest features of Lean REPL to older versions of Lean (see [fork](https://github.com/augustepoiroux/repl)).
18
18
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments.
19
19
  - Useful for experimenting with benchmarks depending on [Mathlib](https://github.com/leanprover-community/mathlib4) like [ProofNet#](https://huggingface.co/datasets/PAug/ProofNetSharp) and [MiniF2F](https://github.com/yangky11/miniF2F-lean4).
@@ -2,6 +2,14 @@
2
2
 
3
3
  This page documents the notable changes to LeanInteract.
4
4
 
5
+ ## v0.6.3 (July 01, 2025)
6
+
7
+ ## What's Changed
8
+
9
+ - Add support for Lean v4.22.0-rc1 and v4.22.0-rc2
10
+
11
+ **Full Changelog**: <https://github.com/augustepoiroux/LeanInteract/compare/v0.6.2...v0.6.3>
12
+
5
13
  ## v0.6.2 (June 30, 2025)
6
14
 
7
15
  ## What's Changed
@@ -12,7 +12,7 @@
12
12
  - **🔗 Interactivity**: Execute Lean code and files directly from Python
13
13
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction
14
14
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems
15
- - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.22.0-rc2`
15
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.7.0-rc1` and `v4.22.0-rc3`
16
16
  - We backport the latest features of Lean REPL to older versions of Lean (see [fork](https://github.com/augustepoiroux/repl)).
17
17
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments
18
18
  - Useful for experimenting with benchmarks depending on [Mathlib](https://github.com/leanprover-community/mathlib4) like [ProofNet#](https://huggingface.co/datasets/PAug/ProofNetSharp) and [MiniF2F](https://github.com/yangky11/miniF2F-lean4)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lean-interact"
3
- version = "0.6.3"
3
+ version = "0.7.0"
4
4
  description = "LeanInteract is a Python package that allows you to interact with the Lean theorem prover."
5
5
  keywords = ["Lean", "theorem proving", "autoformalization", "REPL"]
6
6
  license = { file = "LICENSE" }