napari: double command-q no longer quitting

🐛 Bug

if you press cmd-q, and then press it again (as the dialog instructs), it doesn’t quit… it just opens more dialogs

https://user-images.githubusercontent.com/1609449/201672279-161cef46-63c7-4e6f-879f-82fd2a930d7f.mov

(napari 0.4.17 with conda create -n env napari)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (13 by maintainers)

Commits related to this issue

Most upvoted comments

I am afraid you are correct @psobolewskiPhD. I analyzed the logs and while pyqt 5.15 is initially selected, the solver is forced to backtrack once it reaches openssl=3, which is not compatible:

info     libsolv  installing openssl-3.0.7-hfd90126_0
info     libsolv  conflict with rule #2416937
info     libsolv  ANALYZE at 64 ----------------------
info     libsolv  Rule #2416937:
info     libsolv      !pyqt-5.15.7-py39h327fbb6_2 [183866] Install.level19
info     libsolv      qt-main-5.15.6-he04cef1_0 [201591] (w2) Conflict.level64
info     libsolv      qt-main-5.15.6-he0d2461_1 [201592] (w1) Conflict.level64
info     libsolv      next rules: 0 2417004
info     libsolv  Rule #2190019:
info     libsolv      !qt-main-5.15.6-he04cef1_0 [201591] (w1) Conflict.level64
info     libsolv      openssl-1.1.1q-hfd90126_1 [144657] (w2) Conflict.level64
info     libsolv      openssl-1.1.1q-hfe4f2af_0 [144658] Conflict.level64
info     libsolv      openssl-1.1.1s-hfd90126_0 [144659] Conflict.level64
info     libsolv      next rules: 2190020 2378762
info     libsolv  Rule #2189971:
info     libsolv      !qt-main-5.15.6-he0d2461_1 [201592] (w1) Conflict.level64
info     libsolv      openssl-1.1.1q-hfd90126_1 [144657] (w2) Conflict.level64
info     libsolv      openssl-1.1.1q-hfe4f2af_0 [144658] Conflict.level64
info     libsolv      openssl-1.1.1s-hfd90126_0 [144659] Conflict.level64
info     libsolv      next rules: 2189972 2190019
info     libsolv  Rule #2567257:
info     libsolv      !openssl-3.0.7-hfd90126_0 [144669] (w1) Install.level64
info     libsolv      !openssl-1.1.1q-hfd90126_1 [144657] (w2) Conflict.level64
info     libsolv      next rules: 2567258 2567310
info     libsolv  Rule #2567256:
info     libsolv      !openssl-3.0.7-hfd90126_0 [144669] (w1) Install.level64
info     libsolv      !openssl-1.1.1q-hfe4f2af_0 [144658] (w2) Conflict.level64
info     libsolv      next rules: 2567257 2567309
info     libsolv  Rule #2567255:
info     libsolv      !openssl-3.0.7-hfd90126_0 [144669] (w1) Install.level64
info     libsolv      !openssl-1.1.1s-hfd90126_0 [144659] (w2) Conflict.level64
info     libsolv      next rules: 2567256 2567308
info     libsolv  learned rule for level 19 (am 64)
info     libsolv      !openssl-3.0.7-hfd90126_0 [144669] Install.level64
info     libsolv      !pyqt-5.15.7-py39h327fbb6_2 [183866] Install.level19
info     libsolv  reverting decisions (level 64 -> 19)
info     libsolv  decision:     !openssl-3.0.7-hfd90126_0 [144669] Conflict.level19
info     libsolv  new rule: Rule #3459271:
info     libsolv      !openssl-3.0.7-hfd90126_0 [144669] (w1) Conflict.level19
info     libsolv      !pyqt-5.15.7-py39h327fbb6_2 [183866] (w2) Install.level19
info     libsolv      next rules: 2567246 2412589
info     libsolv  prune_to_best_version_conda 2

This ends up resolving in such a way that openssl=1 and pyqt=5.12.

I guess this will go away once https://github.com/conda-forge/qt-main-feedstock/pull/63 is dealt with.

Do we need to bump the Qt requirement?

i would recommend against this given how broadly Qt is used in the ecosystem. If you have a critical issue, where a whole bunch of things become possible if you bump your requirement, then maybe… but if you already have supported 5.12, and the only issue you can find is this dialog, then I’d figure out how to patch the dialog for 5.12 rather than potentially cause environment solving problems for someone trying to install napari with anything that wants 5.12