Skip to content

Commit 4f17b33

Browse files
committed
Pin to Poetry 1.1
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/
1 parent a38644d commit 4f17b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/strap-after-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
### Install Poetry
2020
if command -v pipx &>/dev/null && ! command -v poetry &>/dev/null; then
21-
pipx install poetry
21+
pipx install "poetry>=1.1,<1.2"
2222
else
2323
echo "Skipping Poetry install."
2424
fi

0 commit comments

Comments
 (0)