Re: python3 script header and rhel8

2020-01-29 Thread Stefan Hajnoczi
On Tue, Jan 28, 2020 at 04:07:47PM +, Daniel P. Berrangé wrote: > On Tue, Jan 28, 2020 at 03:44:04PM +, Vladimir Sementsov-Ogievskiy wrote: > > scripts/tracetool/__init__.py > > scripts/tracetool/backend/__init__.py > > scripts/tracetool/backend/dtrace.py > > scripts/tracetool/backend/ftrac

Re: python3 script header and rhel8

2020-01-28 Thread John Snow
On 1/28/20 11:07 AM, Daniel P. Berrangé wrote: > On Tue, Jan 28, 2020 at 03:44:04PM +, Vladimir Sementsov-Ogievskiy wrote: >> Hi all! >> >> Hmm Qemu dropped support for python2, and anyway python2 is not supported >> now at all. >> >> Still, we have a lot of "#!/usr/bin/env python" headings

Re: python3 script header and rhel8

2020-01-28 Thread Daniel P . Berrangé
On Tue, Jan 28, 2020 at 03:44:04PM +, Vladimir Sementsov-Ogievskiy wrote: > Hi all! > > Hmm Qemu dropped support for python2, and anyway python2 is not supported now > at all. > > Still, we have a lot of "#!/usr/bin/env python" headings in our scripts, > which is > unsupported by rhel8 by d

Re: python3 script header and rhel8

2020-01-28 Thread Philippe Mathieu-Daudé
On 1/28/20 4:44 PM, Vladimir Sementsov-Ogievskiy wrote: Hi all! Hmm Qemu dropped support for python2, and anyway python2 is not supported now at all. Still, we have a lot of "#!/usr/bin/env python" headings in our scripts, which is unsupported by rhel8 by default. So, for example, because of

python3 script header and rhel8

2020-01-28 Thread Vladimir Sementsov-Ogievskiy
Hi all! Hmm Qemu dropped support for python2, and anyway python2 is not supported now at all. Still, we have a lot of "#!/usr/bin/env python" headings in our scripts, which is unsupported by rhel8 by default. So, for example, because of such line in tests/qemu-iotests/nbd-fault-injector.py, iot