piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

Missing package: PyQt5 #257

Open domaslasauskas opened 2 years ago

domaslasauskas commented 2 years ago

Package name

PyQt5

Package version

5.15.6

PyPI URL

https://pypi.org/project/PyQt5/

piwheels URL

https://www.piwheels.org/project/PyQt5/

Python version

I am the maintainer

More information

I've successfully built PyQt5 after installing qt5-default on mythic-beasts Raspberry Pi 4 instance (Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux)

pip3 install --upgrade pip setuptools
sudo apt-get install qt5-default

pip3 wheel pyqt5
njh commented 2 years ago

This seems to be a duplicate of #3 (but this is more up to date).

I am also looking into this, so that I can run tasmotizer on a Pi.

I also successfully built a wheel using:

pi@raspberrypi:~ $ pip3 wheel pyqt5
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyqt5
  Using cached PyQt5-5.15.6.tar.gz (3.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting PyQt5-sip<13,>=12.8
  Using cached https://www.piwheels.org/simple/pyqt5-sip/PyQt5_sip-12.9.0-cp39-cp39-linux_armv7l.whl (267 kB)
Saved ./PyQt5_sip-12.9.0-cp39-cp39-linux_armv7l.whl
Building wheels for collected packages: pyqt5
  Building wheel for pyqt5 (PEP 517) ... done
  Created wheel for pyqt5: filename=PyQt5-5.15.6-cp36-abi3-manylinux1_armv7l.whl size=5251760 sha256=d8534092c66106460a40454c6e387132bff01ff85cf103950e90780d0e3f9b91
  Stored in directory: /home/pi/.cache/pip/wheels/e2/59/97/3ebe5bf9c908d6001cd6af09b6c27b9960cccf7a2a4b2f6bce
Successfully built pyqt5

I had to make sure libqt5serialport5-dev had been installed to ensure that there was Serial Port support in pyqt5. I am not sure if there are any other packages like this that should be installed.

How do you manage the Debian packages that are installed before building the wheel?