Bug 1411160
| Summary: | typo in /usr/bin/pyrcc5 : s/python2/python3 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | ed leaver <ewleaver> |
| Component: | python-qt5 | Assignee: | Rex Dieter <rdieter> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | home, rdieter, than |
| Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-qt5-5.7-4.fc25 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-31 21:51:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Seems to have been fixed with python-qt5-devel.x86_64 5.7-2.fc25
cat /usr/bin/pyrcc5
#!/bin/sh
exec /usr/bin/python2 -m PyQt5.pyrcc_main ${1+"$@"}
same as before. But pyrcc5 now executes correctly, so someone apparently fixed the python2 modules. Isee a new
/usr/lib64/python2.7/site-packages/PyQt5
folder appeared when I dnf'd an update a few minutes ago. So I'd close this thing as FIXED.
(I had done a dnf update an hour ago; the new package didn't appear then, but came in as a dependency when I just installed python3-qscintilla-qt5-devel)
Thanks!
pyrcc5 could benefit from using a wrapper similar to what we already do for pyuic5 Need to include pylupdate5 as that is wrong as well yes, see also bug #1415812 working on it today fixed rawhide build underway: https://koji.fedoraproject.org/koji/buildinfo?buildID=836606 python-qt5-5.7-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b73fb9b8a python-qt5-5.7-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b73fb9b8a The pyrcc5 wrapper is incorrect. it should have PyQt5.pyrcc_main but instead has PyQt5.PyQt5.pyrcc_main good eye, sorry about my mistake, fixed build on the way... python-qt5-5.7-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b73fb9b8a python-qt5-5.7-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b73fb9b8a python-qt5-5.7-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: /usr/bin/pyrcc5 is supplied by packages python-qt5-devel and python3-qt5-devel I have python3-qt5-devel installed I have python-qt5 installed, but do *not* have python-qt5-devel installed execute: $ /usr/bin/pyrcc5 result: /usr/bin/python2: No module named PyQt5.pyrcc_main Version-Release number of selected component (if applicable): python3-qt5-devel-5.7-1.fc25.x86_64 : Python 3 bindings for Qt5 How reproducible: always Steps to Reproduce: 1. /usr/bin/pyrcc5 Actual results: /usr/bin/python2: No module named PyQt5.pyrcc_main Expected results: Usage: pyrcc5 [options] <inputs> (etc.) Additional info: /usr/bin/pyrcc5 is a one-liner: #!/bin/sh exec /usr/bin/python2 -m PyQt5.pyrcc_main ${1+"$@"} simply s/python2/python3 in my local /usr/bin/pyrcc5 seems to work fine