Bug 1335971
Summary: | python3-aodhclient: Python 3 subpackage depends on Python 2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomas Orsava <torsava> |
Component: | python-aodhclient | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | apevec, cstratak, dkrejci, pkilambi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-aodhclient-0.5.0-2.fc24 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-22 16:23:16 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1285816, 1340802 |
Description
Tomas Orsava
2016-05-13 16:42:34 UTC
python-aodhclient-0.4.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d99cf757e5 Fix submitted for this and built packages in koji. python-aodhclient-0.4.0-3.fc24 has been pushed to the Fedora 24 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-2016-d99cf757e5 RDO rpm-master review: http://review.rdoproject.org/r/1238 Hi Pradeep! Thank you very much for taking the time to port your package! I've seen you already pushed a ported spec file for rawhide, there is just a slight hiccup: Your `python3-aodhclient` subpackage depends on Python 3 as it should, but also on /usr/bin/python2. This is very likely just a forgotten shebang which is not very troublesome to fix. I suggest reading the section on Shebangs on the Python RPM Porting Guide: http://python-rpm-porting.readthedocs.io/en/latest/application-modules.html#are-shebangs-dragging-you-down-to-python-2 Thank you for your time! Hi Pradeep and Tomas, there is a BuildRequire 'python-tools' instead of 'python3-tools' in the subpackage python3-aodhclient. Could it be the problem? hmm i tried changing that to python3-tools but it still requires python2: $ rpm -qRp /home/pkilambi/rpmbuild/RPMS/noarch/python3-aodhclient-0.5.0-1.fc23.noarch.rpm /usr/bin/python2 /usr/bin/python3 python(abi) = 3.4 python3-babel >= 1.3 python3-cliff >= 1.14.0 python3-futurist python3-keystoneauth1 >= 1.0.0 python3-oslo-i18n >= 1.5.0 python3-oslo-serialization >= 1.4.0 python3-oslo-utils >= 2.0.0 python3-six >= 1.9.0 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 I'm not sure why its depending on python2, anything obvious i'm missing? I think i found the problem. The issue is i was including /usr/bin/aodh in python3 package. Which should be only in python2. fixed in rawhide: http://koji.fedoraproject.org/koji/buildinfo?buildID=773784 I'll push an update to bodhi. $ rpm -qRp /home/pkilambi/rpmbuild/RPMS/noarch/python3-aodhclient-0.5.0-1.fc23.noarch.rpm /usr/bin/python3 python(abi) = 3.4 python3-babel >= 1.3 python3-cliff >= 1.14.0 python3-futurist python3-keystoneauth1 >= 1.0.0 python3-oslo-i18n >= 1.5.0 python3-oslo-serialization >= 1.4.0 python3-oslo-utils >= 2.0.0 python3-six >= 1.9.0 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 python-aodhclient-0.5.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-196695f526 python-aodhclient-0.5.0-2.fc24 has been pushed to the Fedora 24 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-2016-196695f526 Hi Pradeep! Thank you for taking the time, everything looks correct! This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. python-aodhclient-0.5.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |