tiffslide
tiffslide copied to clipboard
Dependencies: restrict combinations of versions of dependencies
This is an interesting issue. We depend on tifffile, and specifically its zarr interface. Since we don't want to depend on tifffile[all]
because we don't need matplotlib and other optional dependencies of tifffile
, we opted for:
https://github.com/Bayer-Group/tiffslide/blob/8bea5a4c8e1429071ade6d4c40169ce153786d19/setup.cfg#L36-L42
Basically manually adding the dependencies we need.
But this can lead to installations in which pip would resolve a working environment, that might have two incompatible versions of imagecodecs
and tifffile
installed. Here are the compatible versions:
tifffile | imagecodecs |
---|---|
>=2023.8.12 | >=2023.8.12 |
>=2023.1.23 | >=2023.1.23 |
>=2022.7.28 | >=2022.2.22 |
>=2022.2.22 | >=2021.11.20 |
>=2021.7.30 | >=2021.7.30 |
>=2021.6.6 | >=2021.4.28 |
I think two incompatible versions of imagecodecs
and tifffile
might be the cause of https://github.com/imi-bigpicture/wsidicomizer/issues/87 and zarr
might catch whatever error and just return black tiles. But I first need to investigate if my guess is actually correct...