add support for configuring uv in Workbench#799
Draft
brooklynbagel wants to merge 1 commit intomainfrom
Draft
Conversation
376d88e to
0b55d0e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Helm chart currently doesn't have a way to configure
/etc/uv/uv.tomlor$XDF_CONFIG_DIRS/uv/uv.tomlin 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 aconfig.session.uv\.tomlsimilar toconfig.session.pip\.conf.Note: I left this as a draft due to two open questions:
UV_INDEX_URLenvironment 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/