Commit 05c3fd2
authored
Deprecate
We decided in #9562 that it's not worth the complexity to support `--python-setup-platforms`. Specifically, we decided
1) We only want to consider `platforms` in the context of running `python_binary`, rather than always using the option in our `pex.py` code.
2) We only want to consider `platforms` if the user went out of their way to specify them, given how we no longer are setting interpreter constraints if `platforms` was given because this overrides the constraints (#9563). So, a default value of `--python-setup-platforms=['current']` would lead to us naively setting `platforms` instead of using interpreter constraints like normal.
Instead, users will need to explicitly specify the `platforms` field on any `python_binary` that they care about.
[ci skip-rust]
[ci skip-build-wheels]--python-setup-platforms (#10596)1 parent d636075 commit 05c3fd2
1 file changed
Lines changed: 16 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| |||
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
99 | | - | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| |||
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
108 | 121 | | |
109 | 122 | | |
110 | 123 | | |
| |||
160 | 173 | | |
161 | 174 | | |
162 | 175 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 176 | + | |
| 177 | + | |
183 | 178 | | |
184 | 179 | | |
185 | 180 | | |
| |||
0 commit comments