diff --git a/requirements_versions.txt b/requirements_versions.txt index da5b53df4..c7a83a79e 100644 --- a/requirements_versions.txt +++ b/requirements_versions.txt @@ -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 diff --git a/scripts/ci/verify_pinned_deps.sh b/scripts/ci/verify_pinned_deps.sh index b3bb4c337..973df82aa 100644 --- a/scripts/ci/verify_pinned_deps.sh +++ b/scripts/ci/verify_pinned_deps.sh @@ -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