Skip to content

Commit 272bb5f

Browse files
authored
Use python3-pip and explicit python versions (#1950)
* Use python3-pip and explicit python versions * Missed explicit 3
1 parent 512fb47 commit 272bb5f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deploy-python-backend-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
sudo add-apt-repository ppa:deadsnakes/ppa -y
2626
sudo apt update
27-
sudo apt install python3.11 python3.11-venv python3.11-pip
27+
sudo apt install python3.11 python3.11-venv python3-pip
2828
- name: Build and deploy to Firebase
2929
uses: w9jds/firebase-action@v13.18.0
3030
with:

firebase.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
},
1515
{
1616
"predeploy": [
17-
"python3 -m venv llm/venv",
17+
"python3.11 -m venv llm/venv",
1818
". llm/venv/bin/activate",
19-
"pip3 install -r llm/requirements.txt"
19+
"python3.11 -m pip install -r llm/requirements.txt"
2020
],
2121
"source": "llm",
2222
"codebase": "maple-llm",

infra/firebase.compose.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
},
1414
{
1515
"predeploy": [
16-
"python3 -m venv llm/venv",
16+
"python3.11 -m venv llm/venv",
1717
". llm/venv/bin/activate",
18-
"pip3 install -r llm/requirements.txt"
18+
"python3.11 -m pip install -r llm/requirements.txt"
1919
],
2020
"source": "llm",
2121
"codebase": "maple-llm",

0 commit comments

Comments
 (0)