Commit 71aef70
Fix pkg-helpers conda env: explicitly install pip (pytorch#8035)
Conda 25.x (now resolved as miniconda `latest`, after pytorch#7753 upgraded
conda to 25.3.0) no longer installs `pip` by default when only
`python=X.Y` is requested in `conda create`, which breaks the
`pytorch_pkg_helpers` step in `setup-binary-builds/action.yml`, which
immediately calls `python -m pip install ...` against the new env and
fails with `No module named pip` (e.g. observed in torchcomms wheel
builds).
Fix: add `pip` explicitly to the `conda create` invocation so the env is
usable regardless of conda's default-package behavior.1 parent 7bc9d5b commit 71aef70
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments