You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: PythonReader breaks with tifffile>=2026.9.20 (TiffFrame has no attribute '_nextifd') #131
bfio/backends.py", line 173, in get_offset
return self._tiff_frame._nextifd()
AttributeError: 'TiffFrame' object has no attribute '_nextifd'
Cause
_TiffBytesOffsets.get_offset calls the private method tifffile.TiffFrame._nextifd(). It was removed in tifffile 2026.9.20. I bisected: 2026.9.15 passes, 2026.9.20 fails. bfio only requires tifffile>=2022.8.12, so fresh installs pick up the broken version.
This looks like the same kind of break as #42 (TiffBytesOffsets vs tifffile.TiffFrame after 2022.4.22).
Suggested fix
Stop depending on the private _nextifd() (e.g. use public tifffile APIs for the IFD offset). In the meantime an upper bound on tifffile would stop new installs breaking.
Activity
sameeul commentedon Nov 20, 2026
Fixed in #132 (v2.5.1)