Discussion:
[conda] qt 5.9 on MacOS 10.9
Thomas Holder
2018-05-06 19:44:53 UTC
Permalink
The new qt-5.9.5 package doesn't work for me on MacOS 10.9. Looking at the recipe, it explicitly uses the 10.11 SDK (because of Objective-C Generics), so this seems to be a conscious decision rather than an accident. That raises some questions for me:

- is MacOS 10.9 still supported by Anaconda?
- Can I make my packages depend on qt-5.6 only for MacOS < 10.11?

Thanks,
Thomas
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/3E448E7D-1AD1-4649-8FB0-591FE1F4D6B2%40schrodinger.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Thomas Holder
2018-05-07 10:01:47 UTC
Permalink
Hi Ray,

Thanks a lot for the explanation and of course for all your efforts in getting 5.9 to work on macOS 10.9. I saw the patches and absolutely believe you when you say it's a mountain with no end.

So the bottom line is that if I want to provide a pyqt dependent package which works on macOS 10.9, I need to pin it to pyqt=5.6 (for [osx]). Also I should prepare for dropping 10.9 support when I want to be compatible with the next Anaconda Distribution release.

Thomas
It uses the 10.11 SDK but it's still compatible with 10.10 so in fact you should be fine with using 5.6 on macOS <10.10 (those Objective C++ templates are not features of the SDK but rather of the compiler and we use our own compilers that supports them just fine).
It was not possible to support Qt 5.9 on macOS 10.9. This is an upstream decision and although I spent many hours reverting these changes in the end it was a mountain I did not see an end to. I have the patches (I guess you saw them already?) if you care to continue to this battle; you'll run into the cliff face that is chromium/QtWebEngine quite quickly as that's where I threw in the towel.
Instead I have done everything in my power to make sure 5.6 is not forced upon users of PyQt and Miniconda.
The next Anaconda Distribution full installer releases will probably bundle 5.9.
An example of something that'll not work is the forthcoming RStudio 1.2 release since they've moved onto 5.9.
These last two points, coupled with the fact that Anaconda Navigator is based around Qt force our hand wrt macOS 10.9 support in the full installer. We cannot swap out Qt versions while it is running (when our users attempt to install RStudio).
It is a shame because many of the changes related to dropping 10.9 were made in the interest of code cleanliness and saving effort and they could've been done in a backwards compatible way in general.
Sorry about that. 10.9 had just fallen off the end of many an upstream's view cones (see the entire R world for another depressing examplen of this).
- is MacOS 10.9 still supported by Anaconda?
- Can I make my packages depend on qt-5.6 only for MacOS < 10.11?
Thanks,
Thomas
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/4CAB94B3-9813-4DD8-9C99-D91F36FD75BB%40schrodinger.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...