From 002ffa6b0ac3afa6abb05b6820f68ff9a00b404d Mon Sep 17 00:00:00 2001 From: Dan Saattrup Nielsen Date: Tue, 30 Apr 2024 11:28:28 +0200 Subject: [PATCH] chore: Update poetry --- .github/workflows/ci.yaml | 2 +- Dockerfile | 2 +- makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e8fde783..4e966127 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v3 - name: Install Poetry - run: pipx install poetry + run: pipx install poetry==1.8.2 - name: Set up Python uses: actions/setup-python@v4 diff --git a/Dockerfile b/Dockerfile index daeff2d9..63ad8777 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV DEMO_PORT=7860 EXPOSE $DEMO_PORT # Install poetry -RUN pip install "poetry==1.7.1" +RUN pip install "poetry==1.8.2" # Move the files into the container WORKDIR /project diff --git a/makefile b/makefile index 9c5cc963..243a4175 100644 --- a/makefile +++ b/makefile @@ -92,9 +92,9 @@ install-pipx: fi install-poetry: - @if [ ! "$(shell poetry --version)" = "Poetry (version 1.7.1)" ]; then \ + @if [ ! "$(shell poetry --version)" = "Poetry (version 1.8.2)" ]; then \ python3 -m pip uninstall -y poetry poetry-core poetry-plugin-export; \ - pipx install --force poetry==1.7.1; \ + pipx install --force poetry==1.8.2; \ echo "Installed Poetry."; \ fi