pcp
[Top] [All Lists]

Re: python3 woes on f22

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Subject: Re: python3 woes on f22
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Sun, 12 Jul 2015 20:15:57 -0400
Cc: pcp <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <55A2FFBB.5000803@xxxxxxxxxx>
References: <5594A1B5.5090003@xxxxxxxxxx> <y0mbnfhvx03.fsf@xxxxxxxx> <55A2FFBB.5000803@xxxxxxxxxx>
User-agent: Mutt/1.4.2.2i
Hi -

On Mon, Jul 13, 2015 at 10:00:59AM +1000, Mark Goodwin wrote:
> [...]
> >With Fedora 23 shipping python3 only in default installs,
> >/usr/bin/python will not exist there.
> 
> I would have hoped /usr/bin/python would still exist, and be the platform
> default (either python2 or python3).

Considering that they are incompatible, official python migration advice
has been not to confound the two by reusing the /usr/bin/python name.


> [...] we'd need to resort to configury at build time to explicitly
> use the default interpreter.
>
> That's pretty ugly IMO. we might be better off sticking with python2
> and tweaking the deps (as has already been done). 

At least it's only ugly for us; for users it's lovely.


> Or perhaps we could create a pcp-python script that just execs the
> default interpreter, and use that everywhere (/me ducks, but maybe
> it's worth considering).

(FWIW, I'd advise for fewer rather than more pcp wrappers for normal
system utilities.)


- FChE

<Prev in Thread] Current Thread [Next in Thread>