[PyQt] ANN: PyQt v5.14.1 Released

Phil Thompson phil at riverbankcomputing.com
Mon Jan 6 13:06:22 GMT 2020


On 06/01/2020 12:55, Florian Bruhin wrote:
> Hey,
> 
> On Mon, Jan 06, 2020 at 01:04:32AM +0000, Phil Thompson wrote:
>> PyQt v5.14.1 has been released. This is a minor bug-fix release.
> 
> It looks like that release is a manylinux2014 rather than a manylinux1 
> release.
> Is that intended?

Yes. The manylinux1 tag was always a lie. The issue is the GLIBC 
dependency which is imposed by Qt.

> While this probably is a good idea in general (manylinux1 seems to be 
> based on
> CentOS 5.11, which had its EOL in March 2017), tooling support for
> manylinux2014 is very new:
> 
> https://packaging.python.org/specifications/platform-compatibility-tags/#manylinux-compatibility-support
> 
> - pip 19.3 supporting it was released 2019-10-14
> - virtualenv 16.7.6 bundling that was released 2019-10-16
> 
> Things look slightly better for manylinux2010 (based on CentOS
> 6, supported until November 2020):
> 
> - pip 19.0 (2019-01-22)
> - virtualenv 16.3.0 (2019-01-25)
> 
> Currently, this means a "pip install PyQt5" on Archlinux (usually 
> regarded
> quite a bleeding-edge distribution) will result in pip building PyQt5 
> from
> sources. Arch currently ships pip 19.2.3, with 19.3 being in its 
> testing
> repositories:
> 
> https://www.archlinux.org/packages/?q=python-pip
> 
> I'm also having trouble with Travis CI for some reason. I upgrade to 
> pip 19.3
> and virtualenv 16.7.9, but for some reason it still tries to build the 
> wheel,
> then fails with:
> 
>     AttributeError: module 'sipbuild.api' has no attribute
> 'prepare_metadata_for_build_wheel'
>     [...]
>     sipbuild.exceptions.UserException
> 
> https://travis-ci.org/qutebrowser/qutebrowser/jobs/633158892#L268
> 
> There are two strange things happening there:
> 
> - Why is it building from source instead of using the wheel?

Presumably because it doesn't like any of the wheels, probably because 
pip is too old.

> - Why is building the wheel failing (I'm guessing because there is no 
> Qt
>   installed at all)?

Yes. As it says in the docs I don't recommend using pip to build from 
source because the error messages are completely misleading.

Phil


More information about the PyQt mailing list