Skip to content

Commit

Permalink
pyenv
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-kap committed Sep 24, 2023
1 parent 8bbeba0 commit 70b71eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_data_vercel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ yum install -y python3

# Fixes this error: https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html#ssl-module-is-compiled-with-openssl-1-0-2-k-fips
# TODO: remove when Vercel upgrades to Amazon Linux 2023
yum remove openssl-devel-1.0.2k-24.amzn2.0.9.x86_64
yum remove openssl openssl-devel
yum update openssl11 openssl11-devel
yum install -y openssl11 openssl11-devel

yum install pyenv
pyenv install 3.10.13
pyenv global 3.10.13

pip3 install --user poetry
cd python || exit
export PATH=$PATH:$HOME/.local/bin
Expand Down

0 comments on commit 70b71eb

Please sign in to comment.