Skip to content

Commit 7e885d8

Browse files
authored
Update poetry to 1.1 (#324)
Update poetry 1.1 including 1.1.7's lockfile fix and install-poetry.py. See also: - https://python-poetry.org/blog/announcing-poetry-1.1.0/ - https://github.com/python-poetry/poetry/releases/tag/1.1.7 - tmux-python/tmuxp#689
1 parent 27ea7e3 commit 7e885d8

File tree

5 files changed

+331
-367
lines changed

5 files changed

+331
-367
lines changed

.github/workflows/publish-docs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,14 @@ jobs:
5252
- name: Install poetry
5353
if: env.PUBLISH == 'true'
5454
run: |
55-
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
56-
python get-poetry.py -y --version 1.0.10
55+
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
56+
python install-poetry.py -y --version 1.1.7
5757
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
58-
rm get-poetry.py
58+
rm install-poetry.py
59+
60+
- name: Add ~/.local/bin to PATH
61+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
62+
if: env.PUBLISH == 'true'
5963

6064
- name: Get poetry cache paths from config
6165
if: env.PUBLISH == 'true'

.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+
- #324: 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)