-
-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update python documentation (#4260)
- Update python documentation. - Indicate how one might use it with `uv` in the cookbook (at least according to my understanding and after experimenting a bit with it) - Re-order the sections in the python page with the section about `uv`, `.python-version` and virtual env first - Update the `mise` json schema to match the documentation (and observed behavior) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a8ea4f3
commit 3156d3c
Showing
6 changed files
with
186 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,14 @@ | |
export MISE_PYTHON_COMPILE=0 | ||
assert_contains "mise use [email protected] 2>&1" "cpython-" | ||
assert_contains "mise x -- python --version" "Python 3.12.3" | ||
|
||
rm mise.toml | ||
mise rm [email protected] | ||
|
||
echo '3.12.3' >.python-version | ||
assert_contains "mise i 2>&1" "mise [email protected]" | ||
assert_contains "mise x -- python --version" "Python 3.12.3" | ||
|
||
mise settings idiomatic_version_file_disable_tools python | ||
mise use [email protected] | ||
assert_contains "mise x -- python --version" "Python 3.13" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters