-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support updating uv.lock
#10478
Comments
DEPS: - Support updating uv.lock dependabot/dependabot-core#10478
Hell ye 🙌 |
We're stuck with Dependabot due to corporate reasons and we'd love Dependabot support for uv.lock files as soon as possible. |
This has also blocked us, so +1 for prioritising this. As a stopgap in the meantime, I've hacked together a small GitHub Actions workflow which provides fairly similar functionality to unblock our project whilst we wait. A small demo is available here https://github.com/EdmundGoodman/update-bot if it is helpful to anyone else. It slightly differs from dependabot in that it makes a PR on a cron schedule if any dependency can be updated rather than whenever a security vulnerability is found, but is good enough for us for now. It differs from other workflows I've seen in this thread, as it PRs rather than just directly committing to main which could break things. |
Hi everyone, according to Astral, uv is used to download over 200M packages from pypi everyday. I verified this info via BigQuery and it is true as yesterday there were 219M downloads from pypi out of 1950M downloads. A total of 11% of all requests made. Another tool that dependabot supports is poetry and it only comprises <4% of all requests on the same date. Please see that uv is a extremely relevant project that would be incredibly appreciated if dependabot supports. I don't know if there is any maintainer reading this, but please check the stats. Query:
|
As this is taking a while, I have created a github action as a temporary workaround which mimics pip-complile for dependabot. If the previous commit author is dependabot it will add the new updated requirements.txt as constraint to pyproject.toml and run It exports there is a demo https://github.com/win845/uv-light which has couple of outdated major and minor dependencies, causing dependabot to make pull requests. NOTE: the extra commit in a github action will not retrigger the workflow again by convention |
Is there an existing issue for this?
Feature description
Now that uv has a lockfile, it would be nice if dependabot supported making updates to
pyproject.toml
and/oruv.lock
using uv.Related:
The text was updated successfully, but these errors were encountered: