Repository navigation
DRIVERS-3564 Migrate drivers-evergreen-tools Python dependency management to a uv workspace with a single lock file - #897
Conversation
…, weekly uv.lock update
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved review comments were identified, and the reviewed changes are assessed as approval-ready.
No open issues 🎉
What changed in this PR
This pull request completes the uv workspace dependency-management cleanup by centralizing virtual-environment activation, adding automated lock-file maintenance, and documenting dependency-update responsibilities.
Changes:
- Added a shared
.evergreen/activate-uv-venv.shhelper with thin feature-specific wrappers. - Added scheduled uv lock-file updates and grouped Go/npm Dependabot configuration, with uv limited to security updates.
- Updated contributor and agent documentation, including the inactive Azure Functions dependency exception.
| File | Description |
|---|---|
CONTRIBUTING.md |
Documents uv lock updates, Dependabot coverage, and the Azure Functions exception. |
AGENTS.md |
Updates repository guidance for the shared activation helper and lock workflow. |
.github/workflows/uv-lock-update.yml |
Adds scheduled and manual uv lock-file update automation. |
.github/dependabot.yml |
Groups Go and npm updates and limits uv updates to security fixes. |
.evergreen/ocsp/activate-ocspvenv.sh |
Delegates OCSP environment setup to the shared helper. |
.evergreen/csfle/activate-kmstlsvenv.sh |
Delegates CSFLE environment setup to the shared helper. |
.evergreen/auth_oidc/azure_func/README.md |
Documents the inactive Azure Functions dependency manifest. |
.evergreen/auth_oidc/activate-authoidcvenv.sh |
Delegates OIDC environment setup to the shared helper. |
.evergreen/auth_aws/activate-authawsvenv.sh |
Delegates AWS environment setup to the shared helper. |
.evergreen/activate-uv-venv.sh |
Provides shared uv environment synchronization and activation logic. |
Review effort: Lite
|
Amazon Linux failures are unrelated |
PavelSafronov
left a comment
There was a problem hiding this comment.
The script consolidation looks good. A question about deployment and a doc nit, but not blockers.
| update: | ||
| name: Update uv.lock | ||
| runs-on: ubuntu-latest | ||
| environment: automation |
There was a problem hiding this comment.
This environment doesn't exist yet. Is the environment being set up separately?
There was a problem hiding this comment.
Thanks for the remind, I just created it
| pull request that updates `uv.lock`. Dependabot handles Python security updates, | ||
| plus version updates for everything else: GitHub Actions, the Go modules | ||
| (`mongoproxy`, `perfcomp`), and the `github_app` and `mongodb-runner` npm | ||
| projects. Each Dependabot ecosystem opens one grouped pull request; see |
There was a problem hiding this comment.
Nit: not strictly true for uv. As configured, the only uv PRs will be security updates, and dependabot doesn't batch those.
eramongodb
left a comment
There was a problem hiding this comment.
One minor suggestion; otherwise, LGTM.
0eb1923
|
@PavelSafronov can you please re-review for the last commit? |
DRIVERS-3564
Summary
Cleanup for the uv workspace migration: one shared helper replaces the four activate scripts, each Dependabot ecosystem opens one grouped pull request, and a weekly workflow updates uv.lock.
Changes in this PR
activate-*.shscripts into.evergreen/activate-uv-venv.sh; paths, names, and behavior are unchanged.Test Plan
Checklist
Checklist for Author
Checklist for Reviewer