fix(nix): upgrade Python 3.11 → 3.12, add cross-platform eval check (#12208)

This commit is contained in:
Siddharth Balyan 2026-04-18 09:21:03 -07:00 committed by GitHub
parent 8a0c774e9e
commit b0efdf37d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 40 additions and 16 deletions

View file

@ -87,7 +87,7 @@
STAMP_VALUE="${pyprojectHash}:${uvLockHash}"
if [ ! -f "$STAMP" ] || [ "$(cat "$STAMP")" != "$STAMP_VALUE" ]; then
echo "hermes-agent: installing Python dependencies..."
uv venv .venv --python ${pkgs.python311}/bin/python3 2>/dev/null || true
uv venv .venv --python ${pkgs.python312}/bin/python3 2>/dev/null || true
source .venv/bin/activate
uv pip install -e ".[all]"
[ -d mini-swe-agent ] && uv pip install -e ./mini-swe-agent 2>/dev/null || true