You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ra...@apache.org on 2024/02/21 09:50:53 UTC

(arrow) branch maint-15.0.x updated: GH-40112: [CI][Python] Ensure CPython is selected, not PyPy (#40131)

This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a commit to branch maint-15.0.x
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/maint-15.0.x by this push:
     new d74ab501fc GH-40112: [CI][Python] Ensure CPython is selected, not PyPy (#40131)
d74ab501fc is described below

commit d74ab501fc191385200458c400ed478d2be46e20
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Mon Feb 19 15:57:36 2024 +0100

    GH-40112: [CI][Python] Ensure CPython is selected, not PyPy (#40131)
    
    Sometimes, mamba might select PyPy over CPython in certain environment upgrade/downgrade scenarios.
    
    * Closes: #40112
    
    Lead-authored-by: Antoine Pitrou <an...@python.org>
    Co-authored-by: Uwe L. Korn <uw...@quantco.com>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 ci/docker/conda-python.dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/docker/conda-python.dockerfile b/ci/docker/conda-python.dockerfile
index 5d37c53386..027fd589ce 100644
--- a/ci/docker/conda-python.dockerfile
+++ b/ci/docker/conda-python.dockerfile
@@ -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