-
Notifications
You must be signed in to change notification settings - Fork 928
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer compatible to incompatible distributions when packages exist o…
…n multiple indexes (#8961) ## Summary At time of writing, `markupsafe==3.0.2` exists on the PyTorch index, but there's only a single wheel: `MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl` Meanwhile, there are a large number of wheels on PyPI for the same version. If the user is on Python 3.12, and we return the incompatible PyTorch wheel without considering the PyPI wheels, PubGrub will mark 3.0.2 as an incompatible version, even though there are compatible wheels on PyPI. Closes #8922.
- Loading branch information
1 parent
0b15684
commit d4cfb0b
Showing
2 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters