@@ -17,31 +17,23 @@ jobs:
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- python-version : ["3.9", "3. 10", "3.11", "3.12"] # , "3.13"]
20+ python-version : ["3.10", "3.11", "3.12"] # , "3.13"]
2121
2222 steps :
2323 - uses : actions/checkout@v4
2424
2525 - name : Set up Python ${{ matrix.python-version }}
2626 uses : actions/setup-python@v5
2727 with :
28- python-version : ${{ matrix.python-version }}
29-
30- - name : Display Python version
31- run : python -c "import sys; print(sys.version)"
32-
33- - name : Cache pip dependencies
34- uses : actions/cache@v4
35- with :
36- path : ~/.cache/pip
37- key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
38- restore-keys : |
39- ${{ runner.os }}-pip-
40-
41- - name : Install dependencies
28+ python-version : ${{ matrix.python-version }}
29+ cache : ' pip' # enable built-in cache
30+ cache-dependency-path : backend/requirements.txt
31+
32+ - name : Resolve dependencies only
4233 run : |
4334 cd backend
44- python -m pip install --upgrade pip wheel setuptools
45- pip install -e . --extra-index-url https://download.pytorch.org/whl/cu128
46- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
35+ python -m pip install --upgrade pip
36+ # Resolve requirements and editable package - no wheels pulled, no files installed
37+ python -m pip install --dry-run -e . -r requirements.txt
38+
4739
0 commit comments