https://bugzilla.redhat.com/show_bug.cgi?id=1611829 --- Comment #25 from Stefan Berger <stefanb@xxxxxxxxxx> --- (In reply to Robert-André Mauchin from comment #24) > (In reply to Stefan Berger from comment #21) > > (In reply to Robert-André Mauchin from comment #18) > > > > python3 doesn't seem to create the symlink of python to the python3 executable. > So I have to use python2. > > > > Actually, I need python as well. It seems to be the one setting the symlink. I > > > > suppose it will set a different symlink once python3 takes over? > > > > > > Actually you must not use the "python" executable in your build script, it > > > is a warning since F28, and an error on F30. You should fix whatever part of > > > your buildsystem that use "python" and make it use "python3". > > > > > > > If I follow the logic in this python specification then python is the > > generic executable for programs running with python2 or python3. > > > > https://www.python.org/dev/peps/pep-0394/ > > > That's not the policy in Fedora: > https://fedoraproject.org/wiki/Packaging:Python#Multiple_Python_Runtimes > > Packages in Fedora MUST NOT use /usr/bin/python. Instead packages for Python > 3 MUST use /usr/bin/python3 (even if upstream supports both Python 2 and 3). > As a result of that /usr/bin/python (as well as /usr/bin/env python and > similar) MUST NOT be used in shebang lines or as a dependency of a package. > As of Fedora 30, all uses of unversioned python executables in shebang lines > will fail the build. These shebangs MUST be fixed. If it is necessary to > disable the checks, please see the information in > Packaging:Guidelines#Shebang_lines. Changed to python3 and python3-twised. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx