Bug 54027

Summary: Отсутствует скрипт pyside6-uic
Product: Sisyphus Reporter: Sergei Naumov <Sergei.Naumov>
Component: python3-module-pyside6-develAssignee: Sergey V Turchin <zerg>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: cas, grenka, zerg
Version: unstable   
Hardware: x86_64   
OS: Linux   
Bug Depends on:    
Bug Blocks: 52581    

Description Sergei Naumov 2025-04-27 14:45:07 MSK
В пакете нет скрипта, который из QML'я делает питоновский код (PyQt6). В пакете python3-module-PyQt6-devel его тоже нет...
Comment 1 Andrey Cherepanov 2025-05-04 16:10:40 MSK
В версии Qt6 для генерации кода на Python из файлов .ui используется штатный uic из пакета qt6-base-devel:

/usr/lib64/qt6/libexec/uic -g python test.ui
Comment 2 Andrey Cherepanov 2025-05-04 16:23:05 MSK
Хотя нет, библиотека изнутри требует pyside6-uic.
Comment 3 Andrey Cherepanov 2025-05-04 16:26:42 MSK
[user@c253 ~]$ python3
Python 3.12.10 (main, Apr 16 2025, 11:02:44) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PySide6.QtUiTools import loadUiType
>>> loadUiType('test.ui')
Cannot run ' pyside6-uic ':  Child process set up failed: execve: No such file or directory  - Check if 'pyside6-uic' is in PATH
>>>
Comment 4 Repository Robot 2025-05-04 18:50:36 MSK
python3-module-pyside6-6.8.2.1-alt0.2 -> sisyphus:

 Sun May 04 2025 Andrey Cherepanov <cas@altlinux> 6.8.2.1-alt0.2
 - Package pyside6-uic as wrapper for uic -g python (ALT #54027).