Skip to content

Commit

Permalink
ci: use poetry sync and remove setuptools (#46)
Browse files Browse the repository at this point in the history
install --sync is deprecated
  • Loading branch information
jd authored Jan 7, 2025
1 parent 9c875b3 commit 2297d9f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/poetry-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,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 2297d9f

Please sign in to comment.