[libvirt] [PATCH 2/4] spec: Use Python 3 for building on Fedora

Daniel P. Berrangé berrange at redhat.com
Tue Mar 20 12:40:27 UTC 2018


On Tue, Mar 20, 2018 at 01:38:50PM +0100, Andrea Bolognani wrote:
> On Tue, 2018-03-20 at 11:12 +0000, Daniel P. Berrangé wrote:
> > On Tue, Mar 20, 2018 at 11:53:53AM +0100, Andrea Bolognani wrote:
> > > While RHEL / CentOS are still using Python 2 for the time being,
> > > Fedora has already switched to Python 3 as the default Python
> > > interpreter a while ago, so on that OS it doesn't make sense to
> > > drag in Python 2 anymore.
> > 
> > While current RHEL are py2, future RHEL should be expected to
> > use Python 3 too
> > 
> [...]
> > > +# Fedora can use Python 3, which unlike Python 2 is installed by default
> > > +%if 0%{?fedora}
> > 
> > This should include "|| 0%{?rhel} > 7" too
> 
> I think we should cross that bridge when we come to it, eg. when a
> RHEL release that uses Python 3 as the default Python is released.
> 
> We're probably going to have to go through the spec file and
> reassess most package relationships at that point anyway.

We've already crossed the bridge & done this work

  commit b2ab38bfdc765bbcb56b89b55dfee6b406fc8c29
  Author: Jiri Denemark <jdenemar at redhat.com>
  Date:   Fri Feb 9 14:08:45 2018 +0100

    spec: Prepare for future RHEL


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