[libvirt] [PATCH v2 00/24] scripts: convert most perl scripts to python

Daniel P. Berrangé berrange at redhat.com
Fri Sep 13 08:59:19 UTC 2019


On Fri, Sep 13, 2019 at 10:56:45AM +0200, Andrea Bolognani wrote:
> On Wed, 2019-09-11 at 17:23 +0100, Daniel P. Berrangé wrote:
> > This series is an effort to reduce the number of different
> > languages we use by eliminating most use of perl in favour
> > of python.
> 
> Just today I found out about
> 
>   https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/new_features#enhancement_compiler-and-tools
> 
> which means that if we interpret "supporting RHEL 7" as "supporting
> the most recent RHEL 7 point release", which I believe we do, then
> that's one less platform where we are forced to use Python 2! \o/

I should have said that I did in fact test this series with Python 2.7,
Python 3.5 and Python 3.7 - all using the Fedora 31 RPMS of these
respective versions.

> > This aligns with fact that the likely future build system
> > we'll use (meson) is written in python, and that python
> > is much more commonly used/understood by developers these
> > days than perl.
> 
> I believe Meson is itself implemented in Python 3, so platform
> availability will have to be taken into consideration.

Yes, Meson needs py 3.4 I believe

> My hope is that we can finally ditch Python 2 for good. The
> https://pythonclock.org/ keeps ticking...

My intention was to submit patches to purge Py2 support in
December, so that we have it gone for the Jan 15 2020 release
which matches the pythonclock timeout nicely.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list