Bug 1592146 - qt5-qtbase-devel requires python2
Summary: qt5-qtbase-devel requires python2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtbase
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
 
Reported: 2018-06-17 21:16 UTC by Miro Hrončok
Modified: 2018-06-23 11:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-23 09:34:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2018-06-17 21:16:30 UTC
qt5-qtbase-devel requires /usr/bin/python2 due to /usr/lib64/qt5/mkspecs/features/uikit/devices.py with Python 2 shebang.

The script seems python3 compatible (it even has a from __future__ import print_function line). Could you please change the shebang to be /usr/bin/python3 instead? (Or drop the file if it's not needed.)

Version-Release number of selected component (if applicable): qt5-qtbase-devel-0:5.11.0-2.fc29


Steps to Reproduce:
1. $ dnf repoquery --requires qt5-qtbase-devel | grep python

Actual results: /usr/bin/python2


Expected results: /usr/bin/python3 (or nothing)

Comment 1 Than Ngo 2018-06-23 09:34:54 UTC
it's fixed in qt5-qtbase-5.11.1-2.fc29

Comment 2 Miro Hrončok 2018-06-23 11:33:21 UTC
Thank you.


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