Commit 27a965d
committed
chore: use python.defaults to set rules_python default python version
python.defaults is the modern way to set the default.
Setting it this way also helps avoid a bug where if a root module
has a single `python.toolchain()` call (which are implicitly treated
as `is_default=True`) and also sets the default using
`python.defaults()`, some validation logic gives an error about using
both ways to set a default.1 parent e8f5b1d commit 27a965d
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
0 commit comments