Skip to content

Commit

Permalink
Switch to Python 3.12 on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
svenevs committed Mar 1, 2024
1 parent 26b4345 commit de1d080
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drake_cmake_external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ list(APPEND CMAKE_PREFIX_PATH "${CMAKE_INSTALL_PREFIX}")

if(APPLE)
set(FIND_PYTHON_EXECUTABLE_PATHS /usr/local/bin)
set(FIND_PYTHON_INTERP_VERSION 3.11)
set(FIND_PYTHON_INTERP_VERSION 3.12)
else()
set(FIND_PYTHON_EXECUTABLE_PATHS /usr/bin)
set(FIND_PYTHON_INTERP_VERSION 3.6)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project(drake_external_examples)
include(CTest)

if(APPLE)
set(FIND_PYTHON_INTERP_VERSION 3.11)
set(FIND_PYTHON_INTERP_VERSION 3.12)
else()
set(FIND_PYTHON_INTERP_VERSION 3.6)
endif()
Expand Down
4 changes: 3 additions & 1 deletion scripts/setup/mac/install_prereqs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ echo -e "\ndrake VERSION.TXT: $(cat /opt/drake/share/doc/drake/VERSION.TXT)\n"
# Install additional dependencies for development and compatibility examples.
brew bundle --file="$(dirname ${(%):-%x})/Brewfile"

pip3.11 install --upgrade --requirement "$(dirname ${(%):-%x})/requirements.txt"
pip3.12 install \
--upgrade --user --break-system-packages \
--requirement "$(dirname ${(%):-%x})/requirements.txt"

0 comments on commit de1d080

Please sign in to comment.