diff --git a/pyproject.toml b/pyproject.toml index 5f674474..d552daa9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,17 @@ [build-system] requires = [ "cmake>=3.1", + "numpy==1.13.3; python_version=='3.6' and platform_machine != 'aarch64' and platform_machine != 'arm64'", + "numpy==1.17.0; python_version=='3.7' and platform_machine != 'aarch64' and platform_machine != 'arm64'", + "numpy==1.17.3; python_version=='3.8' and platform_machine != 'aarch64' and platform_machine != 'arm64'", + "numpy==1.19.3; python_version<='3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'", + "numpy==1.21.0; python_version<='3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'", + "numpy==1.19.3; python_version=='3.9' and platform_machine != 'aarch64' and platform_machine != 'arm64'", + "numpy==1.21.2; python_version=='3.10' and platform_system!='Darwin'", + "numpy==1.21.4; python_version=='3.10' and platform_system=='Darwin'", + "numpy==1.22.0; python_version>='3.11'", "pip", "scikit-build>=0.14.0", "setuptools==59.2.0", - "oldest-supported-numpy", ] -build-backend = "setuptools.build_meta" \ No newline at end of file +build-backend = "setuptools.build_meta"