Add a check_arch() guard that fails fast with actionable guidance when setup runs on Apple Silicon under an Intel (x86_64) Python via Rosetta — otherwise compiled deps (bcrypt, pydantic-core, …) load as the wrong architecture and crash later with a cryptic "incompatible architecture" import error. Also catch that specific error around the bcrypt import and print rebuild steps. Rebased onto current main: the start-macos.sh venv-Python changes that were part of this branch are dropped, since they're already on main via PR #978. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
10 KiB
10 KiB