fix(deps): move CVE pins to current fixed versions so update stops downgrading patched envs

Adjusts the salvaged pin refresh (#60839 by @embwl0x) to the actually
mergeable versions and regenerates the lock:

- cryptography 46.0.7 -> 48.0.1 (GHSA-537c-gmf6-5ccf fixed in 48.0.1;
  49.x is NOT possible: msal caps <49 and alibabacloud-tea-openapi caps
  <49 — documented at the pin site). Also resolves the
  hindsight-api-slim>=48.0.1 conflict reported in Discord.
- starlette 1.0.1 -> 1.3.1 across core/web/mcp/computer-use/dev extras
  and LAZY_DEPS (fastapi accepts >=0.40, mcp >=0.27)
- python-multipart 0.0.27 -> 0.0.32 ([web] + tool.dashboard)
- uv.lock regenerated (tea-openapi 0.4.4->0.4.5 for the <49 crypto cap)

Keeps @embwl0x's anti-downgrade floor guard in test_packaging_metadata
with the corrected cryptography floor (48,0,1). Fixes #60685: a user env
already upgraded to these versions is no longer downgraded by
hermes update, because the pins now ARE those versions.
This commit is contained in:
teknium1 2026-07-26 18:01:13 -07:00 committed by Teknium
parent a48251c3dc
commit 623762f2f0
3 changed files with 73 additions and 53 deletions

View file

@ -68,7 +68,7 @@ _UPDATE_DOWNGRADE_GUARD_FLOORS = {
# `hermes update` reinstalls exact pins from pyproject/lazy_deps. These
# reviewed CVE pins must not slide back to stale versions that downgrade
# already-patched user environments.
"cryptography": (49, 0, 0),
"cryptography": (48, 0, 1),
"starlette": (1, 3, 1),
"python-multipart": (0, 0, 32),
}