[PySide] What happened to manylinux wheels for python3.8+?

Cristián Maureira-Fredes Cristian.Maureira-Fredes at qt.io
Tue Dec 13 09:31:16 CET 2022


Hey,

The old 'manylinux1' where never really manylinux1,
there was an internal hack in order to make them 'look like manylinux1'.
The reason of that, is due to the incompatibility of
any manylinux* tag, with the minimum Qt requirements.

Starting from 6.3.0 we adopted a new PEP to distribute
our Linux wheels, PEP600 [1] which allowed us to describe
the glibc version the package was using, instead of
the old approach.

Another thing we noticed, is that when we use
the stable ABI, and rely on the abi3 tag,
you only need to specify the minimum Python version,
meaning this:

cp36.cp37.cp38.cp39.cp310-abi3

could be written like this:

cp36-abi3

Furthermore,
in the past, we had users that for some reason
needed to build PySide using a different Qt version.
This was rare, so we decided to also drop the tags
that were describing both version PySide.Qt in:

PySide6-6.2.4-6.2.4

using only the pyside version

PySide6-6.2.4


On top of that,
we reached a point that the PySide6 wheel was too large,
because it was including all the modules.
Many people argued, "why do I need webengine, multimedia, ..."
if I only want to have a simple PySide application?

So we split the wheels [2] [3].
Installing pyside6 for new users, will install
pyside6_essentials, and pyside6_addons wheels,
so in your case, you'd need to uninstall and then install pyside6
again, because pip cannot detect the change in wheel structure.

With that information, answering your questions:

1) if you are 'updating', then the solution is to uninstall and install
pyside6 again.
2) Installing pyside6, and not updating.

As long as you have glibc 2.28+ and a recent pip (run: pip install -U 
pip) you would be able to install, because the PEP600 was included
in pip 20.3 (2020-11-30).

If you have any more question, let us know!


[1] https://peps.python.org/pep-0600/
[2] https://www.qt.io/blog/qt-for-python-details-on-the-new-6.3-release
[3] 
https://doc.qt.io/qtforpython/gettingstarted/package_details.html#package-details

On 12/9/22 20:16, dynobo via PySide wrote:
> 
> Hi,
> 
> I've noticed for an application which I package as AppImage, that I 
> can't install PySide versions more recent than 6.2.4.
> 
> When inspecting the distribution files on PyPi and 
> https://download.qt.io/official_releases/QtForPython/pyside6/ it seems 
> to me, that after 6.2.4 the builds changed:
> 
> Manylinux wheel files for 6.2.4 got build for various Python versions:
> PySide6-6.2.4-6.2.4-cp36.cp37.cp38.cp39.cp310-abi3-manylinux1_x86_64.whl
> 
> After that, they only seem to be build for Python 3.7:
> PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl
> 
> 1.) Can this be the reason why I can't update beyond 6.2.4 inside my 
> AppImage (I'm using Python 3.9)?
> 
> 2.) Any ideas, how I could use the most recent PySide6 versions inside 
> an AppImage again?
> 
> Any help or hints is appreciated! 😄
> Thanks & best regards!
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> https://lists.qt-project.org/listinfo/pyside

-- 
Dr. Cristián Maureira-Fredes
Senior R&D Manager

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin

Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B


More information about the PySide mailing list