deepseek-ai/deepseek-harness · error · RuntimeError
runtime wheel {platform_tag} payload must be {expected_files
Error message
runtime wheel {platform_tag} payload must be {expected_files}; found {found_files} What it means
Error "runtime wheel {platform_tag} payload must be {expected_files}; found {found_files}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at python/sdk-runtime/hatch_build.py:75
"deepseek-harness-runtime-bin is wheel-only; build and publish platform wheels only."
)
platform_tag = os.environ.get("DSH_RUNTIME_PLATFORM_TAG") or _host_platform_tag()
matches = [value for value in _PLATFORMS.values() if value[0] == platform_tag]
if len(matches) != 1:
supported = ", ".join(value[0] for value in _PLATFORMS.values())
raise RuntimeError(
f"unsupported DSH_RUNTIME_PLATFORM_TAG {platform_tag!r}; expected one of {supported}"
)
expected_executable = matches[0][1]
runtime_dir = Path(self.root) / "src" / "deepseek_harness_runtime" / "runtime"
runtime_files = sorted(runtime_dir.glob("dsh-jsonrpc-agent-pkg-*") if runtime_dir.is_dir() else [])
expected_files = [expected_executable, f"{expected_executable}-rg"]
if "-macos-" in expected_executable:
expected_files.append(f"{expected_executable}-spawn-helper")
found_files = [path.name for path in runtime_files]
if found_files != expected_files:
raise RuntimeError(
f"runtime wheel {platform_tag} payload must be {expected_files}; found {found_files}"
)
for executable in runtime_files:
if executable.stat().st_mode & stat.S_IXUSR == 0:
raise RuntimeError(f"runtime executable is not executable: {executable}")
build_data["pure_python"] = False
build_data["infer_tag"] = False
build_data["tag"] = f"py3-none-{platform_tag}"
View on GitHub (pinned to b150a551b8)
Solutions
- Adjust the wheel payload so it contains exactly the expected files for the platform tag.
When it happens
Trigger: Thrown at python/sdk-runtime/hatch_build.py:75 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/0c3709736bf86bd8.
Report an issue: GitHub.