Kevin Trebing
12/19/2024, 3:15 PMFailed to build `pendulum==3.0.0`
I am using uv as package manager and this is my dockerfile:
FROM --platform=linux/x86_64 <http://ghcr.io/astral-sh/uv:python3.11-bookworm-slim|ghcr.io/astral-sh/uv:python3.11-bookworm-slim>
# Then, add the rest of the project source code and install it
# Installing separately from its dependencies allows optimal layer caching
COPY pyproject.toml pyproject.toml
COPY uv.lock uv.lock
RUN uv sync --frozen
# Place executables in the environment at the front of the path
ENV PATH=".venv/bin:$PATH"
COPY src .
COPY config.py .
COPY pipeline.py .
# Reset the entrypoint, don't invoke `uv`
ENTRYPOINT []
This is my pyproject.toml:
[project]
name = "prefect-testing"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"prefect>=3.1.8",
"prefect-aws>=0.5.3",
"prefect-docker>=0.6.2",
"prefect-gcp>=0.6.2",
"polars>=1.17.1",
"pydantic-settings>=2.7.0",
]
Anybody else has/had trouble with this?