Skip to content

Commit

Permalink
pin poetry in dockerfile / workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeLalor committed Jan 9, 2025
1 parent 2d1caa0 commit 29eeca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 29eeca7

Please sign in to comment.