Skip to content

Commit 7ef375e

Browse files
committed
Fix python build:
yaml/pyyaml#736
1 parent 2cc41d5 commit 7ef375e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ COPY ./openapi2jsonschema/ /src/openapi2jsonschema
55
COPY ./requirements.txt /src/requirements.txt
66
COPY ./setup.py /src/setup.py
77
COPY ./LICENSE /src/LICENSE
8+
RUN echo 'Cython < 3.0' > /tmp/constraint.txt
9+
ENV PIP_CONSTRAINT=/tmp/constraint.txt
810

911
RUN cd src && pip install -r requirements.txt .
1012

0 commit comments

Comments
 (0)