diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3546894..16e04b2 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 diff --git a/Dockerfile b/Dockerfile index bbdce4a..f2aac36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ ARG EIDOLON_VERSION=latest FROM python:3.11-slim AS builder -RUN pip install poetry +RUN pip install poetry==1.8 RUN poetry config virtualenvs.create false --local -RUN poetry self add poetry-plugin-export COPY pyproject.toml pyproject.toml RUN poetry remove --lock eidolon-ai-sdk COPY components/ components/ diff --git a/pyproject.toml b/pyproject.toml index fa18e27..fceb6bb 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"