Repository navigation
Open
Labels
Description
Executive Summary
After researching Dependabot integration with our current uv-based dependency management workflow, we've decided to continue with manual dependency management for now and revisit when Dependabot adds native uv support.
Current Dependency Workflow
Our project uses a multi-file requirements approach:
- Source files:
requirements/main.in,requirements/dev.in,requirements/production.in(dependencies without pinned versions) - Compiled files:
requirements/main.txt,requirements/dev.txt,requirements/production.txt(auto-generated with exact pinned versions viauv pip compile)
Existing tools that work well:
task dependencies:upgrade- Update all dependenciestask dependencies:security- Vulnerability scanning with pip-audit- Dependabot security alerts - Already active (GitHub default feature)
Research Findings
1. uv is NOT natively supported by Dependabot (December 2024)
Despite strong community interest:
- Support python uv as pip-compile compatible replacement (185+ 👍)
- Support updating uv.lock (572+ 👍)
- See this interesting comment: GitHub's response on uv.lock support status
2. Version Pinning Problem
- Our
.infiles specify dependencies without exact versions (e.g.,DjangonotDjango==6.0) - Only
.txtfiles have exact pinned versions (auto-generated) - Dependabot can't effectively monitor
.infiles without version constraints - Monitoring
.txtfiles would create PRs for auto-generated files (breaks our workflow)
3. Current Workaround Requires Major Migration
The recommended approach requires:
- Migrating to
pyproject.tomlfor dependency specification - GitHub Action to auto-regenerate lockfiles when Dependabot updates
pyproject.toml - Significant project restructuring
See: Keep uv.lock file up-to-date with Dependabot updates
4. pip-compile Support Has Limitations
While Dependabot supports pip-compile, there are known issues:
- Formatting changes between pip-tools versions
- Transitive dependency conflicts
Decision: Continue Manual Workflow
Reasons:
- ✅ uv is not yet supported natively by Dependabot
- ✅ Current workflow with
task dependencies:*commands works well - ✅ Security alerts are already active (most critical feature)
- ✅ Migration to pyproject.toml would be a significant change
- ✅ Can revisit when Dependabot adds native uv support
What We Keep Monitoring
- Dependabot security alerts (already active)
- Manual updates via
task dependencies:upgrade - Vulnerability scanning via
task dependencies:security - Progress on the uv support issues linked above
When to Revisit
We'll reconsider Dependabot version updates when:
- Native uv support is added to Dependabot, OR
- We migrate to pyproject.toml for other reasons
Activity
ulgens commentedon Jan 1, 2026
Hey @matrixise, is there a reason to focus on Dependabot and not the alternatives?
matrixise commentedon Jan 2, 2026
Hi @ulgens, thanks for your question!
We're already using Dependabot for security alerts, and I prefer to stick with it rather than switching to an alternative that might be abandoned in a few years. I'm currently cleaning up the repository to make it easier for others to take over in the future, so stability and longevity of the tools we use is important.
What alternatives were you thinking of?
ulgens commentedon Jan 3, 2026
The last time I checked, Dependabot's security fix PRs for pyproject using repos were broken (marking the security issue as resolved without updating the lock file). I don't trust dependabot for security alerts and wouldn't recommend doing so.
My alternative here was Renovatebot, which has been around for ~10 years and is going strong. It may be even older than Dependabot, and it's definitely working better with modern tooling.
matrixise commentedon Jan 5, 2026
Hi @ulgens,
Thank you for bringing up Renovatebot! I took your suggestion seriously and did some research with Claude's help. You're absolutely right - Renovatebot looks very promising for our use case.
Key findings:
Dependabot limitations: Your concern about Dependabot's broken security fix PRs for pyproject.toml repos is valid and concerning.
Renovatebot advantages:
uv(via PEP 621 manager withuv.lockfiles)pip-compileworkflows (our current.in/.txtsetup)Zero-cost, zero-infrastructure: The Mend Renovate GitHub App is completely free for public repos with no setup beyond a simple config file.
I'm going to create a separate issue to track Renovatebot integration since it's a different approach than the manual workflow we discussed here. This will let us explore both options properly.
Thanks again for the suggestion! 🙏
ulgens commentedon Jan 5, 2026
@matrixise I'm happy that you found it useful. Let me know if there is anything I can help with.
Meanwhile, I have this small repo to store and share what I consider "sane defaults" for Renovate. Feel free to use or copy from that repo if you think it's useful 🌸
ulgens commentedon Jan 5, 2026
Btw, is "Key findings" part of your comment Claude output?
matrixise commentedon Jan 5, 2026
Yep, why?
ulgens commentedon Jan 6, 2026
Nothing important. I didn't understand it the first time I read, then it clicked, and wanted to be sure. Thanks.