Commit eef503a
fix: locate conda.sh via
The installer only looked for conda.sh under /opt/conda (the docker-image
convention) or $CONDA_PREFIX. On GitHub Actions runners conda lives
elsewhere and $CONDA_PREFIX is empty in the install step's shell, so both
checks miss and install aborts with "Could not find conda.sh". This broke
the full test suite at the install step — invisible until now because CI
never ran on develop.
Query conda for its base prefix instead, which is authoritative wherever
conda was installed (runners, miniforge, custom prefixes like
intelpython). Keep /opt/conda and $CONDA_PREFIX as fallbacks for
environments where conda can't be queried.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>conda info --base in install_shapepipe1 parent 4746cee commit eef503a
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
130 | | - | |
| 136 | + | |
131 | 137 | | |
132 | 138 | | |
133 | 139 | | |
| |||
0 commit comments