Skip to content

Commit 3c73628

Browse files
fix: Pin Cython version to workaround issue when building PyArrow from source (#2714)
1 parent 0d0e78d commit 3c73628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

building/lambda/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ COPY pyproject.toml poetry.lock ./
2525

2626
RUN pip3 install --upgrade pip wheel
2727
RUN pip3 install --upgrade urllib3==1.26.16 # temporary to avoid https://github.com/urllib3/urllib3/issues/2168 (TODO remove when the AL2 image updates to support OpenSSL 1.1.1+)
28-
RUN pip3 install --upgrade six cython cmake hypothesis poetry
28+
RUN pip3 install --upgrade six cython==3.0.8 cmake hypothesis poetry
2929
RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main
3030

3131
RUN rm -f pyproject.toml poetry.lock

building/lambda/Dockerfile.al2023

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FROM ${python_version}
2424
COPY pyproject.toml poetry.lock ./
2525

2626
RUN pip3 install --upgrade pip wheel
27-
RUN pip3 install --upgrade six cython cmake hypothesis poetry
27+
RUN pip3 install --upgrade six cython==3.0.8 cmake hypothesis poetry
2828
RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main
2929

3030
RUN rm -f pyproject.toml poetry.lock

0 commit comments

Comments
 (0)