Skip to content

Commit

Permalink
[release] Fix download script (#40938)
Browse files Browse the repository at this point in the history
Remove Python 3.7 from list of versions to test now that it is deprecated. Also remove grpcio conda install for M1 (we can directly install from PyPI).

Signed-off-by: vitsai <vitsai@cs.stanford.edu>
  • Loading branch information
vitsai committed Nov 3, 2023
1 parent 9d137f9 commit d3c1878
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions release/util/pip_download_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ pip install --upgrade pip
# This is required to use conda activate
source "$(conda info --base)/etc/profile.d/conda.sh"

if [[ $(uname -m) == 'arm64' ]] && [[ $OSTYPE == "darwin"* ]]; then
PYTHON_VERSIONS=( "3.8" "3.9" "3.10" "3.11" )
else
PYTHON_VERSIONS=( "3.7" "3.8" "3.9" "3.10" "3.11" )
fi
PYTHON_VERSIONS=( "3.8" "3.9" "3.10" "3.11" )

for PYTHON_VERSION in "${PYTHON_VERSIONS[@]}"
do
Expand All @@ -50,11 +46,6 @@ do
echo "========================================================="
printf "\n\n\n"

# TODO (Alex): Get rid of this once grpc adds working PyPI wheels for M1 macs.
if [[ $(uname -m) == 'arm64' ]] && [[ $OSTYPE == "darwin"* ]]; then
conda install -y grpcio
fi

# shellcheck disable=SC2102
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple ray[cpp]=="${RAY_VERSION}"

Expand Down

0 comments on commit d3c1878

Please sign in to comment.