Skip to content

Bug: Cannot make install or test on arm/mac books for local development #813

Description

@terry-docker

Describe the bug

Currently people cannot contribute to the project if their machine is arm architecture, this common case now that the latest Macbooks have switched to arm with the M series. Specifically the install issue looks to be caused by the module ibm_db_sa which depends on ibm-db, it looks like a newer version of ibm-db does support arm but ibm_db_sa is still depending on an older version. Ideally a community module shouldn't be a blocker for devs with Macs.

To Reproduce

make install

makeinstallpoetryinstall--all-extrasInstallingdependenciesfromlockfilePackageoperations: 0installs, 1update, 0removals-Downgradingibm-db (3.2.6->3.2.3): FailedPEP517buildofadependencyfailedBackendsubprocessexitedwhentryingtoinvokeget_requires_for_build_wheel|Command'['/var/folders/4_/6rf7v_dx0d71c8tkrkvp706m0000gp/T/tmp8veh5_wt/.venv/bin/python', '/Users/terry/.local/pipx/venvs/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py', 'get_requires_for_build_wheel', '/var/folders/4_/6rf7v_dx0d71c8tkrkvp706m0000gp/T/tmp7vhnwdaj']'returnednon-zeroexitstatus1.||Detected64-bitPython|Arm64architectureisnotsupported. Pleaseinstallintel-only (x64) versionofpythonandtheninstallibm_db.
Note: Thiserrororiginatesfromthebuildbackend, andislikelynotaproblemwithpoetrybutoneofthefollowingissueswithibm-db (3.2.3)
-notsupportingPEP517builds-notspecifyingPEP517buildrequirementscorrectly-thebuildrequirementsareincompatiblewithyouroperatingsystemorPythonversion-thebuildrequirementsaremissingsystemdependencies (eg: compilers, libraries, headers).
Youcanverifythisbyrunningpipwheel--no-cache-dir--use-pep517"ibm-db (==3.2.3)".
make: *** [install] Error1

Runtime environment

Darwin MacBook-Pro.local 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:39 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6020 arm64
Python 3.13.2
Client:
Version: 28.1.1
Context: desktop-linux
Debug Mode: false
Plugins:
ai: Docker AI Agent - Ask Gordon (Docker Inc.)
Version: v1.1.7
Path: /Users/terry/.docker/cli-plugins/docker-ai
buildx: Docker Buildx (Docker Inc.)
Version: v0.22.0-desktop.1
Path: /Users/terry/.pinata/downloads/docker-plugins/v0.22.0-desktop.1/docker-buildx
cloud: Docker Cloud (Docker Inc.)
Version: v0.3.0
Path: /Users/terry/.docker/cli-plugins/docker-cloud
compose: Docker Compose (Docker Inc.)
Version: v2.35.1-desktop.1
Path: /Users/terry/.docker/cli-plugins/docker-compose
debug: Get a shell into any image or container (Docker Inc.)
Version: 0.0.38
Path: /Users/terry/.docker/cli-plugins/docker-debug
desktop: Docker Desktop commands (Docker Inc.)
Version: v0.1.7
Path: /Users/terry/.docker/cli-plugins/docker-desktop
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
Path: /Users/terry/.docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.27
Path: /Users/terry/.docker/cli-plugins/docker-extension
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.4.0
Path: /Users/terry/.docker/cli-plugins/docker-init
mcp: Docker MCP Plugin (Docker Inc.)
Version: dev
Path: /Users/terry/.docker/cli-plugins/docker-mcp
model: Docker Model Runner (Docker Inc.)
Version: v0.1.11
Path: /Users/terry/.docker/cli-plugins/docker-model
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /Users/terry/.docker/cli-plugins/docker-sbom
scout: Docker Scout (Docker Inc.)
Version: v1.17.1
Path: /Users/terry/.docker/cli-plugins/docker-scout
Server:
Containers: 33
Running: 5
Paused: 0
Stopped: 28
Images: 85
Server Version: 28.1.1
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
CDI spec directories:
/etc/cdi
/var/run/cdi
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da
runc version: v1.2.5-0-g59923ef
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
cgroupns
Kernel Version: 6.10.14-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: aarch64
CPUs: 12
Total Memory: 7.653GiB
Name: docker-desktop
ID: 212fb011-8ec2-4508-9272-ecae3d5f80c8
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Labels:
com.docker.desktop.address=unix:///Users/terry/Library/Containers/com.docker.docker/Data/docker-cli.sock
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
::1/128
127.0.0.0/8
Live Restore Enabled: false
execnet==2.1.1
iniconfig==2.1.0
packaging==25.0
pluggy==1.5.0
pytest==8.3.5
pytest-xdist==3.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions