From a1b3a612a5c8c6eb3c89cb80cc9f4d7fd1b52305 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Mon, 24 Feb 2025 19:14:00 -0800 Subject: [PATCH] Remove deprecated command in Poetry >2.0 causing error in CI (#1971) * 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 --- .github/actions/run_tests/action.yaml | 2 +- .github/workflows/docs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/run_tests/action.yaml b/.github/actions/run_tests/action.yaml index d72d70c1..490a00c4 100644 --- a/.github/actions/run_tests/action.yaml +++ b/.github/actions/run_tests/action.yaml @@ -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 diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 30adcd79..3f5fe714 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -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"