Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
GH-47438: [Python][Packaging] Set up wheel building for Python 3.14#47616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
016d4f855516c70da81ee700896d522bd9c20770dfd46b035767e2c44e6706ac3f4e0c90260951853f4451fe247add85787f84d5550d1c5ed0b86b9dc5fea07706a677ed3b571db44e4ce1516da48f06741d4708ea1278b1030a08077aa136f5f0331c5e76e9bab8a0e4ad2a3abf9e6edf5f60aa92a23fed83b6ee59f09326a7f72File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -26,9 +26,13 @@ FROM ${base} | ||
| ARG python=3.13 | ||
| RUN (if "%python%"=="3.13" setx PYTHON_VERSION "3.13.1") & \ | ||
| (if "%python%"=="3.14" setx PYTHON_VERSION "3.14.0") | ||
| SHELL ["powershell", "-NoProfile", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | ||
| RUN $filename = 'python-3.13.1-amd64.exe'; \ | ||
| $url = 'https://www.python.org/ftp/python/3.13.1/' + $filename; \ | ||
| RUN $version = $env:PYTHON_VERSION; \ | ||
| $filename = 'python-' + $version + '-amd64.exe'; \ | ||
| $url = 'https://www.python.org/ftp/python/' + $version + '/' + $filename; \ | ||
AlenkaF marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| Invoke-WebRequest -Uri $url -OutFile $filename; \ | ||
| Start-Process -FilePath $filename -ArgumentList '/quiet', 'Include_freethreaded=1' -Wait | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -82,6 +82,7 @@ RUN --mount=type=secret,id=github_repository_owner \ | ||
| export GITHUB_REPOSITORY_OWNER=$(cat /run/secrets/github_repository_owner); \ | ||
| export GITHUB_TOKEN=$(cat /run/secrets/github_token); \ | ||
| export VCPKG_BINARY_SOURCES=$(cat /run/secrets/vcpkg_binary_sources); \ | ||
| export CMAKE_POLICY_VERSION_MINIMUM=3.5; \ | ||
raulcd marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| arrow/ci/scripts/install_vcpkg.sh ${VCPKG_ROOT} ${vcpkg} && \ | ||
| vcpkg install \ | ||
| --clean-after-build \ | ||
| @@ -110,10 +111,5 @@ RUN PYTHON_ROOT=$(find /opt/python -name cp${PYTHON_VERSION/./}-${PYTHON_ABI_TAG | ||
| SHELL ["/bin/bash", "-i", "-c", "-l"] | ||
| ENTRYPOINT ["/bin/bash", "-i", "-c", "-l"] | ||
| # Remove once there are released Cython wheels for 3.13 free-threaded available | ||
| RUN if [ "${python_abi_tag}" = "cp313t" ]; then \ | ||
| pip install cython --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" --prefer-binary ; \ | ||
| fi | ||
| COPY python/requirements-wheel-build.txt /arrow/python/ | ||
| RUN pip install -r /arrow/python/requirements-wheel-build.txt | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.