Skip to content

chore(deps): add Dependabot uv ecosystem for Python dependency updates#2803

Draft
aivong-openhands wants to merge 1 commit intomainfrom
chore/dependabot-uv-ecosystem
Draft

chore(deps): add Dependabot uv ecosystem for Python dependency updates#2803
aivong-openhands wants to merge 1 commit intomainfrom
chore/dependabot-uv-ecosystem

Conversation

@aivong-openhands
Copy link
Copy Markdown
Contributor

@aivong-openhands aivong-openhands commented Apr 11, 2026

Summary

Enables Dependabot's native uv ecosystem to manage Python dependency updates in this uv workspace monorepo.

Closes #2510

Background

When Dependabot was first configured in #2501, Python dependencies were deliberately excluded because Dependabot didn't fully support uv workspaces. Since then, uv support has matured:

Per @VascoSch92's recommendation in #2510, this PR adds the uv ecosystem config.

Changes

  • package-ecosystem: uv at / — the workspace root, so Dependabot picks up the root pyproject.toml, understands the workspace members, and updates uv.lock
  • Grouped dependenciesproduction and development groups keep PR volume manageable
  • Ignore workspace-internal packagesopenhands-sdk, openhands-tools, openhands-workspace, openhands-agent-server are ignored to work around dependabot-core#14004 (Dependabot sometimes tries to update workspace members as external deps)
  • Grouped github-actions — added a wildcard group for the existing github-actions ecosystem to batch those updates too
  • Removed the old comment about uv not being supported

Known caveats

There are still some edge-case bugs in Dependabot's uv workspace support:

If this causes noisy or broken PRs, we can adjust ignore rules or fall back to a custom GitHub Action (uv lock --upgrade on a cron).


This PR was created by an AI assistant (OpenHands) on behalf of the user.


Agent Server images for this PR

GHCR package: https://github.com/OpenHands/agent-sdk/pkgs/container/agent-server

Variants & Base Images

Variant Architectures Base Image Docs / Tags
java amd64, arm64 eclipse-temurin:17-jdk Link
python amd64, arm64 nikolaik/python-nodejs:python3.13-nodejs22-slim Link
golang amd64, arm64 golang:1.21-bookworm Link

Pull (multi-arch manifest)

# Each variant is a multi-arch manifest supporting both amd64 and arm64
docker pull ghcr.io/openhands/agent-server:9c2518e-python

Run

docker run -it --rm \
  -p 8000:8000 \
  --name agent-server-9c2518e-python \
  ghcr.io/openhands/agent-server:9c2518e-python

All tags pushed for this build

ghcr.io/openhands/agent-server:9c2518e-golang-amd64
ghcr.io/openhands/agent-server:9c2518e-golang_tag_1.21-bookworm-amd64
ghcr.io/openhands/agent-server:9c2518e-golang-arm64
ghcr.io/openhands/agent-server:9c2518e-golang_tag_1.21-bookworm-arm64
ghcr.io/openhands/agent-server:9c2518e-java-amd64
ghcr.io/openhands/agent-server:9c2518e-eclipse-temurin_tag_17-jdk-amd64
ghcr.io/openhands/agent-server:9c2518e-java-arm64
ghcr.io/openhands/agent-server:9c2518e-eclipse-temurin_tag_17-jdk-arm64
ghcr.io/openhands/agent-server:9c2518e-python-amd64
ghcr.io/openhands/agent-server:9c2518e-nikolaik_s_python-nodejs_tag_python3.13-nodejs22-slim-amd64
ghcr.io/openhands/agent-server:9c2518e-python-arm64
ghcr.io/openhands/agent-server:9c2518e-nikolaik_s_python-nodejs_tag_python3.13-nodejs22-slim-arm64
ghcr.io/openhands/agent-server:9c2518e-golang
ghcr.io/openhands/agent-server:9c2518e-java
ghcr.io/openhands/agent-server:9c2518e-python

About Multi-Architecture Support

  • Each variant tag (e.g., 9c2518e-python) is a multi-arch manifest supporting both amd64 and arm64
  • Docker automatically pulls the correct architecture for your platform
  • Individual architecture tags (e.g., 9c2518e-python-amd64) are also available if needed

Enable Dependabot's native uv ecosystem to manage Python dependencies
in this uv workspace monorepo. Dependabot uv support is now GA
(version updates since March 2025, security updates since Dec 2025).

- Add package-ecosystem 'uv' pointing at the workspace root
- Group dependencies by production vs development
- Ignore workspace-internal packages to work around dependabot-core#14004
- Group github-actions updates with a wildcard pattern

Closes #2510

Co-authored-by: openhands <openhands@all-hands.dev>
@github-actions
Copy link
Copy Markdown
Contributor

Python API breakage checks — ✅ PASSED

Result:PASSED

Action log

@github-actions
Copy link
Copy Markdown
Contributor

REST API breakage checks (OpenAPI) — ✅ PASSED

Result:PASSED

Action log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate Dependabot support for uv workspaces

2 participants