check_arm64_deps
Scan Python dependency manifests for arm64 compatibility issues, flagging packages without arm64 wheels and recommending workarounds for smoother deployment on Arm64 servers.
Instructions
Scan a dependency manifest for known arm64 compatibility issues.
Use this tool when a user wants to know whether their Python dependencies
will install on an Arm64 server (AWS Graviton, Google Axion, Ampere Altra,
Raspberry Pi 5), or when they ask why a package fails on arm64.
Args:
file_content: Raw text of the dependency manifest.
file_type: One of "requirements.txt", "pyproject.toml", or "Dockerfile".
Returns:
{
"checked": ["numpy", "tensorflow", ...],
"issues": [
{"package": "tensorflow", "severity": "warning",
"message": "Official TensorFlow PyPI wheels are x86-only..."}
],
"summary": "Checked 5 package(s): 1 warning(s)."
}
Severity levels: "error" = no arm64 wheel at all (e.g. GPU-only packages);
"warning" = arm64 wheel exists but requires workaround;
"info" = wheel available but version constraint or system lib note applies.
Example: check_arm64_deps(content, "requirements.txt") flags cupy (error),
tensorflow (warning), and reports numpy arm64 wheel availability (info).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_type | No | requirements.txt | |
| file_content | Yes |