Skip to content

Commit

Permalink
Pin poetry to 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardopirovano committed Aug 31, 2022
1 parent 693b97b commit 03c6705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python-setup/install_tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ py -2 -m pip install --user 'virtualenv<20.11'
py -3 -m pip install --user 'virtualenv<20.11'

# poetry 1.0.10 has error (https://github.com/python-poetry/poetry/issues/2711)
py -3 -m pip install --user poetry!=1.0.10
# We aren't compatible with poetry 1.2
py -3 -m pip install --user "poetry!=1.0.10,>=1.1,<1.2"
py -3 -m pip install --user pipenv
3 changes: 2 additions & 1 deletion python-setup/install_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ python3 -m pip install --user 'virtualenv<20.11'
# 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

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

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

0 comments on commit 03c6705

Please sign in to comment.