Hello Ben, Am Freitag, 14. Mai 2021, 22:00:13 CEST schrieb Ben Greiner:
Am 13.05.21 um 19:49 schrieb Axel Braun:
I noticed that build-flavours python36/38/39-pyside2 are missing in TW. python3-pyside2 is obviously not considered sufficient (means, build targets of a singlespec python package are 'unresolveable').
Do I need to change the singlespec, or is pyside2 being adjusted?
Do you have a package which really needs PySide2 and cannot use PyQt5 for those flavors? When it is an alternative supported by a package, it often is added as a suggestion to the python3 flavor, but generally there is not a hard runtime requirement.
To me it looks that onionshare 2.3.1 is asking for pyside2: https://build.opensuse.org/package/show/ home:DocB:branches:devel:languages:python/python-onionshare
It is possible to change python3-pyside2 to singlespec python-pyside2 [1, 2].
Hm, it would probably be better to have the flavours build - what do you suggest? Cheers Axel
But I am not sure if the Qt5 maintainers are very fond of such a change. And I would not submit it without further changes. I am particularly unhappy about the re-install hack to circumvent Qt's supposedly buggy setup.py install behavior: * Some of the devel tools entry-points are lost, e.g. pyside2-designer. * The egg-info for the installed modules is lost. This could prevent loading PySide2 for downstream packages with entry-points.
PySide6 as being prepared by Christophe [3] is also python3 only at the moment.
Thanks Axel
Cheers, Ben
[1] https://build.opensuse.org/package/show/home:bnavigator:branches:KDE:Qt5/pyt hon-pyside2 [2] Specfile diff to KDE:Qt5/python3-pyside2: https://susepaste.org/46295412 [3] https://build.opensuse.org/package/show/home:cgiboudeaux:Qt6/python-pyside6