diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index f0af503..01f64dd 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -27,7 +27,7 @@ jobs: fi - name: Install poetry if: steps.check_fresh.outputs.is_fresh == 'true' - run: pipx install poetry + run: pipx install poetry==1.8 - name: Example setup step if: steps.check_fresh.outputs.is_fresh == 'true' run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3546894..0c157b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install poetry - run: pipx install poetry + run: pipx install poetry==1.8 - name: test uses: ./.github/start-server - uses: actions/upload-artifact@v4 @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 - name: Install poetry run: | - pipx install poetry + pipx install poetry==1.8 make poetry.lock - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 7c31a5d..f2b7697 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -21,7 +21,7 @@ jobs: token: ${{ secrets.GH_PAT }} - name: Install poetry run: | - pipx install poetry + pipx install poetry==1.8 make poetry.lock - uses: actions/setup-python@v5 with: @@ -55,7 +55,7 @@ jobs: token: ${{ secrets.GH_PAT }} - name: Install poetry run: | - pipx install poetry + pipx install poetry==1.8 make poetry.lock - name: Syncing fork with upstream run: | diff --git a/Dockerfile b/Dockerfile index 49fee6c..f4f9ae0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG EIDOLON_VERSION=0.1.184 FROM python:3.11-slim AS builder -RUN pip install poetry +RUN pip install poetry==1.8 RUN poetry config virtualenvs.create false --local COPY pyproject.toml pyproject.toml RUN poetry remove --lock eidolon-ai-sdk diff --git a/pyproject.toml b/pyproject.toml index 647dfca..147a9e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,5 +21,5 @@ chromadb = "^0.5.15" asyncio_mode = "auto" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core>=1.0.0,<2.0.0"] build-backend = "poetry.core.masonry.api"