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
-
app: scripts status: backlog type: housekeeping
难度 1/5 1-3 小时 新手友好度 88/100
netbox-community/netbox-scripts#239 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
LmeSzinc/AzurLaneAutoScript#6194 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
micronaut-projects/micronaut-core#14585 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
langgenius/graphon#443 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复