Skip to content

Commit

Permalink
install-poetry.py: Use new official install location
Browse files Browse the repository at this point in the history
This operates independently of poetry releases so it can pull
bugfixes merged outside of poetry's own release cadence.

See also:
- https://github.com/python-poetry/install.python-poetry.org
- python-poetry/poetry#3345 (comment)

In conjunction with asdf-community#14 this gets python 3.10 working with poetry
1.1.11 where ModuleNotFoundError: No module named 'cleo' was raised.
  • Loading branch information
tony committed Nov 27, 2021
1 parent 6176ff2 commit 642b8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install_poetry() {
semver_ge "$ASDF_INSTALL_VERSION" 1.2.0 && vercomp="ge" || vercomp="lt"

if [ $vercomp == "ge" ]; then
install_url="https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py"
install_url="https://install.python-poetry.org/"
curl -sSL "$install_url" | POETRY_HOME=$install_path python3 - --version "$version"
else
install_url="https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py"
Expand Down

0 comments on commit 642b8a7

Please sign in to comment.