Description of problem: On Fedora 24, when attempting to run `bodhi -T` the program aborts with a ImportError: No module named dnf Version-Release number of selected component (if applicable): bodhi-client-0.9.12.2-4.fc24.noarch How reproducible: Always Steps to Reproduce: 1. dnf install bodhi 2. bodhi -T Actual results: $ rpm -qa | grep dnf python3-dnf-plugins-core-0.1.21-2.fc24.noarch dnf-1.1.9-2.fc24.noarch dnf-plugins-core-0.1.21-2.fc24.noarch python3-dnf-1.1.9-2.fc24.noarch python3-dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch dnf-conf-1.1.9-2.fc24.noarch dnf-yum-1.1.9-2.fc24.noarch dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch $ bodhi -T No handlers could be found for logger "fedora.client.bodhi" Traceback (most recent call last): File "/usr/bin/bodhi", line 537, in <module> main() File "/usr/bin/bodhi", line 356, in main for update in bodhi.testable(): File "/usr/lib/python2.7/site-packages/fedora/client/bodhi.py", line 376, in testable import dnf ImportError: No module named dnf Expected results: $ rpm -qa | grep dnf python3-dnf-plugins-core-0.1.21-2.fc24.noarch dnf-1.1.9-2.fc24.noarch dnf-plugins-core-0.1.21-2.fc24.noarch python3-dnf-1.1.9-2.fc24.noarch python3-dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch dnf-conf-1.1.9-2.fc24.noarch python2-dnf-1.1.9-2.fc24.noarch dnf-yum-1.1.9-2.fc24.noarch dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch `bodhi -T` not showing the `ImportError: No module named dnf` exception. Additional info: Workaround to this is to install python2-dnf manually until the Requires gets added to the spec file. Although I didn't test this on rawhide, I expect the same behavior to happen as 0.9.12.2-5's spec file is just a release bump from the previous release.
bodhi-0.9.12.2-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c2f56716df
Bodhi 2 does not import dnf, so I've fixed this in Fedora 23, 24, and 25, but not Rawhide.
bodhi-0.9.12.2-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-59cac52504
bodhi-0.9.12.2-4.fc23 has been pushed to the Fedora 23 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-59cac52504
bodhi-0.9.12.2-6.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-2016-c2f56716df
bodhi-0.9.12.2-5.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-c7666a84be
bodhi-0.9.12.2-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
bodhi-0.9.12.2-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
bodhi-0.9.12.2-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.