Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,45 @@ updates:
update-types:
- "minor"
- "patch"

- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
groups:
minor-and-patch:
applies-to: version-updates
patterns:
- "*"
update-types:
- "minor"
- "patch"

- package-ecosystem: "uv"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between package ecosystem uv and pip?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependabot introduce uv support last year. The main difference is that pip tracks pyproject.toml but ignores uv.lock, leaving the lockfile out of sync after each Dependabot PR. Using uv tells Dependabot to use uv's own resolver and keep uv.lock in sync automatically.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a preference on which one to use @kylebarron ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think uv is always correct then, or else the uv.lock will be out of sync. I only use uv in all my projects

directory: "/"
schedule:
interval: "weekly"
day: "monday"
groups:
minor-and-patch:
applies-to: version-updates
patterns:
- "*"
update-types:
- "minor"
- "patch"

- package-ecosystem: "pip"
directory: "/obstore"
schedule:
interval: "weekly"
day: "monday"
groups:
minor-and-patch:
applies-to: version-updates
patterns:
- "*"
update-types:
- "minor"
- "patch"
Comment on lines +31 to +57
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to developmentseed/lonboard#1162 (comment), do we need dependabot for python, where it's not forming part of a distributed application

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️

Loading