Skip to content

Dependencies: restrict combinations of versions of dependencies #75

@ap--

Description

@ap--

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:

tiffslide/setup.cfg

Lines 36 to 42 in 8bea5a4

install_requires =
imagecodecs
fsspec!=2022.11.0,!=2023.1.0
pillow
tifffile>=2021.6.14
zarr>=2.11.0
typing_extensions>=4.0

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 imi-bigpicture/wsidicomizer#87 and zarr might catch whatever error and just return black tiles. But I first need to investigate if my guess is actually correct...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions