openzim/python-scraperlib/src/zimscraperlib/image/probing.py:81:30 - error: Argument of type "BytesIO | Path | IOBase" cannot be assigned to parameter "fp" of type "StrOrBytesPath | IO[bytes]" in function "open" (reportArgumentType)
pillow has updated its type hint in 10.4.0 and reveals this flaw.
Pyright error is:
pillow has updated its type hint in 10.4.0 and reveals this flaw.