You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2024/02/19 14:57:42 UTC
(arrow) branch main updated: GH-40112: [CI][Python] Ensure CPython is selected, not PyPy (#40131)
This is an automated email from the ASF dual-hosted git repository.
apitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new ec3723e497 GH-40112: [CI][Python] Ensure CPython is selected, not PyPy (#40131)
ec3723e497 is described below
commit ec3723e497d2ae338600cc22b977d0a3f1006886
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