You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by br...@apache.org on 2024/11/11 21:46:14 UTC
(arrow) 04/15: GH-44389: [Java][Integration][Release] Use Python 3.12 for verify-rc-source-integration-linux-conda-latest-amd64 (#44395)
This is an automated email from the ASF dual-hosted git repository.
brycemecum pushed a commit to branch maint-18.1.0
in repository https://gitbox.apache.org/repos/asf/arrow.git
commit c13bed995fe9d95efddac8b4d476dd0c66dedf36
Author: Sutou Kouhei <ko...@clear-code.com>
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 <ra...@gmail.com>
Co-authored-by: Sutou Kouhei <ko...@clear-code.com>
Signed-off-by: Raúl Cumplido <ra...@gmail.com>
---
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("") }}