Skip to content

Commit 03c6705

Browse files
Pin poetry to 1.2
1 parent 693b97b commit 03c6705

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

python-setup/install_tools.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ py -2 -m pip install --user 'virtualenv<20.11'
99
py -3 -m pip install --user 'virtualenv<20.11'
1010

1111
# poetry 1.0.10 has error (https://github.com/python-poetry/poetry/issues/2711)
12-
py -3 -m pip install --user poetry!=1.0.10
12+
# We aren't compatible with poetry 1.2
13+
py -3 -m pip install --user "poetry!=1.0.10,>=1.1,<1.2"
1314
py -3 -m pip install --user pipenv

python-setup/install_tools.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ python3 -m pip install --user 'virtualenv<20.11'
2525
# 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
2626

2727
# poetry 1.0.10 has error (https://github.com/python-poetry/poetry/issues/2711)
28-
python3 -m pip install --user poetry!=1.0.10
28+
# We aren't compatible with poetry 1.2
29+
python3 -m pip install --user "poetry!=1.0.10,>=1.1,<1.2"
2930
python3 -m pip install --user pipenv
3031

3132
if command -v python2 >/dev/null 2>&1; then

0 commit comments

Comments
 (0)