File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ pip install uv
4+ uv venv --python 3.11
5+ source .venv/bin/activate
Original file line number Diff line number Diff line change 33set -e
44
55# echo python version
6+ echo " python3:"
67python3 --version
8+ which python3
9+ echo " pip3:"
10+ pip3 --version
11+ which pip3
12+
713
814if [ -n " $BASH_VERSION " ]; then
915 SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
1420pip install uv
1521# The requirements.txt is generated by command:
1622# uv pip compile pyproject.toml -o ./dev-support/requirements.txt
17- uv pip sync " ${SCRIPT_DIR} /requirements.txt"
23+ uv pip sync " ${SCRIPT_DIR} /requirements.txt" --python $( which python3)
24+
25+ uv pip list
26+
1827# set global solc version which is required by execution-spec-tests
1928solc-select use 0.8.24 --always-install
2029
Original file line number Diff line number Diff line change 22
33SCRIPT_DIR=` dirname " ${BASH_SOURCE[0]} " `
44echo " Checking dependent python3 modules ..."
5+ source $SCRIPT_DIR /activate_venv.sh
56source $SCRIPT_DIR /dep_pip3.sh
67set -o pipefail
78
You can’t perform that action at this time.
0 commit comments