This is an automated email from the ASF dual-hosted git repository.
kou 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 8a7224d21f GH-44386: [Integration][Release] Pin Python 3.12 for
Integration verification when using Conda (#44388)
8a7224d21f is described below
commit 8a7224d21fb7ac1938cb039cc6dcfd38db94519e
Author: Raúl Cumplido <[email protected]>
AuthorDate: Sat Oct 12 22:28:22 2024 +0200
GH-44386: [Integration][Release] Pin Python 3.12 for Integration
verification when using Conda (#44388)
### Rationale for this change
Conda Python 3.13 fails when running verification tasks for Java. It's
related to JPype.
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 on Conda integration jobs because JPype doesn't work with
Python 3.13. We can use Python 3.13 again once JPype supports Python 3.13.
### Are these changes tested?
Yes via CI
### Are there any user-facing changes?
No
* GitHub Issue: #44386
Lead-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/tasks/verify-rc/github.macos.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dev/tasks/verify-rc/github.macos.yml
b/dev/tasks/verify-rc/github.macos.yml
index e2bc7895c6..37a3e6f3fd 100644
--- a/dev/tasks/verify-rc/github.macos.yml
+++ b/dev/tasks/verify-rc/github.macos.yml
@@ -66,6 +66,14 @@ jobs:
TEST_{{ target|upper }}: 1
{% if use_conda %}
USE_CONDA: 1
+ {% 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 %}
{% endif %}
run: |
arrow/dev/release/verify-release-candidate.sh {{ release|default("")
}} {{ rc|default("") }}