From 1b20fa78be4a91f178eae29d381de3a8f7e08671 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen <rasmuswl@github.com> Date: Mon, 7 Sep 2020 18:14:44 +0200 Subject: [PATCH] Handle error in poetry 1.0.10 --- python-setup/install_tools.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-setup/install_tools.sh b/python-setup/install_tools.sh index cf38509f1..8d6ac75d8 100755 --- a/python-setup/install_tools.sh +++ b/python-setup/install_tools.sh @@ -28,4 +28,6 @@ sudo apt-get install -y python3-venv # "program uses threads.", RuntimeWarning) # LGTM_PYTHON_SETUP_VERSION=The currently activated Python version 2.7.18 is not supported by the project (^3.5). Trying to find and use a compatible version. Using python3 (3.8.2) 3 -python3 -m pip install --user poetry pipenv \ No newline at end of file +# poetry 1.0.10 has error (https://github.com/python-poetry/poetry/issues/2711) +python3 -m pip install --user poetry!=1.0.10 +python3 -m pip install --user pipenv