From 608d76a676e1bed0975b837f1cd65ba9267ec177 Mon Sep 17 00:00:00 2001 From: Gabe M Date: Tue, 11 Aug 2026 00:26:54 -0600 Subject: [PATCH] feat: add python3 as a lazy installed too python was already added but agents like to use `python3` as well --- .github/workflows/pr-test.yml | 6 ++++++ mise-config.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 695ef27..122d100 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -73,6 +73,9 @@ jobs: test "npx works in interactive shell" \ "$IN -i -c 'source ~/.bashrc 2>/dev/null; npx --version'" + test "python3 works in interactive shell" \ + "$IN -i -c 'source ~/.bashrc 2>/dev/null; python3 --version'" + test "gh works in interactive shell" \ "$IN -i -c 'source ~/.bashrc 2>/dev/null; gh --version'" @@ -92,6 +95,9 @@ jobs: test "npx works in non-interactive shell" \ "$IN -c 'which npx && npx --version'" + test "python3 resolves from auto-install-shims" \ + "$IN -c 'which python3 | grep -q /opt/auto-install-shims/python3 && python3 --version'" + echo "=== mise use (non-interactive, via BASH_ENV fallback) ===" test "mise use go works in non-interactive shell" \ diff --git a/mise-config.toml b/mise-config.toml index 0fb7588..0667b21 100644 --- a/mise-config.toml +++ b/mise-config.toml @@ -9,7 +9,7 @@ "vim" = "latest" "github:zyedidia/micro" = "latest" "zerobrew:nano" = "latest" -"python" = "latest" +"python" = "latest" # shim:python,python3 "node" = "latest" "npm" = "latest" # shim:npm,npx "github:facebook/sapling" = "latest" # shim:sl