Skip to content

Dash app - rsconnect-python missing and old version of dash #134

@SamEdwardes

Description

@SamEdwardes

https://github.com/rstudio/posit-demo-assets/tree/main/Python/dash-app

Just wanted to log two potential problems here. The first is that we're using a pretty old version of Dash. The latest now is 3.1.1. Second, the instructions are going to remain referenced using the RS Connect Python CLI, however that's not installed, based on the requirements.txt or pyproject.toml.

Suggestions:

# Update dash
uv add 'dash>=3.1.1'

# Add rsconnect-python to 'dev' group
uv add rsconnect-python --group dev

# New way to deploy with rsconnect and uv
uv export -o requirements.txt --no-hashes --no-dev \
    && uv run rsconnect deploy dash .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions