From 642b8a73817f83b3a5c81e5f0d03ea22cd882455 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Thu, 25 Nov 2021 09:44:43 -0600 Subject: [PATCH] install-poetry.py: Use new official install location 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 - https://github.com/python-poetry/poetry/issues/3345#issuecomment-974542746 In conjunction with #14 this gets python 3.10 working with poetry 1.1.11 where ModuleNotFoundError: No module named 'cleo' was raised. --- bin/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install b/bin/install index c24aa6f..06ee9e3 100755 --- a/bin/install +++ b/bin/install @@ -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"