You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: building/lambda/Dockerfile
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,14 @@ RUN ln -s /usr/bin/gcc10-ld /usr/bin/ld
34
34
FROM ${python_version}
35
35
COPY pyproject.toml poetry.lock ./
36
36
37
-
RUN pip3 install --upgrade pip wheel setuptools>=64 setuptools_scm>=8
37
+
# Setuptools is a build dependency of arrow and runtime dependency of some of our dependencies (mainly redshift-connector).
38
+
# Remove when arrow version shipped with lambda layers and dependencies are updated.
39
+
RUN pip3 install --upgrade pip wheel setuptools>=78.1.1 setuptools_scm>=8
38
40
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+)
39
-
RUN pip3 install --upgrade six cython cmake hypothesis poetry
41
+
# In new CMake 4, compatibility with CMake < 3.5 has been removed.
42
+
# Unpin CMake when arrow version shipped with lambda layers is updated.
43
+
RUN pip3 install --upgrade cmake==3.31.6
44
+
RUN pip3 install --upgrade six cython hypothesis poetry
40
45
ENV PIP_NO_BINARY="numpy,pandas"
41
46
RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main
0 commit comments