Skip to content

fix(swm-macos-runner): install a current python3 in the VM image - #289

Merged
smartwatermelon-agent[bot] merged 1 commit into
mainfrom
claude/fix-swm-image-python-0ff2a5bc
Nov 18, 2026
Merged

smartwatermelon-agent[bot] merged 1 commit into
mainfrom
claude/fix-swm-image-python-0ff2a5bc

Conversation

@smartwatermelon-agent

Copy link
Copy Markdown
Contributor

The Tart image now installs Homebrew python, and the build fails if python3 is older than 3.10.

The base image's python3 is the Command Line Tools 3.9. In 3.9, pty._copy is a while True loop that only drops the pty fd on EOF, so pty.spawn never returns on macOS once the child exits. In the Task 8 Step 3 live proof, the dotfiles pbrun pty test hung a bash-tests job on MIMOLETTE for over an hour. macos-latest ships a current python3.

Changing guest/ changes the image hash, so the updater rebuilds the image after merge. The dotfiles test gets its own fix in a separate PR.

Advances #252

The base image's python3 is the Command Line Tools 3.9. Its pty.spawn
copy loop is `while True` and only drops the pty fd on EOF, so on macOS
it never returns once the child exits. The dotfiles pbrun pty test hung
a bash-tests job on this runner for over an hour (Task 8 Step 3).

macos-latest ships a current python3, so the image now installs
Homebrew python and the build fails if python3 is older than 3.10.
The guest-dir hash changes, so the updater rebuilds the image.

Advances #252
@smartwatermelon-agent
smartwatermelon-agent Bot merged commit 585a510 into main Nov 18, 2026
6 checks passed
@smartwatermelon-agent
smartwatermelon-agent Bot deleted the claude/fix-swm-image-python-0ff2a5bc branch November 18, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants