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 d0e7d07dfd GH-44389: [Java][Integration][Release] Use Python 3.12 for
verify-rc-source-integration-linux-conda-latest-amd64 (#44395)
d0e7d07dfd is described below
commit d0e7d07dfdcbf5382932292e512d7b9013b29cb6
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Oct 16 18:39:30 2024 +0900
GH-44389: [Java][Integration][Release] Use Python 3.12 for
verify-rc-source-integration-linux-conda-latest-amd64 (#44395)
### Rationale for this change
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
### What changes are included in this PR?
Pin Python 3.12.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #44389
Lead-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
dev/tasks/verify-rc/github.linux.amd64.docker.yml | 9 +++++++++
dev/tasks/verify-rc/github.macos.yml | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev/tasks/verify-rc/github.linux.amd64.docker.yml
b/dev/tasks/verify-rc/github.linux.amd64.docker.yml
index f2c0673314..97eecd2d28 100644
--- a/dev/tasks/verify-rc/github.linux.amd64.docker.yml
+++ b/dev/tasks/verify-rc/github.linux.amd64.docker.yml
@@ -41,6 +41,15 @@ jobs:
{% if distro == 'almalinux' and target|upper == 'PYTHON' %}
-e ARROW_GANDIVA=OFF \
{% endif %}
+ {% 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
+ #}
+ -e PYTHON_VERSION="3.12" \
+ {% endif %}
-e VERIFY_RC="{{ rc|default("") }}" \
-e TEST_DEFAULT=0 \
-e TEST_{{ target|upper }}=1 \
diff --git a/dev/tasks/verify-rc/github.macos.yml
b/dev/tasks/verify-rc/github.macos.yml
index 37a3e6f3fd..e0272e8f4e 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("") }}