Chores¶
Before a new version is released, it’s usually a good idea to do some housekeeping.
Python dependencies (uv)¶
Listing outdated dependencies:
uv tree --outdated --depth 1
Upgrade all locked versions of packages:
uv lock --upgrade
Or a specific package:
uv lock --upgrade-package <package>
Frontend Dependencies¶
( cd harp_apps/dashboard/frontend; pnpm list )
To upgrade interactively:
(
cd harp_apps/dashboard/frontend;
pnpm update --interactive
)
Run the tests, luke¶
uv run make qa
Eventually commit the updated dependencies¶
git add -p pyproject.toml uv.lock harp_apps/dashboard/frontend/package.json harp_apps/dashboard/frontend/pnpm-lock.yaml
All good ? Let’s push that.
git commit -m "chore: cleanup and update dependencies"
git push