[MacPorts] #58237: py-spyder: py-pyqt5 dependency also needs +webkit

MacPorts noreply at macports.org
Mon Mar 25 21:10:15 UTC 2019


#58237: py-spyder: py-pyqt5 dependency also needs +webkit
------------------------+------------------------
  Reporter:  mf2k       |      Owner:  reneeotten
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  py-spyder  |
------------------------+------------------------
Description changed by mf2k:

Old description:

> Something changed recently because py-spyder now needs {{{py-pyqt5
> +webengine +webkit}}}, but the portfile only requires {{{+webengine}}}.
> Here is the runtime error I see only that variant:
>
> {{{
> $ spyder
> Traceback (most recent call last):
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/qtpy/QtWebEngineWidgets.py", line 22, in <module>
>     from PyQt5.QtWebEngineWidgets import QWebEnginePage
> ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/opt/local/bin/spyder", line 3, in <module>
>     start.main()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/spyder/app/start.py", line 193, in main
>     from spyder.app import mainwindow
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/spyder/app/mainwindow.py", line 81, in <module>
>     from qtpy import QtWebEngineWidgets  # analysis:ignore
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/qtpy/QtWebEngineWidgets.py", line 26, in <module>
>     from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
> ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
> }}}

New description:

 Something changed recently because py-spyder now needs {{{py-pyqt5
 +webengine +webkit}}}, but the portfile only requires {{{+webengine}}}.
 Here is the runtime error I see with only that variant:

 {{{
 $ spyder
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/qtpy/QtWebEngineWidgets.py", line 22, in <module>
     from PyQt5.QtWebEngineWidgets import QWebEnginePage
 ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/opt/local/bin/spyder", line 3, in <module>
     start.main()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/spyder/app/start.py", line 193, in main
     from spyder.app import mainwindow
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/spyder/app/mainwindow.py", line 81, in <module>
     from qtpy import QtWebEngineWidgets  # analysis:ignore
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/qtpy/QtWebEngineWidgets.py", line 26, in <module>
     from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
 ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/58237#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list