python-pyqtwebengine install to python3.9 but python is 3.10

Problems with packages? Post here, using [tags] of the package name.

python-pyqtwebengine install to python3.9 but python is 3.10

Postby prahal » Thu Jul 14, 2022 2:09 am

Could you remove the python-pyqtwebengine ? It installs in /usr/lib/python3.9 while arch python is 3.10 so the modules it installs are not found.
python-pyqt5-webengine provides and replaces python-pyqtwebengine and is already available so no need to rebuild python-pyqtwebengine to install to the proper location for python3.10.

https://archlinux.org/packages/?sort=&q ... =&flagged= shows only x86_64 | Extra | python-pyqt5-webengine | 5.15.6-1 | Python bindings for QtWebEngine | 2022-06-18 .
So I think python-pyqtwebengine was already remove for x86.

This broken package breaks calibre ebook-viewer (from the calibre package) currently on docker images for arm32v7 and arm64v8 linuxserver/calibre:arch
$this->bbcode_second_pass_code('', '$ ebook-viewer
Failed to import PyQt module: PyQt5.QtWebEngineCore with error: No module named 'PyQt5.QtWebEngineCore'
Traceback (most recent call last):
File "/usr/sbin/ebook-viewer", line 21, in <module>
sys.exit(ebook_viewer())
File "/usr/lib/calibre/calibre/gui_launch.py", line 69, in ebook_viewer
from calibre.gui2.viewer.main import main
File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 9, in <module>
from qt.webengine import QWebEngineUrlScheme
ImportError: cannot import name 'QWebEngineUrlScheme' from 'qt.webengine' (/usr/lib/calibre/qt/webengine.py)')

I am at loss as to how to create a PR for to remove a package.
prahal
 
Posts: 4
Joined: Thu Jul 14, 2022 1:56 am

Re: python-pyqtwebengine install to python3.9 but python is

Postby graysky » Thu Jul 14, 2022 9:50 am

Are you sure your mirror isn't out-of-date?

On either arm64 or armv7h:
$this->bbcode_second_pass_code('', 'pkgfile -l python-pyqt5-webengine | grep 3.9
% echo $1
1')
graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: python-pyqtwebengine install to python3.9 but python is

Postby prahal » Thu Jul 14, 2022 5:33 pm

I am asking for the python-pyqtwebengine removal, not python-pyqt5-webengine. Those are different packages of the same source but python-pyqtwebengine is older and not updated to cope with python 3.10.
$this->bbcode_second_pass_code('', '
04cb00f838b0 ~ # pacman -Ql python-pyqtwebengine |grep 3.9
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'alarm' does not exist (use '-Sy' to download)
warning: database file for 'aur' does not exist (use '-Sy' to download)
python-pyqtwebengine /usr/lib/python3.9/
python-pyqtwebengine /usr/lib/python3.9/site-packages/
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/QtWebEngine.abi3.so
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/QtWebEngineCore.abi3.so
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/QtWebEngineWidgets.abi3.so
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngine/
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngine/QtWebEngine.toml
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngine/QtWebEnginemod.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngine/qquickwebengineprofile.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngine/qquickwebenginescript.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngine/qtwebengineglobal.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/QtWebEngineCore.toml
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/QtWebEngineCoremod.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebengineclientcertificatestore.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebenginecookiestore.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebenginefindtextresult.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebenginehttprequest.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebenginenotification.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebenginequotarequest.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebengineurlrequestinfo.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebengineurlrequestinterceptor.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebengineurlrequestjob.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebengineurlscheme.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineCore/qwebengineurlschemehandler.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/QtWebEngineWidgets.toml
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginecertificateerror.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebengineclientcertificateselection.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginecontextmenudata.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginedownloaditem.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginefullscreenrequest.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginehistory.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginepage.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebengineprofile.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginescript.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginescriptcollection.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebenginesettings.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQt5/bindings/QtWebEngineWidgets/qwebengineview.sip
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQtWebEngine-5.15.2.dist-info/
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQtWebEngine-5.15.2.dist-info/INSTALLER
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQtWebEngine-5.15.2.dist-info/METADATA
python-pyqtwebengine /usr/lib/python3.9/site-packages/PyQtWebEngine-5.15.2.dist-info/RECORD
')

The idea is that once pytho-pyqtwebengine will be removed, python-pyqt5-webengine will be installed at its place and thus the QTWebEngineCore python module will be installed for python3.10 automatically.
prahal
 
Posts: 4
Joined: Thu Jul 14, 2022 1:56 am

Re: python-pyqtwebengine install to python3.9 but python is

Postby prahal » Thu Jul 21, 2022 8:01 pm

ping ?

This issue is breaking installs of calibre (its ebook-viewer program that is) in archlinuxarm and derivatives (here docker-calibre from linuxserver.io).
Please remove broken python-qtwebengine from the repositories.
It is already removed from archlinux x86.
prahal
 
Posts: 4
Joined: Thu Jul 14, 2022 1:56 am

Re: python-pyqtwebengine install to python3.9 but python is

Postby prahal » Mon Jul 25, 2022 6:11 pm

re ping!?

I only got a weird answer that python-qtwebegine was not built for pyton3.9 because python-pyqt5webengine is built for python3.10.

But python-qtwebengine and python-pyqt5-webengien are not the same binary package. I am talking about python-qtwebegngine that is built for python3.9 and have to be removed because it gets installed instead of python-pyqt5-webengine (the working python 3.10 one).

Please at least tell me how packaging issue should be bug reported on archlinuxarm if I am doing it the wrong way.

It is only a matter of removing a broken obsolete package and it seems I am asking for the moon.
At least read my report before answering because previous reply was out of topic. I am asking for python-qtwebengine removal, not python-pyqt5-webengine.
prahal
 
Posts: 4
Joined: Thu Jul 14, 2022 1:56 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 13 guests