Skip to content

Commit 8789e60

Browse files
Bump snok/install-poetry to v1.4.2 (fixes v1.5.0 release CI) (#517)
* Bump snok/install-poetry to v1.4.2 install.python-poetry.org now returns 403 to Python-urllib's User-Agent, which v1.4.1 uses on Linux and macOS. v1.4.2 fetches a pinned installer from raw.githubusercontent.com instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * 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> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent df3c30b commit 8789e60

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,6 +233,14 @@ jobs:
233233
with:
234234
python-version: ${{ matrix.python_version }}
235235
- name: Setup Poetry
236+
if: ${{ runner.os != 'Windows' }}
237+
uses: snok/install-poetry@v1.4.2
238+
with:
239+
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' }}
236244
uses: snok/install-poetry@v1.4.1
237245
with:
238246
version: 1.8.5

0 commit comments

Comments
 (0)