Skip to content

Commit

Permalink
Add windows constraint to mkl package in wheel (pytorch#121014)
Browse files Browse the repository at this point in the history
Follow up on: pytorch#102604
Address this comment: pytorch#102604 (comment)

Whl metadata for all wheels published to pypi must match, otherwise poetry install will fail see this comment:
pytorch#88049 (comment)

Pull Request resolved: pytorch#121014
Approved by: https://github.com/malfet
  • Loading branch information
atalman authored and Lourencom committed Mar 6, 2024
1 parent 684e0e6 commit c0ce69e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -1095,9 +1095,8 @@ def main():
"networkx",
"jinja2",
"fsspec",
'mkl>=2021.1.1,<=2021.4.0; platform_system == "Windows"',
]
if IS_WINDOWS:
install_requires.append("mkl>=2021.1.1,<=2021.4.0")

# Parse the command line and check the arguments before we proceed with
# building deps and setup. We need to set values so `--help` works.
Expand Down

0 comments on commit c0ce69e

Please sign in to comment.