From 8a9a6be34480496154e8298d55ac7e82906c130f Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Mon, 14 Oct 2024 07:21:05 +0900 Subject: [PATCH] GH-44389: [Java][Integration][Release] Use Python 3.12 for verify-rc-source-integration-linux-conda-latest-amd64 Because JPype doesn't support Python 3.13 yet. See also: * GH-44389 * https://discuss.python.org/t/api-for-python-3-13-prevents-use-of-3rd-party-gc-allocators/62709/5 --- dev/tasks/verify-rc/github.linux.amd64.yml | 8 ++++++++ dev/tasks/verify-rc/github.macos.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dev/tasks/verify-rc/github.linux.amd64.yml b/dev/tasks/verify-rc/github.linux.amd64.yml index 854020e85ce3d..a444e3853d768 100644 --- a/dev/tasks/verify-rc/github.linux.amd64.yml +++ b/dev/tasks/verify-rc/github.linux.amd64.yml @@ -65,6 +65,14 @@ 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: | diff --git a/dev/tasks/verify-rc/github.macos.yml b/dev/tasks/verify-rc/github.macos.yml index 37a3e6f3fd517..e0272e8f4e321 100644 --- a/dev/tasks/verify-rc/github.macos.yml +++ b/dev/tasks/verify-rc/github.macos.yml @@ -65,7 +65,6 @@ jobs: TEST_DEFAULT: 0 TEST_{{ target|upper }}: 1 {% if use_conda %} - USE_CONDA: 1 {% if target == "integration" %} # JPype doesn't work with Python 3.13. # See also: @@ -74,6 +73,7 @@ jobs: # * GH-44389 PYTHON_VERSION: "3.12" {% endif %} + USE_CONDA: 1 {% endif %} run: | arrow/dev/release/verify-release-candidate.sh {{ release|default("") }} {{ rc|default("") }}