Skip to content

Commit

Permalink
Move from Python 3.12 RC3 to 3.12.0 released version
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Oct 3, 2023
1 parent 0fc2287 commit b1d98ea
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 20 deletions.
4 changes: 2 additions & 2 deletions ci/docker/python-wheel-windows-test-vs2017.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ RUN (if "%python%"=="3.8" setx PYTHON_VERSION "3.8.10" && setx PATH "%PATH%;C:\P
(if "%python%"=="3.9" setx PYTHON_VERSION "3.9.13" && setx PATH "%PATH%;C:\Python39;C:\Python39\Scripts") & \
(if "%python%"=="3.10" setx PYTHON_VERSION "3.10.11" && setx PATH "%PATH%;C:\Python310;C:\Python310\Scripts") & \
(if "%python%"=="3.11" setx PYTHON_VERSION "3.11.5" && setx PATH "%PATH%;C:\Python311;C:\Python311\Scripts") & \
(if "%python%"=="3.12" setx PYTHON_VERSION "3.12.0-rc3" && setx PATH "%PATH%;C:\Python312;C:\Python312\Scripts")
RUN choco install -r -y --no-progress python --pre --version=%PYTHON_VERSION%
(if "%python%"=="3.12" setx PYTHON_VERSION "3.12.0" && setx PATH "%PATH%;C:\Python312;C:\Python312\Scripts")
RUN choco install -r -y --no-progress python --version=%PYTHON_VERSION%
RUN python -m pip install -U pip setuptools
4 changes: 2 additions & 2 deletions ci/docker/python-wheel-windows-vs2017.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ RUN (if "%python%"=="3.8" setx PYTHON_VERSION "3.8.10" && setx PATH "%PATH%;C:\P
(if "%python%"=="3.9" setx PYTHON_VERSION "3.9.13" && setx PATH "%PATH%;C:\Python39;C:\Python39\Scripts") & \
(if "%python%"=="3.10" setx PYTHON_VERSION "3.10.11" && setx PATH "%PATH%;C:\Python310;C:\Python310\Scripts") & \
(if "%python%"=="3.11" setx PYTHON_VERSION "3.11.5" && setx PATH "%PATH%;C:\Python311;C:\Python311\Scripts") & \
(if "%python%"=="3.12" setx PYTHON_VERSION "3.12.0-rc3" && setx PATH "%PATH%;C:\Python312;C:\Python312\Scripts")
RUN choco install -r -y --no-progress python --pre --version=%PYTHON_VERSION%
(if "%python%"=="3.12" setx PYTHON_VERSION "3.12.0" && setx PATH "%PATH%;C:\Python312;C:\Python312\Scripts")
RUN choco install -r -y --no-progress python --version=%PYTHON_VERSION%
RUN python -m pip install -U pip setuptools

COPY python/requirements-wheel-build.txt arrow/python/
Expand Down
4 changes: 1 addition & 3 deletions ci/scripts/install_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ full_version=${versions[$2]}
if [ $platform = "MacOSX" ]; then
echo "Downloading Python installer..."

if [ "$(uname -m)" = "arm64" ] || [ "$version" = "3.10" ] || [ "$version" = "3.11" ]; then
if [ "$(uname -m)" = "arm64" ] || [ "$version" = "3.10" ] || [ "$version" = "3.11" ] || [ "$version" = "3.12" ]; then
fname="python-${full_version}-macos11.pkg"
elif [ "$version" = "3.12" ]; then
fname="python-3.12.0rc3-macos11.pkg"
else
fname="python-${full_version}-macosx10.9.pkg"
fi
Expand Down
11 changes: 0 additions & 11 deletions dev/tasks/python-wheels/github.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,10 @@ jobs:
# TODO(kszucs): auditwheel show
- name: Test wheel
shell: bash
if: |
'{{ python_version }}' != '3.12'
run: |
archery docker run python-wheel-manylinux-test-imports
archery docker run python-wheel-manylinux-test-unittests
- name: Test wheel fo3 Python 3.12 RC
shell: bash
if: |
'{{ python_version }}' == '3.12'
env:
PYTHON: "3.12.0rc3"
run: |
archery docker run python-wheel-manylinux-test-imports
archery docker run python-wheel-manylinux-test-unittests
- name: Test wheel on AlmaLinux 8
shell: bash
if: |
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ services:
args:
arch: ${ARCH}
arch_short: ${ARCH_SHORT}
base: quay.io/pypa/manylinux2014_${ARCH_ALIAS}:2023-09-24-36b93e4
base: quay.io/pypa/manylinux2014_${ARCH_ALIAS}:2023-10-03-72cdc42
vcpkg: ${VCPKG}
python: ${PYTHON}
manylinux: 2014
Expand All @@ -1056,7 +1056,7 @@ services:
args:
arch: ${ARCH}
arch_short: ${ARCH_SHORT}
base: quay.io/pypa/manylinux_2_28_${ARCH_ALIAS}:2023-09-24-36b93e4
base: quay.io/pypa/manylinux_2_28_${ARCH_ALIAS}:2023-10-03-72cdc42
vcpkg: ${VCPKG}
python: ${PYTHON}
manylinux: 2_28
Expand Down

0 comments on commit b1d98ea

Please sign in to comment.