Skip to content

Commit

Permalink
fix: pin poetry version
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Jan 7, 2025
1 parent 276f582 commit e48505d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions earthly/python/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ IMPORT ../../utilities/scripts AS scripts
python-base:
FROM python:3.12-alpine3.20

# Install necessary packages
# Install necessary packages
RUN apk add --no-cache \
bash \
curl \
Expand All @@ -30,7 +30,7 @@ python-base:
ENV PYTHONDONTWRITEBYTECODE=1

# Install Poetry using the recommended installer.
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.0

# Adjust Poetry's configuration to prevent connection pool warnings.
RUN poetry config installer.max-workers 10
Expand All @@ -54,7 +54,7 @@ BUILDER:
COPY pyproject.toml poetry.lock Readme.md .

# Install it all with poetry
RUN poetry install $opts
RUN poetry install $opts

CHECK:
FUNCTION
Expand All @@ -77,6 +77,5 @@ LINT_PYTHON:
RUN pip install ruff

COPY $src .

RUN ruff .

RUN ruff .

0 comments on commit e48505d

Please sign in to comment.