Skip to content

Commit 21e72ad

Browse files
committed
Try single build
1 parent 3f7f726 commit 21e72ad

6 files changed

Lines changed: 125 additions & 199 deletions

File tree

ci/scripts/python_wheel_macos_build.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,8 @@ export CMAKE_PREFIX_PATH=${build_dir}/install
177177
export SETUPTOOLS_SCM_PRETEND_VERSION=${PYARROW_VERSION}
178178

179179
pushd ${source_dir}/python
180-
# We first populate stub docstrings and then build the wheel
181-
python setup.py build_ext --inplace
180+
# Install libcst for build-time stub docstring extraction
182181
python -m pip install libcst
183-
python ../dev/update_stub_docstrings.py pyarrow-stubs
184-
185182
python setup.py bdist_wheel
186183
popd
187184

ci/scripts/python_wheel_windows_build.bat

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,8 @@ set CMAKE_PREFIX_PATH=C:\arrow-dist
132132

133133
pushd C:\arrow\python
134134

135-
@REM We first populate stub docstrings and then build the wheel
136-
%PYTHON_CMD% setup.py build_ext --inplace
135+
@REM Install libcst for build-time stub docstring extraction
137136
%PYTHON_CMD% -m pip install libcst
138-
%PYTHON_CMD% ..\dev\update_stub_docstrings.py pyarrow-stubs
139137

140138
@REM Build wheel
141139
%PYTHON_CMD% setup.py bdist_wheel || exit /B 1

ci/scripts/python_wheel_xlinux_build.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,8 @@ export ARROW_HOME=/tmp/arrow-dist
167167
export CMAKE_PREFIX_PATH=/tmp/arrow-dist
168168

169169
pushd /arrow/python
170-
# We first populate stub docstrings and then build the wheel
171-
python setup.py build_ext --inplace
170+
# Install libcst for build-time stub docstring extraction
172171
python -m pip install libcst
173-
python ../dev/update_stub_docstrings.py pyarrow-stubs
174-
175172
python setup.py bdist_wheel
176173

177174
echo "=== Strip symbols from wheel ==="

0 commit comments

Comments
 (0)