diff --git a/requirements-test-libraries.txt b/requirements-test-libraries.txt index b3f2ba587..c7d01043a 100644 --- a/requirements-test-libraries.txt +++ b/requirements-test-libraries.txt @@ -146,7 +146,8 @@ trame-xterm==0.2.1 Twisted==24.10.0 tzdata==2024.2 Unidecode==1.3.8 -vtk==9.4.0 +# vtk provides arm64 macOS binary wheels only for python >= 3.9. +vtk==9.4.0; python_version >= '3.9' or sys_platform != 'darwin' or platform_machine != 'arm64' # On macOS, weasyprint requires pango and glib installed via Homebrew; on arm64, the Homebrew is # installed in /opt/homebrew/lib and does not seem to be visible to non-Homebrew python. weasyprint==63.0; python_version >= '3.9' and (sys_platform != 'darwin' or platform_machine != 'arm64')