fix(M04): verify_pinned_deps whitespace, httpcore 0.15.0 (#7)

Made-with: Cursor
This commit is contained in:
m-cahill 2026-03-08 20:15:20 -07:00 committed by GitHub
parent 592ca58b71
commit d0057d1511
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -9,7 +9,7 @@ einops==0.4.1
facexlib==0.3.0
fastapi==0.94.0
gradio==3.41.2
httpcore==0.15
httpcore==0.15.0
inflection==0.5.1
jsonmerge==1.8.0
kornia==0.6.7

View file

@ -22,13 +22,14 @@ while IFS= read -r line || [[ -n "$line" ]]; do
pkg="${line%%==*}"
rest="${line#*==}"
expected="${rest%%[# ]*}"
pkg="${pkg// }"
expected="${expected// }"
pkg="${pkg//[[:space:]]/}"
expected="${expected//[[:space:]]/}"
[[ -z "$pkg" || -z "$expected" ]] && continue
installed=""
if installed=$(pip show "$pkg" 2>/dev/null | grep -E '^Version:' | awk '{print $2}'); then
installed="${installed//[[:space:]]/}"
if [[ "$installed" != "$expected" ]]; then
echo "::error::Dependency mismatch: $pkg expected $expected got $installed"
((errors++)) || true