Managing Dependencies with Renovate¶
This guide explains how automated dependency updates work in aclarknet via Renovate, and what to do when a Renovate PR arrives.
Overview¶
Renovate is configured to automatically open pull requests when Python or JavaScript dependencies have new versions available. This keeps the project current without manual scanning.
Configuration is in renovate.json at the project root.
Schedule¶
Renovate runs on a weekly schedule — Monday before 6am ET. Expect a batch of PRs early Monday morning when updates are available.
What Gets Updated¶
Python packages — defined in
pyproject.tomlnpm packages — defined in
package.json
Automerge vs. Manual Review¶
Most patch and minor updates are grouped and may be automerged if CI passes. However, the following require manual review before merging:
Django — major and minor upgrades can require migration changes, settings updates, or deprecation fixes.
Wagtail — similarly complex; always review the Wagtail changelog before merging.
For any Renovate PR touching Django or Wagtail:
Read the relevant changelog/release notes.
Run migrations locally:
just mRun tests:
just tCheck the admin and Wagtail interfaces manually.
Merge only if everything passes.
Merging a Routine Renovate PR¶
For non-Django/Wagtail updates:
Review the PR diff — confirm only version numbers changed.
Check CI passes (GitHub Actions).
Pull the branch locally and run
just tif in doubt.Merge and deploy with
just deploy-remote(orjust dpr).
Skipping or Deferring an Update¶
If a dependency update is not ready to merge, close the PR. Renovate
will re-open it on the next scheduled run. To permanently ignore a
package, add it to the ignoreDeps list in renovate.json.