Skip to content

Commit

Permalink
ci: use poetry sync
Browse files Browse the repository at this point in the history
install --sync is deprecated

Change-Id: I1274d665d346648ca7a7c61d57251db009cff51a
  • Loading branch information
jd committed Jan 7, 2025
1 parent debe381 commit 3986069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/poetry-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
if [ "$CI" ]; then
export POETRY_VIRTUALENVS_OPTIONS_NO_PIP=true
export POETRY_VIRTUALENVS_OPTIONS_NO_SETUPTOOLS=true
poetry install --sync --no-cache
poetry sync --no-cache
else
# NOTE: Outside the CI we keep pip/setuptools because most IDE
# (pycharm/vscode) didn't yet support virtualenv without them installed.
poetry install --sync
poetry sync
fi

0 comments on commit 3986069

Please sign in to comment.