ilastik/ilastik-napari

Dependency on napari[all] pulls pyqt5 and breaks conda env

Closed this issue · 1 comments

By depending on napari[all] the plugin effectively depends on pyqt5 from pypi:

"napari[all]",

because of the way that extras is defined in napari:
https://github.com/napari/napari/blob/6416098946d594989072c2044551d7e0eca08328/setup.cfg#L104-L105

We don't recommend depending on a Qt backend, see:
https://napari.org/stable/plugins/best_practices.html#don-t-include-pyside2-or-pyqt5-in-your-plugin-s-dependencies
because this creates issues for people using pyqt from conda or qt6 (experimental backends) or on platforms without pyqt5 wheels on pypi.

I do understand this isn't really clear in the docs, we have an open issue!
napari/docs#131

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/issue-with-installing-ilastik-in-the-conda-environment-with-python-3-9/81733/11