Skip to content

Commit

Permalink
chore(dev/release): pin Python 3.12 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Oct 14, 2024
1 parent cd24bc0 commit 8f27f72
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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}"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8f27f72

Please sign in to comment.