posit-dev / posit-dev/rsconnect-python

remove `conda_mode` as a required argument for `deploy_python_fastapi`

Open
#522 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
37
Forks
28
Avg merge
1d 3h
Merged PRs (30d)
7

Description

as of v1.21.0, conda_mode is no longer supported. However, it is currently still a required argument for deploy_python_fastapi. It might make more sense for users to make this optional/raise a deprecation warning/as a kwarg since it can no longer be used.

CC: @tdstein @mmarchetti

Contributor guide

Open the contributing guide

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 at rsconnect/actions.py:854 and read the deploy_python_fastapi entry point and its surrounding argument handling. Done means conda_mode is no longer required, with the chosen optional, deprecation-warning, or keyword-argument behavior made explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.