File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- 0.5.2
1+ 0.5.3
Original file line number Diff line number Diff line change @@ -59,9 +59,10 @@ cp "$ROOT_DIR/npx/python/pyproject.toml" "$STAGE_DIR/app/python/"
5959# 3) Install python deps into pydeps (no venv)
6060echo " ==> Installing python deps into pydeps/ (no venv)"
6161# Find a working system python with pip (avoid venv issues)
62+ # Check python3 from PATH first (GitHub Actions sets this up), then homebrew, then system
6263SYS_PYTHON=" "
63- for py in /opt/homebrew/opt/python@3.12/bin/python3.12 /opt/homebrew/bin/python3 /usr/local/bin/python3 /usr/bin/python3; do
64- if [ -x " $py " ] && " $py " -m pip --version > /dev/null 2>&1 ; then
64+ for py in python3 python3.12 /opt/homebrew/opt/python@3.12/bin/python3.12 /opt/homebrew/bin/python3 /usr/local/bin/python3 /usr/bin/python3; do
65+ if command -v " $py " > /dev/null 2>&1 && " $py " -m pip --version > /dev/null 2>&1 ; then
6566 SYS_PYTHON=" $py "
6667 break
6768 fi
7374echo " ==> Using Python: $SYS_PYTHON "
7475# Create a temporary requirements file pointing to the python package
7576cat > " $STAGE_DIR /pydeps_install.txt" << EOF
76- dspy>=2.6.27,<3.0 .0
77+ dspy>=2.5.40,<2.6 .0
7778rich>=13.0.0
7879python-dotenv>=1.0.0
7980httpx>=0.28.1
You can’t perform that action at this time.
0 commit comments