pdfinspector / quickfix.sh
rianders's picture
adjusted for multipage documents
9d99474
raw
history blame contribute delete
487 Bytes
# 1) Remove the bad package
uv remove fitz
# 2) Make sure PyMuPDF is a direct dependency (optional but I recommend it)
uv add PyMuPDF
# 3) Re-lock and re-export for HF Spaces
uv lock
uv export --format requirements-txt --output-file requirements.txt
# 4) Verify
grep -iE '(^fitz==|^pymupdf==|^pymupdfb==|^pymupdf|^PyMuPDF==)' requirements.txt || true
# 5) Commit + push
git add pyproject.toml uv.lock requirements.txt
git commit -m "Remove wrong fitz package; use PyMuPDF"
git push