Skip to content

Commit

Permalink
Still install gdb when testing the same Python version as the system …
Browse files Browse the repository at this point in the history
…version
  • Loading branch information
pitrou committed Oct 18, 2023
1 parent 45bfefb commit cc0ad1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/docker/conda-python.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ FROM ${repo}:${arch}-conda-cpp
ARG python=3.8
COPY ci/conda_env_python.txt \
/arrow/ci/
# If the Python version being tested is the same as the Python used by the system gdb,
# we need to install the conda-forge gdb instead.
RUN mamba install -q -y \
--file arrow/ci/conda_env_python.txt \
$([ "$python" == "3.10" ] && echo "gdb") \
python=${python} \
nomkl && \
mamba clean --all
Expand Down

0 comments on commit cc0ad1f

Please sign in to comment.