Bug 25214 - python3-pyside2 sub-packages miss corresponding PYI files
Summary: python3-pyside2 sub-packages miss corresponding PYI files
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 25213
  Show dependency treegraph
 
Reported: 2019-08-01 20:14 CEST by Oleg Bosis
Modified: 2019-08-10 02:17 CEST (History)
1 user (show)

See Also:
Source RPM: pyside2-5.12.2-1.mga7.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.