Skip to content

Commit

Permalink
cython<3 constraint to fix pyyaml build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Nagendra authored Aug 4, 2023
1 parent d351eac commit f2c26f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM valmiio/valmi-activation:base

COPY requirements/test-requirements.txt /tmp/test-requirements.txt
RUN pip install --no-cache-dir --timeout 1000 -r /tmp/test-requirements.txt

RUN echo "cython<3" > constraint.txt
RUN export PIP_CONSTRAINT=$PWD/constraint.txt && pip install --no-cache-dir --timeout 1000 -r /tmp/test-requirements.txt

WORKDIR /workspace
COPY . /workspace/
Expand Down

0 comments on commit f2c26f0

Please sign in to comment.