Support extras for `tasks.libraries.whl` on classic clusters (follow-up to #1602)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 416
- Fork
- 256
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 206
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của databricks/cli
-
Apps commands only accept relative path to app.ymlCó thể đã có người làm @yuri-rod đã nhận 29 ngày trước. Đang mởCLI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
databricks/cli#6910 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DABs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
databricks/cli#6670 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bundle validate does not catch missing trigger.table_update.condition with multiple tablesCó thể đã có người làm @yuri-rod đã nhận 14 ngày trước. Đang mởDABs Enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
databricks/cli#7101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
databricks/cli#7100 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
UC secrets: supported access to resolved non-secret variables and redaction compatibilityCó thể đã có người làm @andrewnester đã nhận hôm nay. Đang mởDABs Enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
databricks/cli#7099 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của databricks/cli
Issue tương tự
-
bug good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
[mesheryctl] design delete fails when passing file or URL as positional argumentCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởcomponent/mesheryctl kind/bug language/go
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
meshery/meshery#22772 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backend security size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
limitlessprojects/Go-Hybrid#3342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status/ready type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
buildpacks/pack#2733 ·
Maintainer thường phản hồi trong vòng 1 ngày