DiamondLightSource / DiamondLightSource/python-copier-template

Use uv `centralized-project-envs` preview instead of `UV_PROJECT_ENVIRONMENT`

Đang mở Phù hợp với người mới
#348 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jinja
Star
25
Fork
10
Merge trung bình
4 giờ 4 phút
Pull request đã merge (30 ngày)
6

Mô tả

When https://github.com/astral-sh/uv/pull/18214 is released, then we will be able to get uv to store its venvs in its cache directory. This means we should be able to remove the following settings:
https://github.com/DiamondLightSource/python-copier-template/blob/7fa903a148c16baa5e14371ded403f61cc45f8fd/.devcontainer/devcontainer.json#L16-L29

This ticket is to try this out when a new uv is released and available in `ubuntu-devcontainer`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with .devcontainer/devcontainer.json, especially the settings linked at lines 16-29, and check the uv centralized-project-envs preview once the required uv release is available in ubuntu-devcontainer. Remove the obsolete settings and verify that uv stores project virtual environments in its cache directory.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
devops
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.