From 8f27f721169de96636eb75942cc20557cd90ba32 Mon Sep 17 00:00:00 2001 From: David Li Date: Sun, 13 Oct 2024 22:29:42 -0400 Subject: [PATCH] chore(dev/release): pin Python 3.12 for now --- dev/release/verify-release-candidate.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index d4228640b0..cb1107d4ec 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -513,10 +513,11 @@ test_cpp() { # Build and test C++ maybe_setup_go + # XXX: pin Python for now since various other packages haven't caught up maybe_setup_conda \ --file ci/conda_env_cpp.txt \ compilers \ - go=1.21 || exit 1 + go=1.22 python=3.12 || exit 1 if [ "${USE_CONDA}" -gt 0 ]; then export CMAKE_PREFIX_PATH="${CONDA_BACKUP_CMAKE_PREFIX_PATH}:${CMAKE_PREFIX_PATH}" @@ -560,7 +561,8 @@ test_python() { # Build and test Python maybe_setup_virtualenv cython duckdb pandas protobuf pyarrow pytest setuptools_scm setuptools importlib_resources || exit 1 - maybe_setup_conda --file "${ADBC_DIR}/ci/conda_env_python.txt" || exit 1 + # XXX: pin Python for now since various other packages haven't caught up + maybe_setup_conda --file "${ADBC_DIR}/ci/conda_env_python.txt" python=3.12 || exit 1 if [ "${USE_CONDA}" -gt 0 ]; then CMAKE_PREFIX_PATH="${CONDA_BACKUP_CMAKE_PREFIX_PATH}:${CMAKE_PREFIX_PATH}" @@ -669,7 +671,7 @@ test_go() { # apache/arrow-adbc#517: `go build` calls git. Don't assume system # has git; even if it's there, go_build.sh sets DYLD_LIBRARY_PATH # which can interfere with system git. - maybe_setup_conda compilers git go=1.21 || exit 1 + maybe_setup_conda compilers git go=1.22 || exit 1 if [ "${USE_CONDA}" -gt 0 ]; then # The CMake setup forces RPATH to be the Conda prefix