DiamondLightSource / DiamondLightSource/python-copier-template

Use custom devcontainer images with unexpected python instalations

Open
#329 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
25
Forks
10
Avg merge
4h 4m
Merged PRs (30d)
6

Description

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`.

Contributor guide

Open the contributing guide

Research direction

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`.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.