Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Nits
  • Loading branch information
erik-bershel committed Oct 10, 2025
commit 93f6983715c0e3ea0ac4ecc690be3f33c2bfab19
7 changes: 3 additions & 4 deletions images/macos/scripts/build/install-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,18 @@ echo "Installing Python Tooling"
close_finder_window

# Installing latest Homebrew Python 3 to handle python3 and pip3 symlinks
# When latest Python3 is installed as a dependencies for other packages
# When latest Python3 is installed as a dependency for other packages
# it does not create /usr/local/bin/python3 and /usr/local/bin/pip3
echo "Brew Installing default Python 3"
brew_smart_install "python"

# Install specific Python version
# Create symlinks for python3 and pip3 to point to the specific version
# Update symlinks for python3 and pip3 to point to the specific version
toolsetVersion=$(get_toolset_value '.python.default')
echo "Installing Python $toolsetVersion"
brew_smart_install "python@$toolsetVersion"
brew link python@$toolsetVersion --force --overwrite

# Pipx has it's own Python dependency
# Pipx has its own Python dependency
echo "Installing pipx"

if is_Arm64; then
Expand Down