Changes between Initial Version and Version 5 of Ticket #57823


Ignore:
Timestamp:
Feb 11, 2019, 1:31:21 AM (6 years ago)
Author:
chrstphrchvz (Christopher Chavez)
Comment:

Never mind about having Spyder ports use PySide2; upstream has decided to not support it for the time being: https://github.com/spyder-ide/spyder/issues/6894.

If nothing using QtPy currently "needs"/"really should have" PySide2 as an alternative to PyQt5, then I don't mind this being closed or put off indefinitely/wishlisted. I intended this more as a suggestion in case it were trivial to add, but it sounds like that's definitely not the case.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57823

    • Property Owner set to eborisch
    • Property Status changed from new to assigned
    • Property Port py-spyder py-spyder-devel removed
    • Property Cc mamoll pmetzger MarcusCalhoun-Lopez reneeotten added
  • Ticket #57823 – Description

    initial v5  
    1 Since QtPy supports PySide2 (which is now Qt's official bindings for Python) in addition to PyQt5, should it be possible for the `py-qtpy` port (as well as any ports using it, e.g. Spyder) to allow `py-pyside2` as a substitute for `py-pyqt5`? I am not an expert on their differences, nor do I have any preference that PySide2 become MacPorts' default over PyQt5.
     1Since QtPy supports PySide2 (which is now Qt's official bindings for Python) in addition to PyQt5, should it be possible for the `py-qtpy` port (~~as well as any ports using it, e.g. Spyder~~) to allow `py-pyside2` as a substitute for `py-pyqt5`? I am not an expert on their differences, nor do I have any preference that PySide2 become MacPorts' default over PyQt5.
    22
    3 If so, I imagine adding a variant `qtpy +pyside2` would be the approach for this (similar to what `py-matplotlib` has, though it doesn't use QtPy). However if the `py-qtpy` port is what ensures a Qt backend is installed, should that dependency then be removed from ports depending on qtpy (`spyder` and `spyder-devel`), or is the PyQt5 dependency used to ensure a Qt5 backend is present—i.e. when Qt4 can't be used?
     3If so, I imagine adding a variant `qtpy +pyside2` would be the approach for this (similar to what `py-matplotlib` has, though it doesn't use QtPy). However if the `py-qtpy` port is what ensures a Qt backend is installed, should that dependency then be removed from ports depending on qtpy ~~(`spyder` and `spyder-devel`)~~, or is the PyQt5 dependency used to ensure a Qt5 backend is present—i.e. when Qt4 can't be used?