Skip to content

Move to UV #80

@a-musing-moose

Description

@a-musing-moose

🎯Aim

Convert template to use UV instead of Poetry

📕Context

Uv is a relative newcomer to the Python ecosystem but it has rapidly displaced the current tooling for a couple of reasons:

  • It is extremely fast
  • It can not only manage Python dependencies, but Python itself

This is on top of being able to manage project life cycles efficiently.

📝Relevant resources/doc's/people

  • Migrate-to-uv is a tool that does a reasonably good job of updating the pyproject.toml of existing projects in order to make them work with uv
  • Guide to migrating to UV from Astral, the authors of uv.

✅Acceptance Criteria

  • Project can be installed with uv
  • Documentation reflects the need for uv instead of pyenv and poetry
  • Dockerfile updated to use uv to build wheel and export frozen requirements
  • Github actions are updated both within the project and in the template to use uv instead of poetry.
  • An ADR exists to record the transition and the reasoning.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions