Commit b30f912
authored
Use certifi certs for buck download (#10095)
### Summary
Depending on how Python is installed and managed, it is common for
certificates to not be installed out of box on Macs. This can cause the
download of buck2 as part of the build process to fail with a
certificate error.
While the ultimate solution for this is for the user to install certs in
their environment, we can smooth this over a bit for build by pointing
urllib at the certifi package certs, which we install as part of
install_requirements.
### Test plan
I worked with @nil-is-all to verify that this fix allowed him to build
and install ExecuTorch from a clean environment. Without this change, he
was seeing cert failure errors during buck download.1 parent 65d931e commit b30f912
1 file changed
+14
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
182 | | - | |
| 184 | + | |
183 | 185 | | |
184 | | - | |
185 | | - | |
186 | | - | |
| 186 | + | |
| 187 | + | |
187 | 188 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
192 | 193 | | |
193 | | - | |
194 | | - | |
| 194 | + | |
| 195 | + | |
195 | 196 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 197 | + | |
| 198 | + | |
200 | 199 | | |
201 | | - | |
| 200 | + | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
0 commit comments