Skip to content

Commit d8753b4

Browse files
committed
fix: Handle Poetry install on Python 3.6
With Poetry 1.2.0 Python 3.6 is no longer supported. In addition, the old install-poetry.py mechanism is deprecated and should use install-python-poetry.org. Switch to using the new installer and use the (as of now) latest 1.1.x release which still supports Python 3.6.
1 parent f84dcef commit d8753b4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ jobs:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install Poetry
3131
run: |
32-
curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \
33-
| python - -y
32+
curl -sSL https://install.python-poetry.org | python - -y --version 1.1.15
3433
- name: Install dependencies
3534
run: |
3635
poetry config virtualenvs.create false

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020

2121
- name: Install Poetry
2222
run: |
23-
curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \
24-
| python - -y
25-
23+
curl -sSL https://install.python-poetry.org | python - -y --version 1.1.15
2624
- name: Update PATH
2725
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
2826

0 commit comments

Comments
 (0)