Skip to content

Commit

Permalink
Don't override the ICs in the pants script on MacOS Silicon.
Browse files Browse the repository at this point in the history
We used to need this because pants ran on Python 3.7-3.9
generally, but only on 3.9 on MacOS Silicon.

It is no longer necessary to do so, since the repo-wide
ICs are 3.9.* anyway now.

Setting this was not harmless, as it would override the ICs in
other repos when running from sources with PANTS_SOURCE=.
  • Loading branch information
benjyw committed Aug 14, 2023
1 parent 3bbf36f commit e7a9c10
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pants
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ source "${HERE}/build-support/common.sh"
PY="$(determine_python)"
export PY

if is_macos_arm; then
export PANTS_PYTHON_INTERPRETER_CONSTRAINTS="${PANTS_PYTHON_INTERPRETER_CONSTRAINTS:-"['==3.9.*']"}"
fi

# Exposes:
# + activate_pants_venv: Activate a virtualenv for pants requirements, creating it if needed.
# shellcheck source=build-support/pants_venv
Expand Down

0 comments on commit e7a9c10

Please sign in to comment.