Support extras for `tasks.libraries.whl` on classic clusters (follow-up to #1602)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
調査の方向性
Start by tracing how the CLI resolves tasks.libraries.whl paths during deployment and how it passes wheel library references to classic job clusters; compare that flow with the serverless dependencies handling cited in the issue. The report gives no source files or tests, so first locate those entry points and their tests. Done means a wheel reference with [my-extra] deploys and installs the extra on a classic cluster, while plain wheel references still work.
索引モデルが issue の本文から書いたものです。
説明
Hi, this is a follow-up to #1602. Extras on local wheels work now for serverless environment dependencies (#6291), which is great, but they dont work for tasks.libraries.whl, so jobs on classic job clusters cant use them.
We split our wheel into extras per domain, because we dont want every job to install libraries it does not need, and we want one pin in pyproject.toml instead of a second pin in the job config.
What we see:
whl: ./dist/*.whl[my-extra]fails at deploy withno files match pattern: dist/*.whl[my-extra]whl: /Workspace/.../my_package-0.1.0-py3-none-any.whl[my-extra]deploys, but the library install on the cluster fails with "The library file does not exist or the user does not have permission to read the library file"- the same absolute path without
[my-extra]installs fine, so it looks like the suffix is read as part of the file name
Minimal config:
artifacts:
my_package:
type: whl
build: uv build --wheel
path: .
resources:
jobs:
my_job:
tasks:
- task_key: main
spark_python_task:
python_file: ./main.py
libraries:
- whl: ./dist/*.whl[my-extra]
new_cluster:
spark_version: 18.0.x-scala2.13
node_type_id: <any>
num_workers: 0
Expected: the wheel installs with the extra, the same as ./dist/*.whl[my-extra] in environment dependencies on serverless.
Workarounds we know: move the job to serverless, or pin the extra libraries again as pypi libraries on the task, which brings back the 2 pins that drift.
If the second part is on the cluster library side and not the CLI, can u route it please?
CLI version: 1.21.0
- 主要言語
- Go
- スター
- 416
- フォーク
- 256
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 206
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
databricks/cli のほかの issue
-
Apps commands only accept relative path to app.yml対応中かも @yuri-rod が 29 日前に担当しました。 オープンCLI
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
databricks/cli#6910 ·
メンテナーはふだん 1 日以内に返信
-
DABs
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
databricks/cli#6670 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bundle validate does not catch missing trigger.table_update.condition with multiple tables対応中かも @yuri-rod が 14 日前に担当しました。 オープンDABs Enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
databricks/cli#7101 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
databricks/cli#7100 ·
メンテナーはふだん 1 日以内に返信
-
UC secrets: supported access to resolved non-secret variables and redaction compatibility対応中かも @andrewnester が今日担当しました。 オープンDABs Enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
databricks/cli#7099 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
Fix mode unpins a reusable workflow call when the same repository is also used as a step actionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/gh-actions-lock#261 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
labmonkeys-space/nl6#974 ·
メンテナーはふだん 1 日以内に返信
-
model:sonnet phase-2-optimize runtime:claude security size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
FootprintAI/Containarium#3471 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] serviceenvupdater filter does not update KUBERNETES_SERVICE_HOST/PORT in init containers対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openyurtio/openyurt#2845 ·
メンテナーはふだん 7 日以内に返信
-
fuzz.yml skips three fuzz targets, and the Action's user input describes only ~/.claude対応中かも @predictor2718 が今日担当しました。 オープンgithub_actions P3 tests
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信