The python3-os-testr RPM requires both Python 2 and Python 3. Except in very special circumstances, there is no need for one package to drag in both Python stacks. Usually, this is a packaging error: for example, a stray "/usr/bin/python" shebang in a Python 3 package can introduce a Python 2 dependency. Please split your package, or remove the stray dependencies. There is a section on shebangs in the Python RPM Porting Guide [0] which covers this issue. It's ok to do this in Rawhide only, however, it would be greatly appreciated if you could push it to Fedora 25 as well. If anything is unclear, or if you need any kind of assistance, you can ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy to help investigating or fixing this issue! [0] http://python-rpm-porting.readthedocs.io/en/latest/application-modules.html#are-shebangs-dragging-you-down-to-python-2
Created attachment 1229058 [details] Patch to fix pulling Python 2 in python3-os-testr Hi Chandan, Please find the change needed to fix Python 2 dependency in python3-os-testr subpackage attached. Could you please review it and do the update? Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=16787468
Reopening the issue, as it appeared again after the package update to version 0.8.0 [0]: $ dnf repoquery --disablerepo=* --enablerepo=rawhide --requires python3-os-testr ... /usr/bin/python /usr/bin/python3 ... The patch from Comment 1, which got unapplied in the last update, should fix the issue. [0] https://src.fedoraproject.org/cgit/rpms/python-os-testr.git/commit/python-os-testr.spec?id=cc9f2860446751950c982d1afd993cd7b66de67a
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'.
This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
$ dnf repoquery --repo=rawhide --requires python3-os-testr /usr/bin/python2 /usr/bin/python3 ...
Fix proposed in https://src.fedoraproject.org/rpms/python-os-testr/pull-request/2
https://koji.fedoraproject.org/koji/buildinfo?buildID=1172309
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days