Skip to content

Commit c3216f1

Browse files
authored
fix(dev/release): add CONDA_BUILD=1 when verifying with USE_CONDA=1 (#4180)
Ran into an issue when verifying with some driver-manager tests failing, turned out to be the mismatch between using a conda environment but CONDA_BUILD wasn't set. So the test for a specific error message didn't get the message it was expecting. Adding the right `export CONDA_BUILD=1` was sufficient to fix the verification.
1 parent 8b056e1 commit c3216f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dev/release/verify-release-candidate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ test_cpp() {
530530
export CMAKE_PREFIX_PATH="${CONDA_BACKUP_CMAKE_PREFIX_PATH}:${CMAKE_PREFIX_PATH}"
531531
# The CMake setup forces RPATH to be the Conda prefix
532532
export CPP_INSTALL_PREFIX="${CONDA_PREFIX}"
533+
export CONDA_BUILD=1
533534
else
534535
export CPP_INSTALL_PREFIX="${ARROW_TMPDIR}/local"
535536
fi

0 commit comments

Comments
 (0)