Bug 25214

Summary: python3-pyside2 sub-packages miss corresponding PYI files
Product: Mageia Reporter: Oleg Bosis <olelukoie>
Component: RPM PackagesAssignee: David GEIGER <geiger.david68210>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: tmb
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: pyside2-5.12.2-1.mga7.src.rpm CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 25213    

Description Oleg Bosis 2019-08-01 20:14:06 CEST
Description of problem:

Trying to use IntelliJ Idea with Python plugin to test pyside2 I've encountered problem with Qt classes autocompletion and overall recognition by the IDE. All of them are always underlined as undefined.

After some investigation I've found that all python3-pyside2 subpackages miss corresponding pyi files with interfaces of Qt classes that are required for the IDE to support code completion and "intellisense" feature.

I've tryed to rebuild python3-pyside2 package and found that all pyi files are successfully generated during build process but then ignored during install process. It seems they need manual copying from build dir to install dir and then packaging.

Version-Release number of selected component (if applicable):
pyside2-5.12.2-1.mga7

How reproducible:
always

Steps to Reproduce:
1. Use IntelliJ Idea with Python plugin or PyCharm IDE to write some code using pyside2 classes. Code example is available in bug 25213.
Comment 1 Lewis Smith 2019-08-01 20:50:20 CEST
Thank you Oleg for your report and diagnostic.
pyside2 assigned to DavidG.

Assignee: bugsquad => geiger.david68210

Comment 2 David GEIGER 2019-08-02 08:25:31 CEST
Should be fixed with pyside2-5.12.2-1.1.mga7!

Please test it!
David GEIGER 2019-08-02 16:02:19 CEST

Blocks: (none) => 25213

Comment 3 Thomas Backlund 2019-08-10 02:17:37 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0088.html

CC: (none) => tmb

Comment 4 Thomas Backlund 2019-08-10 02:17:58 CEST
.

Resolution: (none) => FIXED
Status: NEW => RESOLVED