Skip to content

Commit

Permalink
Do not patch pyenv-build anymore
Browse files Browse the repository at this point in the history
The proposed patch was merged upstream and it's not required anymore.
See pyenv/pyenv#2074
  • Loading branch information
humitos committed Sep 27, 2021
1 parent fba017d commit 9528849
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/compile_version_upload_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ echo "Running all the commands in Docker container: $CONTAINER_ID"
# Install the tool version requested
if [[ $TOOL == "python" ]]
then
# Download list for all Python to force pyenv to be installed
docker exec $CONTAINER_ID asdf list all python &> /dev/null
# Patch pyenv to not update conda when installing pip
# https://github.com/pyenv/pyenv/issues/2070
docker exec $CONTAINER_ID patch -p0 /home/docs/.asdf/plugins/python/pyenv/plugins/python-build/bin/python-build /tmp/python-build.diff
# Remove .git because otherwise the patch is reset
docker exec $CONTAINER_ID rm -rf /home/docs/.asdf/plugins/python/pyenv/.git

docker exec --env PYTHON_CONFIGURE_OPTS="--enable-shared" $CONTAINER_ID asdf install $TOOL $VERSION
else
docker exec $CONTAINER_ID asdf install $TOOL $VERSION
Expand Down

0 comments on commit 9528849

Please sign in to comment.