🤖 Integrate Renovatebot for Automated Dependency Updates
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 52/100
調査の方向性
Start with the proposed renovate.json configuration and inspect the requirements/.in and requirements/.txt workflow, including task dependencies:upgrade. Install the Mend Renovate GitHub App, add the configuration, merge the onboarding PR, and verify that generated dependency-update PRs include the expected source and compiled-file changes and pass CI.
索引モデルが issue の本文から書いたものです。
説明
Overview
Explore integrating Renovatebot as our automated dependency management solution. This complements our recent migration to uv while providing automated dependency updates without requiring migration to pyproject.toml immediately.
Why Renovatebot?
Following discussion in #184, Renovatebot emerged as a superior alternative to Dependabot for our workflow:
✅ Advantages over Manual Workflow
- Automated security updates: Get notified of vulnerabilities with automated fix PRs
- Time savings: No more manual
task dependencies:upgraderuns - Granular control: Group related updates (e.g., Django ecosystem), schedule updates (e.g., Mondays only)
- Better visibility: Track all dependency updates in one place with proper PR descriptions
✅ Advantages over Dependabot
Based on research and community feedback (see #184):
- ✅ Native
uvsupport: Handles bothuv.lockand pip-compile workflows - ✅ Better lock file handling: No issues with marking security fixes as resolved without updating locks
- ✅ More mature: ~10 years old, actively maintained
- ✅ Better configuration: Advanced grouping, scheduling, automerge options
- ✅ Higher API limits: 15,000 requests/hour vs 5,000/hour
✅ Works with Our Current Workflow
Renovatebot supports our current requirements/*.in → requirements/*.txt (pip-compile) workflow:
- Updates source files (
.in) - Automatically regenerates compiled files (
.txt) - Creates PRs with both changes included
Heroku Native uv Support
Heroku now supports uv natively (announcement, docs) as of May 2025.
Requirements for Heroku uv support:
pyproject.toml+uv.lock+.python-version- Must remove
requirements.txtfiles (other package managers take precedence)
Implication: To use Heroku's native uv support, we'd need to migrate from our current .in/.txt workflow to pyproject.toml + uv.lock.
Renovatebot advantage: Supports BOTH workflows, so we can:
- Enable Renovatebot now with our current pip-compile setup
- Migrate to
pyproject.toml+uv.lockwhen ready for Heroku's native uv support - Renovatebot will continue working seamlessly after migration
Implementation Cost
Zero cost, minimal setup:
- ✅ Free: Mend Renovate GitHub App is free for open source projects
- ✅ No infrastructure: Cloud-hosted, no self-hosting required
- ✅ 5-minute setup: Install GitHub App + merge onboarding PR
- ✅ No scripts: Just a
renovate.jsonconfig file
Proposed Configuration
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"pip-compile": {
"managerFilePatterns": ["requirements/.*\\.txt$"]
},
"pip_requirements": { "enabled": false },
"packageRules": [
{
"groupName": "Django ecosystem",
"matchPackagePatterns": ["^[Dd]jango", "^[Ww]agtail"],
"schedule": ["before 9am on monday"]
},
{
"matchUpdateTypes": ["patch"],
"automerge": true,
"automergeType": "pr"
}
],
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 9am on the first day of the month"]
}
}
Key features:
- Groups Django/Wagtail updates together
- Schedules updates for Monday mornings
- Auto-merges patch updates (e.g., 6.0.1 → 6.0.2)
- Monthly lock file refresh for transitive dependencies
Migration Path
Phase 1: Enable Renovatebot (current workflow)
- Install Mend Renovate GitHub App
- Configure for pip-compile workflow
- Merge onboarding PR
- Monitor and tune configuration
Phase 2 (Future): Migrate to pyproject.toml + uv.lock
When ready to use Heroku's native uv support:
- Migrate to
pyproject.toml+uv.lock - Update Renovatebot config to use PEP 621 manager
- Remove pip-compile configuration
- Benefit from Heroku's faster uv deployments
Comparison with Manual Workflow
| Aspect | Manual (task dependencies:upgrade) |
Renovatebot |
|---|---|---|
| Frequency | When we remember | Automated schedule |
| Security alerts | Manual monitoring | Automated PRs |
| Granularity | All-or-nothing | Per-package or grouped |
| Test before merge | Manual | CI runs automatically |
| Time investment | ~30min monthly | ~5min to review PRs |
Next Steps
- Community feedback on this proposal
- Install Mend Renovate GitHub App: https://github.com/apps/renovate
- Create
renovate.jsonwith proposed configuration - Merge onboarding PR
- Monitor first round of dependency update PRs
- Fine-tune configuration based on experience
References
- Issue #184: Dependabot research discussion
- Renovatebot pip-compile docs
- Renovatebot PEP 621/uv docs
- Using uv with dependency bots
- Heroku uv support announcement
- Heroku uv buildpack changelog
- 主要言語
- Python
- スター
- 17
- フォーク
- 27
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PythonIreland/website のほかの issue
-
PSF Grant -Urgent オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
PythonIreland/website#205 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
PythonIreland/website#204 ·
-
dependencies enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
PythonIreland/website#184 · コメント 8 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PythonIreland/website#177 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
PythonIreland/website#171 ·
PythonIreland/website の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·