Python v3.10 and Apple Silicon Wheels at PyPI

Scott Talbert swt at techie.net
Mon Oct 11 18:37:39 BST 2021


On Mon, 11 Oct 2021, Damon Lynch wrote:

> On Mon, Oct 11, 2021 at 12:49 PM Phil Thompson <phil at riverbankcomputing.com>
> wrote:
> 
>
>       There will be a new PyQt5 release in the next day or two which
>       will
>       include wheels for Python v3.10.
> 
> 
> Has anyone else had a problem where their PyQt5 application fails on Fedora
> 35 beta (which uses Python 3.10) because of exceptions generated when Qt
> functions that expect ints are passed floats? e.g.:
> TypeError: setFixedWidth(self, int): argument 1 has unexpected type 'float'

Yes, that's a Python 3.10 change whereby you can no longer pass floats 
where ints are expected and there would be a loss of precision.  You'll 
have to convert them to ints.

Scott


More information about the PyQt mailing list