Skip to content

Commit

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

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

Pull Request resolved: #121014
Approved by: https://github.com/malfet
  • Loading branch information
atalman authored and pytorchmergebot committed Mar 4, 2024
1 parent 4cdc2d7 commit cb812c9
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 cb812c9

Please sign in to comment.