Skip to content

Commit 120cdbc

Browse files
committed
fix: update pyarrow to 18 in lambda layers
- unpin cython - fix numpy for 3.10
1 parent 7fd2fa4 commit 120cdbc

File tree

5 files changed

+292
-264
lines changed

5 files changed

+292
-264
lines changed

building/lambda/Dockerfile

Lines changed: 1 addition & 1 deletion
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==3.0.8 cmake hypothesis poetry
28+
RUN pip3 install --upgrade six cython 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

Lines changed: 1 addition & 1 deletion
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==3.0.8 cmake hypothesis poetry
27+
RUN pip3 install --upgrade six cython 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

building/lambda/build-lambda-layer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export CMAKE_PREFIX_PATH=$ARROW_HOME:$CMAKE_PREFIX_PATH
1616

1717
git clone \
1818
--depth 1 \
19-
--branch apache-arrow-16.1.0 \
19+
--branch apache-arrow-18.1.0 \
2020
--single-branch \
2121
https://github.com/apache/arrow.git
2222

0 commit comments

Comments
 (0)