From 365d4b0b31962ac379b00f6745c24559affc5657 Mon Sep 17 00:00:00 2001 From: atalman Date: Fri, 1 Mar 2024 08:54:31 -0800 Subject: [PATCH 1/4] Add windows x86_64 constraint to mkl package in wheel --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7eec481813d2..d67acc2c226f 100644 --- a/setup.py +++ b/setup.py @@ -1094,7 +1094,7 @@ def main(): "fsspec", ] if IS_WINDOWS: - install_requires.append("mkl>=2021.1.1,<=2021.4.0") + install_requires.append("mkl>=2021.1.1,<=2021.4.0; platform_system == \"Windows\" and platform_machine == \"x86_64\"") # Parse the command line and check the arguments before we proceed with # building deps and setup. We need to set values so `--help` works. From 6514316d7953b38c08a86433dcb84115acca74bd Mon Sep 17 00:00:00 2001 From: atalman Date: Fri, 1 Mar 2024 08:58:32 -0800 Subject: [PATCH 2/4] apply_constraint_all_wheels --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d67acc2c226f..2974111ecae4 100644 --- a/setup.py +++ b/setup.py @@ -1092,9 +1092,8 @@ def main(): "networkx", "jinja2", "fsspec", + "mkl>=2021.1.1,<=2021.4.0; platform_system == \"Windows\" and platform_machine == \"x86_64\"", ] - if IS_WINDOWS: - install_requires.append("mkl>=2021.1.1,<=2021.4.0; platform_system == \"Windows\" and platform_machine == \"x86_64\"") # Parse the command line and check the arguments before we proceed with # building deps and setup. We need to set values so `--help` works. From e303115008a1155fa6da200305250647af7df8b0 Mon Sep 17 00:00:00 2001 From: atalman Date: Mon, 4 Mar 2024 07:47:28 -0800 Subject: [PATCH 3/4] lint --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2974111ecae4..13220e9aa276 100644 --- a/setup.py +++ b/setup.py @@ -1092,7 +1092,7 @@ def main(): "networkx", "jinja2", "fsspec", - "mkl>=2021.1.1,<=2021.4.0; platform_system == \"Windows\" and platform_machine == \"x86_64\"", + 'mkl>=2021.1.1,<=2021.4.0; platform_system == "Windows" and platform_machine == "x86_64"', ] # Parse the command line and check the arguments before we proceed with From 6b29017a1dbdb594d91da1f477605582d00172dd Mon Sep 17 00:00:00 2001 From: atalman Date: Mon, 4 Mar 2024 11:20:48 -0800 Subject: [PATCH 4/4] simplify --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 13220e9aa276..7fe5ce00698f 100644 --- a/setup.py +++ b/setup.py @@ -1092,7 +1092,7 @@ def main(): "networkx", "jinja2", "fsspec", - 'mkl>=2021.1.1,<=2021.4.0; platform_system == "Windows" and platform_machine == "x86_64"', + 'mkl>=2021.1.1,<=2021.4.0; platform_system == "Windows"', ] # Parse the command line and check the arguments before we proceed with