Commit f640623
committed
Fix Python version for sigstore signing on CentOS 7 builds
The sigstore action requires Python 3.9+ and looks for 'python' (not
'python3'). On CentOS 7 (vfx2021 and vfx2022), the system Python is 3.7.9,
so we use uv to install Python 3.11.
Previously, uv only created a python3.11 symlink in ~/.local/bin, which
caused sigstore to fall back to system Python 3.7.9 and fail.
Changes:
- Extend uv Python setup to both vfx2021 and vfx2022 (both CentOS 7)
- Use 'uv python install --default' to create python, python3, and
python3.11 symlinks in ~/.local/bin
- Simplify PATH setup to just add ~/.local/bin
This ensures the sigstore action finds Python 3.11 as 'python'.
Signed-off-by: Gary Oberbrunner <[email protected]>1 parent 2dfdaee commit f640623
1 file changed
+14
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
219 | 214 | | |
220 | 215 | | |
221 | 216 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
228 | 222 | | |
229 | 223 | | |
230 | 224 | | |
| |||
0 commit comments