Skip to content

Quickly sandbox your AI agent.

Python

Restore the archived Windows ARM64 QEMU installer URL

Tyler Payne1dc1650e37ea
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a7484c5..c212a2e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,7 @@ Streaming command input, guest OS accounts, and more reliable mounted-file workf
- **quicksand-core:** Bundled SMB mounts use guest-local CIFS locks so `flock` and SQLite commits work. Native SMB retains server-side byte-range locking. Guest-local locks do not coordinate with host processes, other VMs, or separate mounts. (#44)
- **quicksand-build-tools v0.6.0 / quicksand-qemu v0.5.12:** Linux wheel tags reflect the actual glibc requirements of bundled ELF binaries and libraries instead of always claiming manylinux 2.17 compatibility.
- **quicksand-image-tools / quicksand-agent / quicksand-cua:** Overlay Python installers honor configured host package indexes without putting index URLs in command arguments or persisting index settings in the image.
+- **quicksand-core / quicksand-qemu:** Windows ARM64 installer downloads use the upstream year archive after the pinned installer moved out of the current-download directory.
### Released (dependency updates)
- quicksand-agent v0.4.10, quicksand-cua v0.3.12, quicksand-alpine-desktop v0.9.10, quicksand-ubuntu-desktop v0.9.10, quicksand-base-scaffold v0.3.11, and quicksand-overlay-scaffold v0.3.11. Updated dependency ranges pick up the new core, image tooling, and base images.
diff --git a/packages/quicksand-core/quicksand_core/qemu/installer.py b/packages/quicksand-core/quicksand_core/qemu/installer.py
index 9d1e9ba..6dcb958 100644
--- a/packages/quicksand-core/quicksand_core/qemu/installer.py
+++ b/packages/quicksand-core/quicksand_core/qemu/installer.py
@@ -28,7 +28,7 @@ WINDOWS_QEMU_INSTALLER = "qemu-w64-setup-20260324.exe"
WINDOWS_QEMU_URL = f"https://qemu.weilnetz.de/w64/2026/{WINDOWS_QEMU_INSTALLER}"
WINDOWS_ARM64_QEMU_INSTALLER = "qemu-arm-setup-20260401.exe"
-WINDOWS_ARM64_QEMU_URL = f"https://qemu.weilnetz.de/aarch64/{WINDOWS_ARM64_QEMU_INSTALLER}"
+WINDOWS_ARM64_QEMU_URL = f"https://qemu.weilnetz.de/aarch64/2026/{WINDOWS_ARM64_QEMU_INSTALLER}"
def install_qemu() -> None:
diff --git a/packages/quicksand-qemu/hatch_build.py b/packages/quicksand-qemu/hatch_build.py
index b1ed7df..d4fde49 100644
--- a/packages/quicksand-qemu/hatch_build.py
+++ b/packages/quicksand-qemu/hatch_build.py
@@ -855,7 +855,9 @@ class RuntimeBuildHook(BuildHookInterface):
_WINDOWS_QEMU_URL = f"https://qemu.weilnetz.de/w64/2026/{_WINDOWS_QEMU_INSTALLER}"
_WINDOWS_ARM64_QEMU_INSTALLER = "qemu-arm-setup-20260401.exe"
- _WINDOWS_ARM64_QEMU_URL = f"https://qemu.weilnetz.de/aarch64/{_WINDOWS_ARM64_QEMU_INSTALLER}"
+ _WINDOWS_ARM64_QEMU_URL = (
+ f"https://qemu.weilnetz.de/aarch64/2026/{_WINDOWS_ARM64_QEMU_INSTALLER}"
+ )
def _ensure_qemu_installed(self, qemu_name: str) -> None:
"""Install QEMU if it is not already on PATH.
diff --git a/tests/unit/test_qemu_installer.py b/tests/unit/test_qemu_installer.py
index 3d4670f..09819d5 100644
--- a/tests/unit/test_qemu_installer.py
+++ b/tests/unit/test_qemu_installer.py
@@ -2,16 +2,37 @@
from __future__ import annotations
+import runpy
+from pathlib import Path
from unittest.mock import MagicMock, patch
import pytest
from quicksand_core.host.arch import Architecture
+from quicksand_core.qemu import installer
from quicksand_core.qemu.installer import (
ensure_runtime,
install_qemu,
)
+ ("constant", "expected"),
+ [
+ ("WINDOWS_QEMU_URL", "https://qemu.weilnetz.de/w64/2026/qemu-w64-setup-20260324.exe"),
+ (
+ "WINDOWS_ARM64_QEMU_URL",
+ "https://qemu.weilnetz.de/aarch64/2026/qemu-arm-setup-20260401.exe",
+ ),
+ ],
+)
+def test_windows_installer_urls_match_archived_build_downloads(constant, expected):
+ hook_path = Path(__file__).parents[2] / "packages" / "quicksand-qemu" / "hatch_build.py"
+ hook = runpy.run_path(str(hook_path))["RuntimeBuildHook"]
+
+ assert getattr(installer, constant) == expected
+ assert getattr(hook, f"_{constant}") == expected
+
+
class TestInstallQemu:
"""Tests for install_qemu() platform dispatch."""