Skip to content

Commit c3ff8b2

Browse files
authored
Update poetry to 1.1 (#313)
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 - vcs-python/libvcs#279
1 parent 08c4a8f commit c3ff8b2

File tree

5 files changed

+282
-314
lines changed

5 files changed

+282
-314
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
@@ -28,10 +28,13 @@ jobs:
2828

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

3639
- name: Get poetry cache paths from config
3740
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
- _Add your latest changes from PRs here_
6+
- #313: 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
## vcspull 1.8.0 (2021-06-16)
811

0 commit comments

Comments
 (0)