You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Python and Conan versions for sigstore signing on CentOS 7
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 and Conan is 1.47.0, both too old.
Solution:
1. Add ~/.local/bin to PATH early (before all setup steps)
2. Install Python 3.11 using uv with --default flag to create python,
python3, and python3.11 symlinks in ~/.local/bin
3. Install Conan manually for CentOS 7 using python3.11 -m pip install
--user to place it in ~/.local/bin
4. Keep get-conan action for other platforms
With ~/.local/bin first in PATH, all tools (uv, python 3.11, conan 2.x)
are found before old system versions, ensuring:
- Sigstore finds Python 3.11 as 'python'
- Builds use Conan 2.10.3 instead of system Conan 1.47.0
Signed-off-by: Gary Oberbrunner <[email protected]>
0 commit comments