On Mon, Sep 10, 2018 at 7:23 AM Miro Hrončok <mhron...@redhat.com> wrote: > > Hi, according to my query, latest build of your package failed the > Taskotron check that checks if the brp-magle-sehbang script mangled the > shebangs from python to python2. > > See something like this in the build.log: > > *** WARNING: mangling shebang in ... from #!/usr/bin/env python to > #!/usr/bin/python2. This will become an ERROR, fix it manually! > > This will soon become an error in F30 as promised 2 releases ago. > > https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error > > The motivation is to not drag dependency on python2 when it is not > needed. If you are hit by this error, you should check whether the > executable Python file with the Python shebang is actually needed in > your package. If it is needed, fix the shebang manually to python3 or > python2 explicitly. > > Here's how: > > https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error#Using_pathfix.py_to_fix_shebangs > > And here is the list: > > Packages by maintainer: > ngompa appliance-tools pagure zypper
I'm working on fixing these. "pagure" will change to Python 3 in F29+ soon, and I'm working on porting appliance-tools and zypper to Python 3. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org 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/python-devel@lists.fedoraproject.org