Skip to content

Commit 78c3b08

Browse files
authored
Update poetry to 1.1 (#689)
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/libtmux#324
1 parent 519bf45 commit 78c3b08

File tree

5 files changed

+377
-413
lines changed

5 files changed

+377
-413
lines changed

.github/workflows/publish-docs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,13 @@ 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
57-
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
58-
rm get-poetry.py
55+
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
56+
python install-poetry.py -y --version 1.1.7
57+
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
58+
rm install-poetry.py
59+
60+
- name: Add ~/.local/bin to PATH
61+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
5962

6063
- name: Get poetry cache paths from config
6164
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
@@ -3,6 +3,9 @@
33
## current
44

55
- _Insert changes/features/fixes for next release here_
6+
- #689: Update poetry to 1.1
7+
- CI: Use poetry 1.1.7 and `install-poetry.py` installer
8+
- Relock poetry.lock at 1.1 (w/ 1.1.7's fix)
69

710
## tmuxp 1.9.2 (2021-06-17)
811
- #686: Allow click 8.0.x

0 commit comments

Comments
 (0)