Skip to content

add support for configuring uv in Workbench#799

Draft
brooklynbagel wants to merge 1 commit intomainfrom
feature/uv-config-support-workbench
Draft

add support for configuring uv in Workbench#799
brooklynbagel wants to merge 1 commit intomainfrom
feature/uv-config-support-workbench

Conversation

@brooklynbagel
Copy link

@brooklynbagel brooklynbagel commented Mar 9, 2026

The Helm chart currently doesn't have a way to configure /etc/uv/uv.toml or $XDF_CONFIG_DIRS/uv/uv.toml in order to set the uv index url: https://docs.posit.co/ide/server-pro/admin/python/package_installation.html#configuring-additional-pip-and-uv-settings and https://docs.astral.sh/uv/concepts/configuration-files/. This attempts to resolve the situation by adding support for a config.session.uv\.toml similar to config.session.pip\.conf.

Note: I left this as a draft due to two open questions:

  1. Should a helper for .toml be added to https://github.com/rstudio/helm/blob/main/charts/rstudio-library/templates/_config.tpl like we have for .ini, .gcfg, .json?
  2. An potentially lighter weight solution would just be to update the Helm chart examples to instruct users to set the UV_INDEX_URL environment variable for session pods via our example config: https://docs.posit.co/helm/examples/workbench/application-configuration/ uv already supports a range of configuration via environment variables: https://docs.astral.sh/uv/reference/environment/

@CLAassistant
Copy link

CLAassistant commented Mar 9, 2026

CLA assistant check
All committers have signed the CLA.

@brooklynbagel brooklynbagel force-pushed the feature/uv-config-support-workbench branch from 376d88e to 0b55d0e Compare March 9, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants