imi-bigpicture / wsidicom

Python package for reading DICOM WSI file sets.
Apache License 2.0
32 stars 5 forks source link

Update poetry requirement and fix test #96

Closed HarmvZ closed 1 year ago

erikogabrielsson commented 1 year ago

Hi @HarmvZ and thanks for the PR. Could you please describe what issue you are trying to fix with the more permissive python version requirement? As far as I know, neither numpy or pillow officially supports 3.12.

HarmvZ commented 1 year ago

Hi, I tried to install this package as a dependency in https://github.com/DIAGNijmegen/rse-panimg but it failed because of a mismatch in python version. Panimg uses ^3.8 which resolves to >=3.8,<4.0 resulting in this error:

The current project's Python requirement (>=3.8,<4.0) is not compatible with some of the required packages Python requirement:
  - wsidicom requires Python >=3.8,<3.12, so it will not be satisfied for Python >=3.12,<4.0