From 158c1364131501f642002f2b031854701a98c958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Mon, 14 Oct 2024 12:48:22 +0200 Subject: [PATCH] Check for conda on github.linux.amd64.docker.yml instead of github.linux.amd64.yml --- dev/tasks/verify-rc/github.linux.amd64.docker.yml | 8 ++++++++ dev/tasks/verify-rc/github.linux.amd64.yml | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dev/tasks/verify-rc/github.linux.amd64.docker.yml b/dev/tasks/verify-rc/github.linux.amd64.docker.yml index f2c0673314826..d3b4875c4db2a 100644 --- a/dev/tasks/verify-rc/github.linux.amd64.docker.yml +++ b/dev/tasks/verify-rc/github.linux.amd64.docker.yml @@ -28,6 +28,14 @@ jobs: {% for key, value in env.items() %} {{ key }}: {{ value }} {% endfor %} + {% if distro == "conda" and target == "integration" %} + # JPype doesn't work with Python 3.13. + # See also: + # * https://discuss.python.org/t/api-for-python-3-13-prevents-use-of-3rd-party-gc-allocators/62709/5 + # * GH-44386 + # * GH-44389 + PYTHON_VERSION: "3.12" + {% endif %} {% endif %} steps: {{ macros.github_checkout_arrow(fetch_depth=0)|indent }} diff --git a/dev/tasks/verify-rc/github.linux.amd64.yml b/dev/tasks/verify-rc/github.linux.amd64.yml index a444e3853d768..854020e85ce3d 100644 --- a/dev/tasks/verify-rc/github.linux.amd64.yml +++ b/dev/tasks/verify-rc/github.linux.amd64.yml @@ -65,14 +65,6 @@ jobs: TEST_DEFAULT: 0 TEST_{{ target|upper }}: 1 {% if use_conda %} - {% if target == "integration" %} - # JPype doesn't work with Python 3.13. - # See also: - # * https://discuss.python.org/t/api-for-python-3-13-prevents-use-of-3rd-party-gc-allocators/62709/5 - # * GH-44386 - # * GH-44389 - PYTHON_VERSION: "3.12" - {% endif %} USE_CONDA: 1 {% endif %} run: |