|
34 | 34 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
35 | 35 | HF_API_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }} |
36 | 36 | PYTHON_VERSION: "3.10" |
37 | | - HATCH_VERSION: "1.16.4" |
| 37 | + HATCH_VERSION: "1.16.5" |
38 | 38 |
|
39 | 39 | jobs: |
40 | 40 | format: |
|
47 | 47 | python-version: "${{ env.PYTHON_VERSION }}" |
48 | 48 |
|
49 | 49 | - name: Install Hatch |
50 | | - # https://github.com/pypa/hatch/issues/2193 |
51 | | - run: pip install hatch==${{ env.HATCH_VERSION }} "virtualenv<21.0.0" |
| 50 | + run: pip install hatch==${{ env.HATCH_VERSION }} |
52 | 51 |
|
53 | 52 | - name: Ruff - check format and linting |
54 | 53 | run: hatch run fmt-check |
|
98 | 97 | python-version: "${{ env.PYTHON_VERSION }}" |
99 | 98 |
|
100 | 99 | - name: Install Hatch |
101 | | - # https://github.com/pypa/hatch/issues/2193 |
102 | | - run: pip install hatch==${{ env.HATCH_VERSION }} "virtualenv<21.0.0" |
| 100 | + run: pip install hatch==${{ env.HATCH_VERSION }} |
103 | 101 |
|
104 | 102 | - name: Check imports |
105 | 103 | run: hatch run python .github/utils/check_imports.py |
@@ -158,8 +156,7 @@ jobs: |
158 | 156 | id: hatch |
159 | 157 | shell: bash |
160 | 158 | run: | |
161 | | - # https://github.com/pypa/hatch/issues/2193 |
162 | | - pip install hatch==${{ env.HATCH_VERSION }} "virtualenv<21.0.0" |
| 159 | + pip install hatch==${{ env.HATCH_VERSION }} |
163 | 160 | echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT" |
164 | 161 |
|
165 | 162 | - name: Run |
@@ -243,8 +240,7 @@ jobs: |
243 | 240 | id: hatch |
244 | 241 | if: steps.files.outputs.any_changed == 'true' |
245 | 242 | run: | |
246 | | - # https://github.com/pypa/hatch/issues/2193 |
247 | | - pip install hatch==${{ env.HATCH_VERSION }} "virtualenv<21.0.0" |
| 243 | + pip install hatch==${{ env.HATCH_VERSION }} |
248 | 244 | echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT" |
249 | 245 |
|
250 | 246 | - name: Mypy |
@@ -300,8 +296,7 @@ jobs: |
300 | 296 | id: hatch |
301 | 297 | shell: bash |
302 | 298 | run: | |
303 | | - # https://github.com/pypa/hatch/issues/2193 |
304 | | - pip install hatch==${{ env.HATCH_VERSION }} "virtualenv<21.0.0" |
| 299 | + pip install hatch==${{ env.HATCH_VERSION }} |
305 | 300 | echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT" |
306 | 301 |
|
307 | 302 |
|
@@ -358,8 +353,7 @@ jobs: |
358 | 353 | id: hatch |
359 | 354 | shell: bash |
360 | 355 | run: | |
361 | | - # https://github.com/pypa/hatch/issues/2193 |
362 | | - pip install hatch==${{ env.HATCH_VERSION }} "virtualenv<21.0.0" |
| 356 | + pip install hatch==${{ env.HATCH_VERSION }} |
363 | 357 | echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT" |
364 | 358 |
|
365 | 359 | - uses: actions/cache/restore@v5 |
@@ -422,8 +416,7 @@ jobs: |
422 | 416 | id: hatch |
423 | 417 | shell: bash |
424 | 418 | run: | |
425 | | - # https://github.com/pypa/hatch/issues/2193 |
426 | | - pip install hatch==${{ env.HATCH_VERSION }} "virtualenv<21.0.0" |
| 419 | + pip install hatch==${{ env.HATCH_VERSION }} |
427 | 420 | echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT" |
428 | 421 |
|
429 | 422 | - name: Run |
|
0 commit comments