I am aware of the issue. I would suggest changing them all to python3. We can work through any issues that arise after the code passes the CI gates. Most of those shebangs are in place for developers using make test-shell, which could be evoking the script via 'python2 <foo.py>'
On Thu, Oct 31, 2019 at 9:46 AM Renato Botelho do Couto via Lists.Fd.Io <renato=netgate....@lists.fd.io> wrote: > I've been working to build VPP on CentOS 8 and rpmbuild is complaining > about using '#!/usr/bin/env python' or '#!/usr/bin/python' on scripts' > shebang line. It says it must to define explicitly if it's using > python2 or python3. > > # git grep 'env python$' | wc -l > 117 > > There are several scripts with this invalid shebang line and I'm not > sure about what to do with them. Could you give me some help about how > to proceed with it? > > Thanks! > -- > Renato Botelho do Couto > Software Engineer > Netgate > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#14414): https://lists.fd.io/g/vpp-dev/message/14414 > Mute This Topic: https://lists.fd.io/mt/40145444/1594641 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [ > pvi...@vinciconsulting.com] > -=-=-=-=-=-=-=-=-=-=-=- >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14416): https://lists.fd.io/g/vpp-dev/message/14416 Mute This Topic: https://lists.fd.io/mt/40145444/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-