Skip to content

Commit eb44c4b

Browse files
Keep snok/install-poetry v1.4.1 on Windows
v1.4.2's installer cannot create its venv on Windows + Python 3.8 under bash (snok/install-poetry#94). v1.4.1 uses the legacy installer there, which still downloads fine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f54bb5c commit eb44c4b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/test-and-publish.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,17 @@ jobs:
233233
with:
234234
python-version: ${{ matrix.python_version }}
235235
- name: Setup Poetry
236+
if: ${{ runner.os != 'Windows' }}
236237
uses: snok/install-poetry@v1.4.2
237238
with:
238239
version: 1.8.5
240+
# v1.4.2's installer fails to create its venv on Windows + Python 3.8 under bash
241+
# (snok/install-poetry#94); v1.4.1 uses the legacy installer on Windows.
242+
- name: Setup Poetry (Windows)
243+
if: ${{ runner.os == 'Windows' }}
244+
uses: snok/install-poetry@v1.4.1
245+
with:
246+
version: 1.8.5
239247
- name: Install Dependencies
240248
run: |
241249
echo "Installing Dependencies"

0 commit comments

Comments
 (0)