diff --git a/pypy.sh b/pypy.sh new file mode 100755 index 00000000000..2453d1bf9fe --- /dev/null +++ b/pypy.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)" +cd $DIR + +uv python install pypy@3.11 +uv run --python pypy@3.11 "$@" diff --git a/setup.sh b/setup.sh index 29c5bf2cd16..65315549cfa 100755 --- a/setup.sh +++ b/setup.sh @@ -13,7 +13,7 @@ if ! command -v uv &>/dev/null; then fi export UV_PROJECT_ENVIRONMENT="$BASEDIR/.venv" -uv sync --all-extras +uv sync --all-extras --python pypy@3.11 source "$PYTHONPATH/.venv/bin/activate" $BASEDIR/opendbc/safety/tests/misra/install.sh