DiamondLightSource / DiamondLightSource/python-copier-template

Use custom devcontainer images with unexpected python instalations

未关闭
#329 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jinja
星标
25
派生
10
平均合并
4 小时 4 分钟
30 天内合并 PR
6

描述

The uv setup relies on the standard devcontainer image which comes with the repo. If attempting to switch image, the default uv integration fails.

Resolved by clearing existing uv setup and installing fresh, then using `$ uv venv --seed --system-site-packages` to create the venv. Run programs with `$ uv run python /workspaces/path_to_file/file.py`.

贡献指南

打开贡献指南

调研方向

Start by reproducing the uv setup with a custom devcontainer image and compare it with the repository's standard image. Verify the existing uv setup can be cleared and recreated with `uv venv --seed --system-site-packages`, then confirm programs run through `uv run python`.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
devops, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。