Skip to content

Commit 0a18d52

Browse files
authored
Fix example dependencies installation (#1812)
Signed-off-by: elronbandel <[email protected]>
1 parent 85ccb41 commit 0a18d52

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/examples_tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ jobs:
3838
with:
3939
python-version: '3.10'
4040

41-
- name: Install uv
42-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
43-
44-
- name: Install dependencies with uv
45-
run: uv pip install --system ".[tests,watsonx,inference_tests]"
41+
- run: echo "blis==0" > constraints.txt
42+
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
43+
- run: uv pip install --upgrade --system torch --index-url https://download.pytorch.org/whl/cpu
44+
- run: uv pip install --system -c constraints.txt -e ".[tests]"
45+
- run: |
46+
pip install --only-binary :all: spacy
47+
pip install networkx==3.2.1
4648
4749
- name: Install spacy (binary)
4850
run: |

0 commit comments

Comments
 (0)