Skip to content

Commit

Permalink
Pin to Poetry 1.1
Browse files Browse the repository at this point in the history
After creating numerous problems for maintainers by cramming breaking
changes into patch releases, Poetry finally released a minor version,
1.2, which should probably have been a major version.

In order to upgrade, each project will need to update its pyproject.toml
(to support groups), update any references to the install script (which
has been moved twice), and make several other associated changes.

This commit will set an upper bound on the `pipx install poetry` command
to avoid upgrading to Poetry 1.2.

br3ndonland/inboard#36
br3ndonland/inboard#44
br3ndonland/inboard#47
https://python-poetry.org/blog/announcing-poetry-1.2.0/
  • Loading branch information
br3ndonland committed Oct 10, 2022
1 parent a38644d commit 4f17b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/strap-after-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi

### Install Poetry
if command -v pipx &>/dev/null && ! command -v poetry &>/dev/null; then
pipx install poetry
pipx install "poetry>=1.1,<1.2"
else
echo "Skipping Poetry install."
fi
Expand Down

0 comments on commit 4f17b33

Please sign in to comment.