The lorax 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 27 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
I have prepared a Pagure PR with the fix [0] for the issue and would kindly ask to review it and merge at will. [0] https://src.fedoraproject.org/rpms/lorax/pull-request/1
Thanks, but running sed in the spec isn't the right way to fix this. PR here - https://github.com/rhinstaller/lorax/pull/256
Hi Brian, fixing this upstream is even better. Thank you for taking a look and opening an upstream PR.
Proposed as a Freeze Exception for 27-beta by Fedora user bcl using the blocker tracking app because: Would be nice not to pull in python2
Fix pushed to rawhide only.