haesleinhuepf / napari-time-slicer

A meta plugin for processing timelapse data timepoint by timepoint in napari
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

PyQt5 version requirement breaks environment #3

Closed jo-mueller closed 2 years ago

jo-mueller commented 2 years ago

Hi @haesleinhuepf ,

I wanted to ask whether it is really strictly necessary to use the current PyQt5 requirement?

pyqt5>=5.15.0

It collides with current Spyder versions that only support PyQt up to 5.13:

spyder 5.1.5 requires pyqtwebengine<5.13, which is not installed.
spyder 5.1.5 requires pyqt5<5.13, but you have pyqt5 5.15.6 which is incompatible.

Since the time slicer is used downstream in quite a few plugins of yours (e.g., segment-blobs-and-things-with-membranes, etc.) this is quite a restriction.

haesleinhuepf commented 2 years ago

Hi Johannes @jo-mueller ,

can you try with a local copy of time-slicer from master without that requirement, if this bug happens on your machine? I just added this dependency because of this bug...

haesleinhuepf commented 2 years ago

See also: https://github.com/spyder-ide/spyder/issues/12829

jo-mueller commented 2 years ago

See also: spyder-ide/spyder#12829

sigh

Is this an issue in PyCharm as well? Or does this sort of error (PyQt5 incompatibility breaking spyder or oother packages) simply not occur there?

haesleinhuepf commented 2 years ago

Pycharm doesn't run in a conda environment, it's a standalone application, written in C++ I think, If you're thinking of trying another IDE, consider code, it's very popular in the napari/scipy/scikit-image community.

jo-mueller commented 2 years ago

Alright - Running Spyder in its own environment and simply switching the interpreter/environment solves this. I'll close this issue, then.