Skip to content

Commit ec3d283

Browse files
GH-43519: [Python][CI] Update Python 3.13 rc to final 3.13.2 (#44375)
### Rationale for this change The final Python 3.13.0 is out now, so we can update those versions * GitHub Issue: #43519 Authored-by: Joris Van den Bossche <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 136ad9a commit ec3d283

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

ci/scripts/install_python.sh

+6-12
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ declare -A versions
2828
versions=([3.9]=3.9.13
2929
[3.10]=3.10.11
3030
[3.11]=3.11.9
31-
[3.12]=3.12.5
32-
[3.13]=3.13.0
33-
[3.13t]=3.13.0)
31+
[3.12]=3.12.9
32+
[3.13]=3.13.2
33+
[3.13t]=3.13.2)
3434

3535
if [ "$#" -ne 2 ]; then
3636
echo "Usage: $0 <platform> <version>"
@@ -47,17 +47,11 @@ full_version=${versions[$2]}
4747
if [ $platform = "macOS" ]; then
4848
echo "Downloading Python installer..."
4949

50-
if [ "$version" = "3.13" ] || [ "$version" = "3.13t" ];
50+
if [ "$(uname -m)" = "x86_64" ] && [ "$version" = "3.9" ];
5151
then
52-
fname="python-${full_version}rc2-macos11.pkg"
53-
elif [ "$(uname -m)" = "arm64" ] || \
54-
[ "$version" = "3.10" ] || \
55-
[ "$version" = "3.11" ] || \
56-
[ "$version" = "3.12" ];
57-
then
58-
fname="python-${full_version}-macos11.pkg"
59-
else
6052
fname="python-${full_version}-macosx10.9.pkg"
53+
else
54+
fname="python-${full_version}-macos11.pkg"
6155
fi
6256
wget "https://www.python.org/ftp/python/${full_version}/${fname}"
6357

dev/tasks/python-wheels/github.linux.yml

-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ jobs:
3939
{% endif %}
4040
PYTHON: "{{ python_version }}"
4141
PYTHON_ABI_TAG: "{{ python_abi_tag }}"
42-
{% if python_version == "3.13" %}
43-
PYTHON_IMAGE_TAG: "3.13-rc"
44-
{% else %}
4542
PYTHON_IMAGE_TAG: "{{ python_version }}"
46-
{% endif %}
4743

4844
steps:
4945
{{ macros.github_checkout_arrow()|indent }}

0 commit comments

Comments
 (0)