[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Ubuntu 15.10 will have python3 as default
From: |
Greg Troxel |
Subject: |
Re: [gpsd-dev] Ubuntu 15.10 will have python3 as default |
Date: |
Fri, 17 Jul 2015 08:25:25 -0400 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.5 (berkeley-unix) |
Sanjeev Gupta <address@hidden> writes:
> See: https://lists.ubuntu.com/archives/ubuntu-devel/2015-June/038799.html
>
> Ubuntu will shift to python 3.5 as the default for 15.10. Python 2.7 will
> be available, but will have to be explicitly called.
>
> Scons (neither 2.3.4 available now, nor 2.3.5 upstream) support python3.
> There is some ongoing work, but no firm date I can find.
Wow, that seems premature.
The only sane thing to do with python is to bind to a particular version
at build time. pkgsrc has been doing this for a long time, in that
there is python2.7, python3.4 but no bare python. Thus each
python-using package can build against whatever versions work, and it's
all independent, except for some packages that have both prefixed files
(in /usr/pkg/lib/pythonX.Y) and globally-name files, and you can only
have one of those.
I am not clear on how gpsd deals, but it seems like the build should be
able to start off with a path to particular python version.
pgpwGHFjXH2Qe.pgp
Description: PGP signature
Re: [gpsd-dev] Ubuntu 15.10 will have python3 as default, Eric S. Raymond, 2015/07/19