From 68197fb9beb65cf3abdb03f71d7c7a4b8ae36473 Mon Sep 17 00:00:00 2001 From: Filip Komarzyniec Date: Sat, 15 Jun 2024 14:46:20 +0200 Subject: [PATCH] fixed conditions regarding oldest numpy installation on arm64 Windows machines --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dba0603d0f..5159e5dc93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,10 @@ requires = [ # order of magnitude slower, so avoid it for now. # "Cython>=0.29.32,<3.0.0", - # oldest supported Numpy for this platform is 1.17 but the oldest supported by Gensim - # is 1.18.5, remove the line when they increase oldest supported Numpy for this platform - "numpy==1.18.5; python_version=='3.8' and platform_machine not in 'arm64|aarch64'", + # oldest supported Numpy for non-'arm64|aarch64' architectures is 1.17.* + # as well as for 'Windows' on arm64. The oldest supported Numpy by Gensim + # is 1.18.5. Remove below line when they increase the oldest supported Numpy for those platforms + "numpy==1.18.5; python_version=='3.8' and platform_machine != 'aarch64' and (platform_machine != 'arm64' or platform_system == 'Windows')", "oldest-supported-numpy; python_version>'3.8' or platform_machine in 'arm64|aarch64'", "setuptools", "wheel",