Skip to content

Commit e641789

Browse files
committed
Update poetry to 1.1
1 parent 5c6499a commit e641789

File tree

5 files changed

+330
-367
lines changed

5 files changed

+330
-367
lines changed

.github/workflows/publish-docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,13 @@ jobs:
4949

5050
- name: Install poetry
5151
run: |
52-
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
53-
python get-poetry.py -y --version 1.0.10
52+
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
53+
python install-poetry.py -y --version 1.1.7
5454
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
55-
rm get-poetry.py
55+
rm install-poetry.py
56+
57+
- name: Add ~/.local/bin to PATH
58+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
5659

5760
- name: Get poetry cache paths from config
5861
run: |

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ jobs:
2727

2828
- name: Install poetry
2929
run: |
30-
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
31-
python get-poetry.py -y --version 1.0.10
30+
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
31+
python install-poetry.py -y --version 1.1.7
3232
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
33-
rm get-poetry.py
33+
rm install-poetry.py
34+
35+
- name: Add ~/.local/bin to PATH
36+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
3437

3538
- name: Get poetry cache paths from config
3639
run: |

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
poetry 1.1.7

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Here you can find the recent changes to libtmux
55
## current
66

77
- _Insert changes/features/fixes for next release here_
8+
- Update poetry to 1.1
9+
- CI: Use poetry 1.1.7 and `install-poetry.py` installer
10+
- Relock poetry.lock at 1.1 (w/ 1.1.7's fix)
811

912
## libtmux 0.10.1 (2021-06-16)
1013
- Update `Window.select_window()` for #271

0 commit comments

Comments
 (0)