mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
skip lintrunner install on Windows. (#137981)
`lintrunner` is not support Windows x64. Ref: https://pypi.org/project/lintrunner/#files When we install python dependency by `pip install -r requirements.txt` on Windows x64, it will failed on `lintrunner`. <img width="887" alt="image" src="https://github.com/user-attachments/assets/e3815177-e893-41ae-96af-8b39d12f74a7"> Solution: skip install `lintrunner` on Windows. Reference doc: https://peps.python.org/pep-0508/#environment-markers Pull Request resolved: https://github.com/pytorch/pytorch/pull/137981 Approved by: https://github.com/albanD Co-authored-by: albanD <desmaison.alban@gmail.com>
This commit is contained in:
parent
35fc24fbed
commit
3ecec0c90c
|
|
@ -17,7 +17,7 @@ filelock
|
|||
networkx
|
||||
jinja2
|
||||
fsspec
|
||||
lintrunner
|
||||
lintrunner ; platform_system != "Windows"
|
||||
ninja
|
||||
packaging
|
||||
optree>=0.13.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user