rstudio / rstudio/vetiver-python

Python VetiverAPI deployment issues to. Posit connect

Open
#218 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
71
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Hello I am facing packaging issues on Posit workbench vs posit connect while deploying a vetiver python model. I am using
vetiver.deploy_rsconnect( connect_server, board=board, pin_name=model_name, )
I want it to use my requirements.txt file but it still uses the default env.
The error i get is this:
ERROR: No matching distribution found for cloud-init==23.1.2 2024/11/19 19:31:49.530226724 pip install failed with exit code 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the vetiver.deploy_rsconnect entry point and trace how deployment packaging selects the environment and requirements.txt. Reproduce the Posit Workbench-to-Posit Connect deployment using the reported cloud-init error; done means the requested requirements.txt is used instead of the default environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.