Python: refresh dev dependencies and validate runtime bounds#6238
Merged
eavanvalkenburg merged 1 commit intoJun 1, 2026
Merged
Conversation
Updates third-party dev dependencies across the Python workspace and validates that all runtime dependency bounds still hold at both ends. Dev dependency bumps (root, lab, declarative, durabletask): - uv 0.11.6 -> 0.11.17, ruff 0.15.8 -> 0.15.15, pytest-asyncio 1.3.0 -> 1.4.0, mcp 1.27.0 -> 1.27.2, azure-monitor-opentelemetry 1.8.7 -> 1.8.8, poethepoet 0.42.1 -> 0.46.0, prek 0.3.9 -> 0.4.3, types-python-dateutil and types-PyYaml stub bumps. - Transitive Dependabot items swept via lock: idna 3.11 -> 3.17, pip 26.0.1 -> 26.1.2. Deliberately excluded: - opentelemetry-sdk stays 1.40.0: azure-monitor-opentelemetry (incl. 1.8.8) hard-pins opentelemetry-sdk==1.40. - mypy stays 1.20.0 and pyright stays 1.1.408: the 2.1.0 / 1.1.409 bumps introduce new diagnostics that fail type checking and need dedicated PRs. - rich kept as a range: agentlightning (lab[lightning]) forces rich==13.9.4. Code/formatting changes driven by the ruff upgrade: - devui lifespan now uses try/finally so shutdown cleanup always runs (ruff RUF075). - Removed unused TYPE_CHECKING imports in core and foundry flagged by ruff 0.15.15. - Reapplied ruff 0.15.15 formatting to the files it changed. Validation: validate-dependency-bounds-test "*" passes (31/31 lower + 31/31 upper); typing 62/62; lint 31/31; devui tests pass. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Jun 1, 2026
Contributor
Python Test Coverage Report •
Python Unit Test Overview
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
TaoChenOSU
approved these changes
Jun 1, 2026
giles17
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Consolidates the outstanding Python dependency maintenance into a single PR: refreshes third-party dev dependencies across the workspace and validates that all runtime dependency bounds still hold. Supersedes several open/closed-unmerged Dependabot PRs and documents why two of them cannot be merged as-is.
Description
Dev dependency bumps (root,
lab,declarative,durabletask):uv0.11.6→0.11.17,ruff0.15.8→0.15.15,pytest-asyncio1.3.0→1.4.0,mcp1.27.0→1.27.2,azure-monitor-opentelemetry1.8.7→1.8.8,poethepoet0.42.1→0.46.0,prek0.3.9→0.4.3, plustypes-python-dateutil/types-PyYamlstub bumps.idna3.11→3.17,pip26.0.1→26.1.2.Deliberately excluded (need dedicated PRs / blocked):
opentelemetry-sdkstays 1.40.0 —azure-monitor-opentelemetry(incl. 1.8.8) hard-pinsopentelemetry-sdk==1.40, so it cannot be bumped while present.mypystays 1.20.0 andpyrightstays 1.1.408 — the 2.1.0 / 1.1.409 bumps introduce new diagnostics that fail type checking and warrant separate, focused PRs.richkept as a range —agentlightning(lab[lightning]) transitively forcesrich==13.9.4.Code/formatting changes driven by the
ruffupgrade:devuilifespan now usestry/finallyso shutdown cleanup always runs (RUF075).TYPE_CHECKINGimports incoreandfoundryflagged by ruff 0.15.15.Runtime bound validation:
validate-dependency-bounds-test --package "*"passes — 31/31 lower + 31/31 upper resolutions across the workspace.typing62/62,lint31/31, anddevuitests pass.Dependabot cross-check
azure-monitor-opentelemetrypinContribution Checklist