|
25 | 25 | - name: Lint with ruff |
26 | 26 | run: | |
27 | 27 | python -m pip install --upgrade pip |
28 | | - python -m pip install poetry |
| 28 | + python -m pip install poetry==1.7.1 |
29 | 29 | poetry install |
30 | 30 |
|
31 | 31 | # stop the build if there are Python syntax errors or undefined names |
|
44 | 44 | - name: check black |
45 | 45 | run: | |
46 | 46 | python -m pip install --upgrade pip |
47 | | - python -m pip install poetry |
| 47 | + python -m pip install poetry==1.7.1 |
48 | 48 | poetry install --only dev |
49 | 49 | poetry run black --check . |
50 | 50 |
|
|
62 | 62 | - name: Prepare environment |
63 | 63 | run: | |
64 | 64 | python -m pip install --upgrade pip |
65 | | - python -m pip install poetry |
| 65 | + python -m pip install poetry==1.7.1 |
66 | 66 | poetry install --without dev |
67 | 67 | poetry run pip install tensorflow==2.12.0 |
68 | 68 | poetry run pip install jax |
@@ -106,7 +106,7 @@ jobs: |
106 | 106 | - name: Prepare environment |
107 | 107 | run: | |
108 | 108 | python -m pip install --upgrade pip |
109 | | - python -m pip install poetry |
| 109 | + python -m pip install poetry==1.7.1 |
110 | 110 | poetry install --all-extras |
111 | 111 | poetry run pip install elasticsearch==8.6.2 |
112 | 112 | ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }} |
@@ -156,7 +156,7 @@ jobs: |
156 | 156 | - name: Prepare environment |
157 | 157 | run: | |
158 | 158 | python -m pip install --upgrade pip |
159 | | - python -m pip install poetry |
| 159 | + python -m pip install poetry==1.7.1 |
160 | 160 | poetry install --all-extras |
161 | 161 | ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }} |
162 | 162 | poetry run pip install protobuf==3.20.0 # we check that we support 3.19 |
@@ -204,7 +204,7 @@ jobs: |
204 | 204 | - name: Prepare environment |
205 | 205 | run: | |
206 | 206 | python -m pip install --upgrade pip |
207 | | - python -m pip install poetry |
| 207 | + python -m pip install poetry==1.7.1 |
208 | 208 | poetry install --all-extras |
209 | 209 | ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }} |
210 | 210 | poetry run pip install protobuf==3.20.0 |
@@ -253,7 +253,7 @@ jobs: |
253 | 253 | - name: Prepare environment |
254 | 254 | run: | |
255 | 255 | python -m pip install --upgrade pip |
256 | | - python -m pip install poetry |
| 256 | + python -m pip install poetry==1.7.1 |
257 | 257 | poetry install --all-extras |
258 | 258 | ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }} |
259 | 259 | poetry run pip install protobuf==3.20.0 |
@@ -302,7 +302,7 @@ jobs: |
302 | 302 | - name: Prepare environment |
303 | 303 | run: | |
304 | 304 | python -m pip install --upgrade pip |
305 | | - python -m pip install poetry |
| 305 | + python -m pip install poetry==1.7.1 |
306 | 306 | poetry install --all-extras |
307 | 307 | ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }} |
308 | 308 | poetry run pip install protobuf==3.20.0 |
@@ -351,7 +351,7 @@ jobs: |
351 | 351 | - name: Prepare environment |
352 | 352 | run: | |
353 | 353 | python -m pip install --upgrade pip |
354 | | - python -m pip install poetry |
| 354 | + python -m pip install poetry==1.7.1 |
355 | 355 | poetry install --all-extras |
356 | 356 | ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }} |
357 | 357 | poetry run pip uninstall -y torch |
@@ -398,7 +398,7 @@ jobs: |
398 | 398 | - name: Prepare environment |
399 | 399 | run: | |
400 | 400 | python -m pip install --upgrade pip |
401 | | - python -m pip install poetry |
| 401 | + python -m pip install poetry==1.7.1 |
402 | 402 | poetry install --all-extras |
403 | 403 | poetry run pip uninstall -y torch |
404 | 404 | poetry run pip install torch |
|
0 commit comments