Skip to content

Commit c5091d2

Browse files
committed
fix(deps): pin greenlet<3.4.0 — missing arm64 wheels in 3.4.0
1 parent e82bc56 commit c5091d2

3 files changed

Lines changed: 1 addition & 6 deletions

File tree

docker/standalone/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,17 @@ RUN apt-get update && apt-get install -y \
4444
# Copy dependency files and README (required by pyproject.toml)
4545
COPY hindsight-api-slim/pyproject.toml ./api/
4646
COPY hindsight-api-slim/README.md ./api/
47-
COPY docker/standalone/constraints.txt /tmp/constraints.txt
4847

4948
WORKDIR /app/api
5049

5150
# Sync dependencies using appropriate extras based on INCLUDE_LOCAL_MODELS
5251
# local-ml: torch, sentence-transformers, transformers, einops, flashrank, mlx (optional)
5352
# embedded-db: pg0-embedded (always included for embedded PostgreSQL support)
54-
ENV UV_CONSTRAINT=/tmp/constraints.txt
5553
RUN if [ "$INCLUDE_LOCAL_MODELS" = "true" ]; then \
5654
uv sync --extra local-ml --extra embedded-db; \
5755
else \
5856
uv sync --extra embedded-db; \
5957
fi
60-
ENV UV_CONSTRAINT=
6158

6259
# Copy source code (alembic migrations are inside hindsight_api/)
6360
COPY hindsight-api-slim/hindsight_api ./hindsight_api

docker/standalone/constraints.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

hindsight-api-slim/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"sqlalchemy>=2.0.44",
2222
"alembic>=1.17.1",
2323
"pgvector>=0.4.1",
24-
"greenlet>=3.2.4",
24+
"greenlet>=3.2.4,<3.4.0", # 3.4.0 lacks arm64 wheels for manylinux_2_41
2525
"psycopg2-binary>=2.9.11",
2626
"tiktoken>=0.12.0",
2727
"httpx>=0.27.0",

0 commit comments

Comments
 (0)