lean-interact 0.11.2__tar.gz → 0.11.4__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 (52) hide show
  1. {lean_interact-0.11.2 → lean_interact-0.11.4}/PKG-INFO +2 -2
  2. {lean_interact-0.11.2 → lean_interact-0.11.4}/README.md +1 -1
  3. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/index.md +1 -1
  4. {lean_interact-0.11.2 → lean_interact-0.11.4}/pyproject.toml +1 -1
  5. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/utils.py +1 -1
  6. {lean_interact-0.11.2 → lean_interact-0.11.4}/tests/test_server.py +5 -1
  7. {lean_interact-0.11.2 → lean_interact-0.11.4}/.devcontainer/devcontainer.json +0 -0
  8. {lean_interact-0.11.2 → lean_interact-0.11.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  9. {lean_interact-0.11.2 → lean_interact-0.11.4}/.github/copilot-instructions.md +0 -0
  10. {lean_interact-0.11.2 → lean_interact-0.11.4}/.github/workflows/ci.yml +0 -0
  11. {lean_interact-0.11.2 → lean_interact-0.11.4}/.github/workflows/docs.yml +0 -0
  12. {lean_interact-0.11.2 → lean_interact-0.11.4}/.github/workflows/publish-to-pypi.yml +0 -0
  13. {lean_interact-0.11.2 → lean_interact-0.11.4}/.gitignore +0 -0
  14. {lean_interact-0.11.2 → lean_interact-0.11.4}/LICENSE +0 -0
  15. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/.nojekyll +0 -0
  16. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/api/config.md +0 -0
  17. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/api/interface.md +0 -0
  18. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/api/pool.md +0 -0
  19. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/api/project.md +0 -0
  20. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/api/server.md +0 -0
  21. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/api/sessioncache.md +0 -0
  22. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/api/utils.md +0 -0
  23. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/contributing.md +0 -0
  24. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/generate_changelog.py +0 -0
  25. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/theme/main.html +0 -0
  26. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/basic-usage.md +0 -0
  27. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/custom-lean-configuration.md +0 -0
  28. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/data-extraction.md +0 -0
  29. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/examples.md +0 -0
  30. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/getting-started.md +0 -0
  31. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/installation.md +0 -0
  32. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/performance.md +0 -0
  33. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/set-options.md +0 -0
  34. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/tactic-mode.md +0 -0
  35. {lean_interact-0.11.2 → lean_interact-0.11.4}/docs/user-guide/troubleshooting.md +0 -0
  36. {lean_interact-0.11.2 → lean_interact-0.11.4}/examples/beq_plus.py +0 -0
  37. {lean_interact-0.11.2 → lean_interact-0.11.4}/examples/extract_mathlib_decls.py +0 -0
  38. {lean_interact-0.11.2 → lean_interact-0.11.4}/examples/parallelization.py +0 -0
  39. {lean_interact-0.11.2 → lean_interact-0.11.4}/examples/proof_generation_and_autoformalization.py +0 -0
  40. {lean_interact-0.11.2 → lean_interact-0.11.4}/examples/type_check.py +0 -0
  41. {lean_interact-0.11.2 → lean_interact-0.11.4}/mkdocs.yml +0 -0
  42. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/__init__.py +0 -0
  43. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/config.py +0 -0
  44. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/interface.py +0 -0
  45. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/pool.py +0 -0
  46. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/project.py +0 -0
  47. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/py.typed +0 -0
  48. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/server.py +0 -0
  49. {lean_interact-0.11.2 → lean_interact-0.11.4}/src/lean_interact/sessioncache.py +0 -0
  50. {lean_interact-0.11.2 → lean_interact-0.11.4}/tests/test_concurrency.py +0 -0
  51. {lean_interact-0.11.2 → lean_interact-0.11.4}/tests/test_git_functionality.py +0 -0
  52. {lean_interact-0.11.2 → lean_interact-0.11.4}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lean-interact
3
- Version: 0.11.2
3
+ Version: 0.11.4
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
@@ -54,7 +54,7 @@ Check the [documentation](https://augustepoiroux.github.io/LeanInteract/) for de
54
54
  - **🔗 Interactivity**: Execute Lean code and files directly from Python.
55
55
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction.
56
56
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems.
57
- - **🔧 Compatibility**: Supports all Lean versions between `v4.8.0-rc1` and `v4.30.0-rc1`.
57
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.8.0-rc1` and `v4.31.0-rc1`.
58
58
  - We backport the latest features of Lean REPL to older versions of Lean (see [fork](https://github.com/augustepoiroux/repl)).
59
59
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments.
60
60
  - 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).
@@ -15,7 +15,7 @@ Check the [documentation](https://augustepoiroux.github.io/LeanInteract/) for de
15
15
  - **🔗 Interactivity**: Execute Lean code and files directly from Python.
16
16
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction.
17
17
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems.
18
- - **🔧 Compatibility**: Supports all Lean versions between `v4.8.0-rc1` and `v4.30.0-rc1`.
18
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.8.0-rc1` and `v4.31.0-rc1`.
19
19
  - We backport the latest features of Lean REPL to older versions of Lean (see [fork](https://github.com/augustepoiroux/repl)).
20
20
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments.
21
21
  - 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).
@@ -17,7 +17,7 @@ hide:
17
17
  - **🔗 Interactivity**: Execute Lean code and files directly from Python
18
18
  - **🚀 Ease of Use**: LeanInteract abstracts the complexities of Lean setup and interaction
19
19
  - **💻 Cross-platform**: Works on Windows, macOS, and Linux operating systems
20
- - **🔧 Compatibility**: Supports all Lean versions between `v4.8.0-rc1` and `v4.30.0-rc1`
20
+ - **🔧 Compatibility**: Supports all Lean versions between `v4.8.0-rc1` and `v4.31.0-rc1`
21
21
  - We backport the latest features of Lean REPL to older versions of Lean (see [fork](https://github.com/augustepoiroux/repl)).
22
22
  - **📦 Temporary Projects**: Easily instantiate temporary Lean environments
23
23
  - 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.11.2"
3
+ version = "0.11.4"
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" }
@@ -22,7 +22,7 @@ logger.addHandler(handler)
22
22
  ROOT_DIR = Path(__file__).resolve().parent
23
23
  DEFAULT_CACHE_DIR = ROOT_DIR / "cache"
24
24
  DEFAULT_REPL_GIT_URL = "https://github.com/augustepoiroux/repl"
25
- DEFAULT_REPL_VERSION = "v1.3.15"
25
+ DEFAULT_REPL_VERSION = "v1.3.17"
26
26
 
27
27
  os.makedirs(DEFAULT_CACHE_DIR, exist_ok=True)
28
28
 
@@ -801,7 +801,11 @@ lean_exe "dummy" where
801
801
  Message(
802
802
  end_pos=Pos(column=15, line=2),
803
803
  severity="warning",
804
- data="unused variable `h`\n\nNote: This linter can be disabled with `set_option linter.unusedVariables false`",
804
+ data=(
805
+ "Variable name `h` is not explicitly referenced.\n\n"
806
+ "The binding can be removed (if unused) or named `_` (if used implicitly).\n\n"
807
+ "Note: This linter can be disabled with `set_option linter.unusedVariables false`"
808
+ ),
805
809
  start_pos=Pos(column=14, line=2),
806
810
  )
807
811
  ],
File without changes