[libvirt] [PATCH v2 00/24] scripts: convert most perl scripts to python
Andrea Bolognani
abologna at redhat.com
Fri Sep 13 08:56:45 UTC 2019
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/
It might even be the last one, but I'm not entirely sure what the
situation is like for SLES and OpenSUSE... Jim, does SLES 12 have
Python 3?
And, as a side note: do you think you could find the time to add
OpenSUSE support to the libvirt-jenkins-ci project? That'd be very
useful, because it makes grepping for this kind of information
trivial, and also would open the door to running actual CI jobs on
the OS :)
> 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.
My hope is that we can finally ditch Python 2 for good. The
https://pythonclock.org/ keeps ticking...
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list