Skip to content

Commit

Permalink
Remove deprecated command in Poetry >2.0 causing error in CI (#1971)
Browse files Browse the repository at this point in the history
* remove deprecated flag from install command
* Change poetry install to poetry sync
* Change other poetry install to poetry sync

---------

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
  • Loading branch information
wren and micahellison authored Feb 25, 2025
1 parent 247129c commit a1b3a61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/run_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
echo '::endgroup::'
echo '::group::Other dependencies'
poetry install --remove-untracked
poetry sync
echo '::endgroup::'
echo 'DEPS_INSTALLED=true' >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: |
pip install poetry
poetry config --local virtualenvs.in-project true
poetry install --no-root --remove-untracked
poetry sync --no-root
npm install
echo "node_modules/.bin" >> "$GITHUB_PATH"
Expand Down

0 comments on commit a1b3a61

Please sign in to comment.