From 7e554b2ba2ea6fb09ea667205f0759ef7b88fce9 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Mon, 11 Aug 2025 15:39:28 -0700 Subject: [PATCH] fix: restrict MLX dependencies to ARM64 Macs in workspace pyproject.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Root pyproject.toml also had MLX dependencies without platform_machine restriction - This caused test dependency installation to fail on Intel Macs - Now consistent with packages/leann-core/pyproject.toml platform restrictions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 962118d..7992b42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,8 +40,8 @@ dependencies = [ # Other dependencies "ipykernel==6.29.5", "msgpack>=1.1.1", - "mlx>=0.26.3; sys_platform == 'darwin'", - "mlx-lm>=0.26.0; sys_platform == 'darwin'", + "mlx>=0.26.3; sys_platform == 'darwin' and platform_machine == 'arm64'", + "mlx-lm>=0.26.0; sys_platform == 'darwin' and platform_machine == 'arm64'", "psutil>=5.8.0", "pathspec>=0.12.1", "nbconvert>=7.16.6",