Skip to content

Commit

Permalink
Update poetry to 1.1 (#324)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tony committed Jul 3, 2021
1 parent 27ea7e3 commit 7e885d8
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 367 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish-docs.yml
Expand Up @@ -52,10 +52,14 @@ jobs:
- name: Install poetry
if: env.PUBLISH == 'true'
run: |
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
python get-poetry.py -y --version 1.0.10
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
python install-poetry.py -y --version 1.1.7
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
rm get-poetry.py
rm install-poetry.py
- name: Add ~/.local/bin to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
if: env.PUBLISH == 'true'

- name: Get poetry cache paths from config
if: env.PUBLISH == 'true'
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -27,10 +27,13 @@ jobs:

- name: Install poetry
run: |
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
python get-poetry.py -y --version 1.0.10
curl -O -sSL https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
python install-poetry.py -y --version 1.1.7
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
rm get-poetry.py
rm install-poetry.py
- name: Add ~/.local/bin to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Get poetry cache paths from config
run: |
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
@@ -0,0 +1 @@
poetry 1.1.7
3 changes: 3 additions & 0 deletions CHANGES
Expand Up @@ -5,6 +5,9 @@ Here you can find the recent changes to libtmux
## current

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

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

0 comments on commit 7e885d8

Please sign in to comment.