From 401b5f8f2dee593f9796f1f8f5d1db2ec70a9d21 Mon Sep 17 00:00:00 2001 From: Jonathan Peirce Date: Fri, 26 Jul 2024 13:07:34 +0100 Subject: [PATCH] PKG: exclude psychtoolbox on arm64 chips It does now install a wheel but then fails to load with ``` File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/psychtoolbox/__init__.py", line 31, in from .PsychPortAudio import PsychPortAudio ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/psychtoolbox/PsychPortAudio.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_PaMacCore_GetBufferSizeRange' ``` --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 712bf5753a..f9a984b09d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ dependencies = [ "soundfile", "imageio", "imageio-ffmpeg", - "psychtoolbox", + "psychtoolbox; platform_machine!='arm64'", # for iohub "pywinhook; platform_system == \"Windows\"", "gevent",