Skip to content

Commit 60e590a

Browse files
committed
use sha to install
1 parent 6bbe230 commit 60e590a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
- name: Install dependencies
5252
run: |
5353
python -m pip install --upgrade pip
54-
python -m pip install "vetiver[dev]"
55-
python -m pip install --upgrade git+https://github.com/rstudio/vetiver-python/@83620230873400fd81ac90b65468f09bb5961a0d
54+
python -m pip install ".[dev]"
55+
python -m pip install --upgrade git+https://github.com/rstudio/vetiver-python/@${{ github.sha }}
5656
- name: run RStudio Connect
5757
run: |
5858
docker-compose up --build -d

vetiver/rsconnect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def deploy_rsconnect(
9999
overwrite=False,
100100
)
101101

102-
with open(temp + "requirements.txt", "w") as file_:
102+
with open(temp + "/requirements.txt", "w") as file_:
103103
subprocess.call(["pip", "freeze"], stdout=file_)
104104

105105
deploy_python_fastapi(

0 commit comments

Comments
 (0)