uv.toml with private repo and Workspace DABs

未關閉
#5,969 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
go, python
領域
cli

研究方向

首先,透過開啟包含根 uv.toml 和私有索引的 workspace bundle 來重現故障,然後追蹤 workspace bundle 的解析和 UV 環境設定。檢查必要的權杖環境變數在 workspace 中相對於 CLI 是如何傳遞的。完成的標準是:使用適當的環境變數成功解析私有索引,或 workspace 不再遍歷專案,並為所選擇的行為提供回歸覆蓋。

由索引模型根據 Issue 內容生成。

描述

DABs
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

主要語言
Go
星號
427
分支
267
平均合併
2 天 1 小時
30 天內合併 PR
233

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

databricks/cli 的其他 Issue

查看 databricks/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。