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

raulcd 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 f1c4e821c9 GH-50174: [CI][Python] Fix debug Python job (#50207)
f1c4e821c9 is described below

commit f1c4e821c9ad015afebcb74d6c466c2a5b3be9ce
Author: Antoine Pitrou <[email protected]>
AuthorDate: Wed Jun 17 15:11:31 2026 +0200

    GH-50174: [CI][Python] Fix debug Python job (#50207)
    
    ### Rationale for this change
    
    Use a different Python version (3.14) than the one that's being used by GDB 
for its own scripting (3.12), otherwise the two can conflict.
    
    ### Are these changes tested?
    
    Yes, by existing CI tests.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #50174
    
    Authored-by: Antoine Pitrou <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 ci/docker/conda-python-cpython-debug.dockerfile | 2 +-
 dev/tasks/tasks.yml                             | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ci/docker/conda-python-cpython-debug.dockerfile 
b/ci/docker/conda-python-cpython-debug.dockerfile
index 12717f35fe..daa6c51c6b 100644
--- a/ci/docker/conda-python-cpython-debug.dockerfile
+++ b/ci/docker/conda-python-cpython-debug.dockerfile
@@ -22,7 +22,7 @@ FROM ${repo}:${arch}-conda-python-${python}
 
 # (Docker oddity: ARG needs to be repeated after FROM)
 ARG python=3.10
-RUN mamba install -y 
"conda-forge/label/python_debug::python=${python}[build=*_cpython]" && \
+RUN mamba install -c conda-forge/label/python_debug cpython 
"python=${python}[build=*_debug_*]" && \
     mamba clean --all --yes
 # Quick check that we do have a debug mode CPython
 RUN python -c "import sys; sys.gettotalrefcount()"
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index f7cb2b92ad..56a9ce1472 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -508,12 +508,12 @@ tasks:
       image: conda-python
 {% endfor %}
 
-  test-conda-python-3.12-cpython-debug:
+  test-conda-python-3.14-cpython-debug:
     ci: github
     template: docker-tests/github.linux.yml
     params:
       env:
-        PYTHON: 3.12
+        PYTHON: 3.14
       image: conda-python-cpython-debug
 
   test-conda-python-emscripten:

Reply via email to