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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.