Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Release
# ci/docker/python-*-windows-*.dockerfile or the vcpkg config.
# This is a workaround for our CI problem that "archery docker build" doesn't
# use pulled built images in dev/tasks/python-wheels/github.windows.yml.
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2026-01-22
PYTHON_WHEEL_WINDOWS_TEST_IMAGE_REVISION=2026-01-22
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2026-01-27
PYTHON_WHEEL_WINDOWS_TEST_IMAGE_REVISION=2026-01-27

# Use conanio/${CONAN_BASE}:{CONAN_VERSION} for "docker compose run --rm conan".
# See https://github.com/conan-io/conan-docker-tools#readme and
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/python_wheel_macos_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export CMAKE_PREFIX_PATH=${build_dir}/install
export SETUPTOOLS_SCM_PRETEND_VERSION=${PYARROW_VERSION}

pushd ${source_dir}/python
python setup.py bdist_wheel
python -m build --sdist --wheel . --no-isolation
popd

echo "=== (${PYTHON_VERSION}) Show dynamic libraries the wheel depend on ==="
Expand Down
3 changes: 3 additions & 0 deletions ci/scripts/python_wheel_validate_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def validate_wheel(path):
)
]
assert not outliers, f"Unexpected contents in wheel: {sorted(outliers)}"
for filename in ('LICENSE.txt', 'NOTICE.txt'):
assert any(info.filename.endswith(filename) for info in f.filelist), \
f"{filename} is missing from the wheel."
print(f"The wheel: {wheels[0]} seems valid.")


Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/python_wheel_windows_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ set CMAKE_PREFIX_PATH=C:\arrow-dist
pushd C:\arrow\python

@REM Build wheel
%PYTHON_CMD% setup.py bdist_wheel || exit /B 1
%PYTHON_CMD% -m build --sdist --wheel . --no-isolation || exit /B 1

@REM Repair the wheel with delvewheel
@REM
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/python_wheel_xlinux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export ARROW_HOME=/tmp/arrow-dist
export CMAKE_PREFIX_PATH=/tmp/arrow-dist

pushd /arrow/python
python setup.py bdist_wheel
python -m build --sdist --wheel . --no-isolation

echo "=== Strip symbols from wheel ==="
mkdir -p dist/temp-fix-wheel
Expand Down
1 change: 1 addition & 0 deletions python/requirements-wheel-build.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build
cython>=3.1
numpy>=2.0.0
setuptools_scm
Expand Down
Loading