Write no installer preference for uv.lock bundles
維護者通常 1 天內回覆
評估
這個 Issue 還沒有評估資料。
描述
-r uv.lock writes "package_manager": {"name": "uv", ...} into manifest.json.
Connect treats name: uv as requiring uv, so these deploys fail on any server that sets Python.AllowUv = false:
Server does not allow uv package manager
The bundled requirements.txt.lock comes from uv export --no-hashes, so it is a plain pinned requirements file that pip can install.
#750 introduced name: uv and gives no reason for it.
Expected: a -r uv.lock bundle has no installer preference, the same as -r requirements.txt: name: pip with no allow_uv.
Connect then uses the server's default package installer.
Pins are exact, so the installed versions are the same whichever installer runs.
--package-installer keeps its meaning:
| Option | Manifest |
|---|---|
| none | name: pip, no allow_uv |
--package-installer pip |
name: pip, allow_uv: false |
--package-installer uv |
name: uv, allow_uv: true |
Acceptance criteria:
write-manifestanddeploywith-r uv.lockand no--package-installerwritename: pipwith noallow_uv.--package-installerwith-r uv.lockwrites the values in the table.- Manifest tests cover all three rows for
-r uv.lock.
- 主要語言
- Python
- 星號
- 38
- 分支
- 28
- 平均合併
- 1 天 4 小時
- 30 天內合併 PR
- 59
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
posit-dev/rsconnect-python 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
posit-dev/rsconnect-python#998 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
posit-dev/rsconnect-python#786 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
posit-dev/rsconnect-python#543 · 2 則留言 ·
維護者通常 1 天內回覆
-
Evaluate Python dependency source precedence可能已有人在做 @tdstein 於 13 天前認領。 未關閉enhancement ready-for-agent
難度 4/5 1-2 天 新手友好度 52/100
posit-dev/rsconnect-python#975 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 50/100
posit-dev/rsconnect-python#857 · 1 則留言 ·
維護者通常 1 天內回覆
查看 posit-dev/rsconnect-python 的全部 Issue
相似的 Issue
-
Task select patterns with uppercase letters never match可能已有人在做 @manobhisriram 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
app: scripts status: backlog type: housekeeping
難度 1/5 1-3 小時 新手友好度 88/100
netbox-community/netbox-scripts#239 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
developmentseed/titiler-cmr#341 ·
維護者通常 1 天內回覆
-
Card tables add "..." to every value in a DataFrame column when any value is longer than 30 characters可能已有人在做 @omkarbandikatte 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆