Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Blender: an Intel Mac gets Blender 4.5 LTS; Linux on ARM is told before anything downloads

dee005d073cd25c
diff --git a/store/agents/blender/BPY_VERSION_INTEL_MAC b/store/agents/blender/BPY_VERSION_INTEL_MAC
new file mode 100644
index 000000000..e152b49fb
--- /dev/null
+++ b/store/agents/blender/BPY_VERSION_INTEL_MAC
@@ -0,0 +1 @@
+4.5.14
diff --git a/store/agents/blender/README.md b/store/agents/blender/README.md
index 55b8cbfba..0c63f53ff 100644
--- a/store/agents/blender/README.md
+++ b/store/agents/blender/README.md
@@ -9,7 +9,7 @@ Runs on Claude Code.
- `harness.json` — engine, template, skill, toolchain, `viewer.use: autonomous/model-viewer`.
- `toolchain/setup.sh` — one venv with `bpy` (Blender as a Python module) at the pinned version
- (`BPY_VERSION`; the wheel needs Python 3.11 exactly); `harness_blender.py` gives a script the
+ (`BPY_VERSION`, or `BPY_VERSION_INTEL_MAC` — 4.5 LTS — on an Intel Mac, which Blender 5 no longer builds for; the wheel needs Python 3.11 exactly, which setup fetches through uv when the machine has none); `harness_blender.py` gives a script the
scene, camera, glTF export (names, collections, materials, camera, lights, animation and per-object
facts as extras, written atomically), renders and report, and keeps `.harness/build.json` current
while it runs; `verdict.py` judges what `out/` holds and names the glTF as the artifact.
diff --git a/store/agents/blender/toolchain/setup.sh b/store/agents/blender/toolchain/setup.sh
index 0e7c421d4..025666773 100755
--- a/store/agents/blender/toolchain/setup.sh
+++ b/store/agents/blender/toolchain/setup.sh
@@ -8,6 +8,11 @@ cd "$(dirname "$0")/.."
# shellcheck source=runtimes.sh
. toolchain/runtimes.sh
VERSION="$(cat BPY_VERSION)"
+case "$(uname -s)-$(uname -m)" in
+ # Blender 5 dropped Intel Macs; 4.5 is the LTS that still ships them, and the toolchain's tests pass on it.
+ Darwin-x86_64) VERSION="$(cat BPY_VERSION_INTEL_MAC)"; echo " an Intel Mac: bpy ${VERSION} LTS, the newest Blender built for one" ;;
+ Linux-aarch64 | Linux-arm64) echo "miss Blender publishes no bpy for Linux on ARM — this harness runs on a Mac or on x86-64 Linux"; exit 1 ;;
+esac
harness_venv .venv 3.11 3.11 3.12 || exit 1
echo " installing bpy ${VERSION} (Blender as a module, ~300 MB, a few minutes the first time)"
harness_pip .venv "bpy==${VERSION}" numpy imageio-ffmpeg
diff --git a/store/agents/blender/toolchain/test_scripts.py b/store/agents/blender/toolchain/test_scripts.py
index a44f663ec..9c91a0c06 100644
--- a/store/agents/blender/toolchain/test_scripts.py
+++ b/store/agents/blender/toolchain/test_scripts.py
@@ -44,6 +44,7 @@ class Sandbox:
for name in COREUTILS:
real = next(p for p in (Path("/bin") / name, Path("/usr/bin") / name) if p.exists())
(self.bin / name).symlink_to(real)
+ self.platform("Darwin", "arm64")
def stub(self, name: str, body: str = "", where: Path | None = None) -> Path:
path = (where or self.bin) / name
@@ -53,6 +54,13 @@ class Sandbox:
path.chmod(0o755)
return path
+ def platform(self, system: str, machine: str) -> None:
+ """uname, unlogged: which machine setup believes it is on."""
+ path = self.bin / "uname"
+ path.unlink(missing_ok=True)
+ path.write_text(f'#!/bin/bash\ncase "$1" in -s) echo {system} ;; -m) echo {machine} ;; esac\n')
+ path.chmod(0o755)
+
def uv(self) -> Path:
"""uv on PATH: `uv venv … DIR` makes a venv of stubs; `uv pip install` answers PIP_EXIT."""
venv_python = self.stub("python", VENV_PYTHON, where=self.root / "templates")
@@ -146,13 +154,34 @@ class Setup(unittest.TestCase):
def test_no_uv_and_no_network_is_a_miss(self):
box = Sandbox(self)
- box.stub("uname", 'case "$1" in -s) echo Darwin ;; -m) echo arm64 ;; esac')
box.stub("curl", "exit 6")
r = box.run("setup.sh", ADAPTER_RUNTIME_DIR=str(box.root / "runtime"))
self.assertEqual(r.returncode, 1)
self.assertEqual(r.stdout.splitlines()[-1], "miss could not download https://github.com/astral-sh/uv/releases/download/"
"0.12.15/uv-aarch64-apple-darwin.tar.gz — check this machine's internet connection")
+ def test_an_intel_mac_gets_the_lts_that_still_builds_for_it(self):
+ box = Sandbox(self)
+ shutil.copy(PACKAGE / "BPY_VERSION_INTEL_MAC", box.install / "BPY_VERSION_INTEL_MAC")
+ intel = (PACKAGE / "BPY_VERSION_INTEL_MAC").read_text().strip()
+ box.platform("Darwin", "x86_64")
+ box.uv()
+ r = box.run("setup.sh")
+ self.assertEqual(r.returncode, 0, r.stderr)
+ self.assertEqual(r.stdout.splitlines()[0], f" an Intel Mac: bpy {intel} LTS, the newest Blender built for one")
+ self.assertIn(f"uv pip install --quiet --python .venv/bin/python bpy=={intel} numpy imageio-ffmpeg", box.logged())
+
+ def test_linux_on_arm_is_a_miss_before_anything_downloads(self):
+ for machine in ("aarch64", "arm64"):
+ with self.subTest(machine=machine):
+ box = Sandbox(self)
+ box.platform("Linux", machine)
+ box.uv()
+ r = box.run("setup.sh")
+ self.assertEqual((r.returncode, r.stdout.splitlines()), (1, [
+ "miss Blender publishes no bpy for Linux on ARM — this harness runs on a Mac or on x86-64 Linux"]))
+ self.assertEqual(box.logged(), [])
+
def test_a_failed_install_stops_setup(self):
box = Sandbox(self)
box.uv()