Commit 16b2b10
committed
Use
Per asnare's review on #4803, the prior helper emulated pip's config-file
loading and assumed env vars (PIP_INDEX_URL, UV_INDEX_URL) that aren't set in
either dev or CI. Shell out to `pip config get global.index-url` instead and
fall back to public PyPI when no mirror is configured. After #4804 the JFrog
URL no longer carries credentials, so embedding it in the notebook fixture is
safe.
Co-authored-by: Isaacpip config get to resolve the test index URL1 parent c915101 commit 16b2b10
1 file changed
Lines changed: 6 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | | - | |
9 | 7 | | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
36 | 24 | | |
37 | 25 | | |
38 | 26 | | |
| |||
0 commit comments