Skip to content

Commit 0721f16

Browse files
committed
do not always generate requirements
1 parent 4c80f1c commit 0721f16

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
python -m pip install --upgrade pip
5454
python -m pip install ".[dev]"
5555
python -m pip install --upgrade git+https://github.com/rstudio/vetiver-python@${{ github.sha }}
56+
echo {{ github.sha }}
5657
- name: run RStudio Connect
5758
run: |
5859
docker-compose up --build -d

vetiver/rsconnect.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from rsconnect.actions import deploy_python_fastapi
44
import shutil
55
import os
6-
import subprocess
76

87
from .write_fastapi import write_app
98

@@ -99,9 +98,6 @@ def deploy_rsconnect(
9998
overwrite=False,
10099
)
101100

102-
with open(temp + "/requirements.txt", "w") as file_:
103-
subprocess.call(["pip", "freeze"], stdout=file_)
104-
105101
deploy_python_fastapi(
106102
connect_server=connect_server,
107103
directory=temp,

0 commit comments

Comments
 (0)