Spike: Investigate using `uv` to manage envtire project

Open
#246 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reading linked issue 245 and the upstream uv issue 5903, then inspect the template's current environment, task, and dependency-management approach. Done means producing a reasonable, documented set of instructions for moving the project to uv and recording the relevant issues or unknowns.

Written by the indexing model from the issue text.

Description

devcontainer

https://github.com/DiamondLightSource/python-copier-template/issues/245 is an easy win, we would like to make further use of uv. Python projects have always required a slightly awkward bringing together of many tools from many vendors, one well-written tool that can manage the venv, tasks and dependencies would be very useful.

For tasks (i.e. a replacement for tox) there is an outstanding issue upstream: https://github.com/astral-sh/uv/issues/5903

@coretl to comment on the issues/unknowns that need to be investigated.

Acceptance Criteria

  • A reasonable set of instructions for moving to uv is produced
Dominant language
Jinja
Stars
28
Forks
10
Avg merge
3d 4h
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DiamondLightSource/python-copier-template

All issues in DiamondLightSource/python-copier-template

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.