Migrating from Submodule to uv
Use this page to migrate an RTL project from the legacy rtl_buddy submodule flow to a pinned uv dependency.
Current state
rtl_buddy is currently distributed as a git submodule under tools/rtl_buddy in your RTL project. Installation is via pip install -r requirements.txt where requirements.txt contains -e tools/rtl_buddy.
Planned state
The target distribution mechanism is uv with a pinned git reference:
or equivalently:
This eliminates the submodule and replaces it with a locked dependency in uv.lock.
Migration guide
This section will be updated when the uv distribution path is released. The migration will involve:
- Removing the
tools/rtl_buddysubmodule from your project. - Adding a
pyproject.tomloruvconfig pointing to thertl_buddygit repo at a pinned tag. - Running
uv syncto install. - Updating CI scripts that reference
tools/rtl_buddypaths.
Watch the rtl_buddy release notes for the release that ships the uv-compatible package.