Skip to content

Commit

Permalink
apacheGH-40112: [CI][Python] Ensure CPython is selected, not PyPy
Browse files Browse the repository at this point in the history
Sometimes, mamba might select PyPy over CPython in certain environment upgrade/downgrade scenarios.
  • Loading branch information
pitrou committed Feb 19, 2024
1 parent ca67ec2 commit d0560ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/docker/conda-python.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ COPY ci/conda_env_python.txt \
RUN mamba install -q -y \
--file arrow/ci/conda_env_python.txt \
$([ "$python" == $(gdb --batch --eval-command 'python import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")') ] && echo "gdb") \
python=${python} \
"python=${python}=*_cpython" \
nomkl && \
mamba clean --all

Expand Down

0 comments on commit d0560ef

Please sign in to comment.