On 04. 01. 22 11:09, Florian Weimer wrote:
Or is it still banned in Fedora? We have some scripts that are dual Python 2/Python 3, and Fedora tooling forced us to carry a downstream-only patch to replace /usr/bin/python with /usr/bin/python3. I'd like to remove this patch.
It is still forbidden: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_interpreter_invocation Instead of a patch, you can use the %py3_shebang_fix macro. https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#py3_shebang_fix -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure