Skip to content

uv.toml with private repo and Workspace DABs #5969

Description

@kmarq

Describe the issue

My project contains a uv.toml that set the index url for our private index. Workspace DABs does not have the appropriate environment variable that has the token to actually access the index, and so it fails.

Image

This works in a cli environment due to having the correct access token.

Configuration

uv.toml in the root of the project directory.
[[index]]
name = "my_index"
username = "user"
default = true
authenticate = "always"
url = "https://..."

Steps to reproduce the behavior

In the workspace, open a bundle. During bundle resolution you will get the error

Expected Behavior

Ability to provide a custom index to uv with appropriate environment variables.
OR
Workspace DAB is set to not traverse the project to setup its UV environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DABsDABs related issues

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions