Open kgartland-rstudio opened 7 months ago
Do we expect people to create their project inside a Python venv, and if so, what's the expected behavior?
Do we expect people to create their project inside a Python venv, and if so, what's the expected behavior?
We probably don't expect them to but in rsconnect-python
we do ignore those folders/files successfully. I'm not sure how we do it there, mostly I wonder if we should have parody with rsconnect-python
When deploying where a venv is in a subdirectory, deploys work as expected (and also ignore the venv folder!). However, if you accidentally put the venv in the actual directory you're deploying (like I did) it fails.
It looks like we ignore everything in the directory as the only file in the bundle is the manifest.json that Connect creates. So it fails because it can't find the expected requirements.txt or any other files.
I tried this in
rsconnect-python
and it deploys correctly while ignoring the venv-specific files.