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
Is your feature request related to a problem? Please describe.
Users installing monai on Python 3.11+ run into issues with the openslide-python version that is strictly specified as 1.1.2. This version of openslide-python was released in September 2020 (over 3 years ago) and only has whls on PyPI up to python 3.10 (see here).
A user running Python 3.11 for instance runs into it trying to build openslide-python 1.1.2 from source and the build fails either due to missing dependencies or possible lack of compatibility.
Describe the solution you'd like
Support a newer version of openslide-python to improve support of monai on newer versions of python. The latest version of openslide-python is currently 1.3.1 released in October 2023. It has available whl files on PyPI for Python 3.8-3.12 (see here).
Describe alternatives you've considered
Removing the openslide-python dependency entirely from monai could also avoid errors when pip install monai on newer python versions.
Or reduce functionality for certain python versions such that it is only installed for Python versions that have whl files available.
openslide-python==1.1.2;python_version<"3.11"
The text was updated successfully, but these errors were encountered:
Once Python 3.11+ support for monai is working, then the information about supported python versions can be updated in the following place below and be indicated on the https://pypi.org/project/monai/ page.
Is your feature request related to a problem? Please describe.
Users installing
monai
on Python 3.11+ run into issues with theopenslide-python
version that is strictly specified as 1.1.2. This version ofopenslide-python
was released in September 2020 (over 3 years ago) and only has whls on PyPI up to python 3.10 (see here).A user running Python 3.11 for instance runs into it trying to build openslide-python 1.1.2 from source and the build fails either due to missing dependencies or possible lack of compatibility.
MONAI/setup.cfg
Line 63 in 90d2acb
Describe the solution you'd like
Support a newer version of
openslide-python
to improve support ofmonai
on newer versions of python. The latest version ofopenslide-python
is currently 1.3.1 released in October 2023. It has available whl files on PyPI for Python 3.8-3.12 (see here).Describe alternatives you've considered
Removing the
openslide-python
dependency entirely frommonai
could also avoid errors whenpip install monai
on newer python versions.Or reduce functionality for certain python versions such that it is only installed for Python versions that have whl files available.
The text was updated successfully, but these errors were encountered: