|
@@ -25,7 +25,16 @@ jobs:
|
|
|
|
|
|
- name: Install dependencies
|
|
|
run: |
|
|
|
- echo "python${PYTHON_VERSION} -m venv env" | bash
|
|
|
+ # First, find where python3.12 is installed
|
|
|
+ which python3.12 || echo "python3.12 not in PATH"
|
|
|
+ # Add common Python installation locations to PATH
|
|
|
+ export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
|
|
|
+ # Now try to create the venv with explicit python3.12
|
|
|
+ python3.12 -m venv env || {
|
|
|
+ echo "Failed to find python3.12. Checking installation locations:"
|
|
|
+ ls -l /usr/local/bin/python* /opt/homebrew/bin/python* 2>/dev/null || true
|
|
|
+ exit 1
|
|
|
+ }
|
|
|
source env/bin/activate
|
|
|
pip install --upgrade pip
|
|
|
pip install .
|