Skip to content

Commit

Permalink
add virtualenv to bypass system packages requirement with pip. Bump p…
Browse files Browse the repository at this point in the history
…yYAML (#32625)
  • Loading branch information
volatilemolotov authored Oct 2, 2024
1 parent 3226673 commit 721cbba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ apt install -y apt-transport-https ca-certificates software-properties-common cu
add-apt-repository -y ppa:deadsnakes/ppa > /dev/null 2>&1 && apt update > /dev/null 2>&1
apt install -y python3.8 python3.8-distutils python3-pip > /dev/null 2>&1
apt install -y --reinstall python3.8-distutils > /dev/null 2>&1
apt install -y python3-virtualenv
virtualenv play_venv
source play_venv/bin/activate
pip install --upgrade google-api-python-client > /dev/null 2>&1
python3.8 -m pip install pip --upgrade > /dev/null 2>&1
ln -s /usr/bin/python3.8 /usr/bin/python > /dev/null 2>&1
Expand Down
2 changes: 1 addition & 1 deletion playground/infrastructure/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mock==4.0.3
pytest==6.2.5
pytest-asyncio==0.18.2
pytest-mock==3.6.1
PyYAML==6.0
PyYAML==6.0.2
tqdm~=4.62.3
sonora==0.2.2
pydantic==1.10.13
Expand Down

0 comments on commit 721cbba

Please sign in to comment.