mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-22 06:10:51 -07:00
fix(M04): verify_pinned_deps whitespace, httpcore 0.15.0 (#7)
Made-with: Cursor
This commit is contained in:
parent
592ca58b71
commit
d0057d1511
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue