Please publish release with packages for all platforms for PyQt5-Qt5

Phil Thompson phil at riverbankcomputing.com
Fri Sep 19 22:18:41 BST 2025


On 19/09/2025 09:43, konstin wrote:
> Hi,
> 
> I have a request regarding the packaging of PyQt5-Qt5 on PyPI.
> 
> Packaging tools such as uv or poetry resolve the user's dependencies,
> and then write the versions to a platform-independent lockfile. This
> is built under the assumption that a version can be used on any
> supported platform.

IMHO that is a really dumb assumption. Different platforms have 
different capabilities. Different projects have different levels of 
support on different platforms.

I understand that these tools are trying to create a cross-platform 
environment, but there has to be cases where this is (for good reasons) 
not possible. At the very least they should be able to see if there is a 
set of versions that is able to meet the cross-platform requirements 
(which there is in this case).

> PyQt5-Qt5 breaks this assumption as different versions have wheels for
> different platforms. For example, 5.15.2 has Windows wheels, while
> 5.15.17 has Linux and macOS wheels. Without a source distributions,
> package managers can't build missing wheels for a version. This leads
> to regular questions from users of both uv and poetry, see
> https://github.com/astral-sh/uv/issues?q=is%3Aissue%20%20pyqt5 and
> https://github.com/python-poetry/poetry/issues?q=is%3Aissue%20pyqt5,
> who get errors where the dependency resolution works, but installation
> fails because wheels are missing.
> 
> Would it be possible to always publish wheels for all supported
> platforms for PyQt5-Qt5?

The reason the Windows wheels are based on an older version of Qt is 
that I haven’t yet put the effort into building from source. I plan to 
get around to it at some point but it’s not a priority.

Phil


More information about the PyQt mailing list