-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[workspace] Avoid crashes in python repository rule (#20562)
Our intent is that users can BYO Python interpreter. However, the dict access into _VERSION_SUPPORT_MATRIX would crash when not running on a supported platform, even if the user had specified a valid interpreter in the rule attribute. We support enough different Python versions and platforms now (e.g., wheel builds) that trying to keep this warning up-to-date is no longer worth it, so remove it and simplify the nearby code.
- Loading branch information
1 parent
fd7040c
commit aca07bb
Showing
4 changed files
with
94 additions
and
117 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
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