Re: Migrating from Python 2.4 to Python 2.5 in Etch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Amit Uttamchandani wrote:
> On Fri, 07 Mar 2008 11:19:32 -0800
> Bob McGowan <bob_mcgowan@symantec.com> wrote:
>
>> Amit T Uttamchandani wrote:
>>> Hey Everyone,
>>>
>>> Some of the libraries I need to use are only available for python 2.5. I installed it in Etch and everything works fine.
>>>
>>> I understand that Etch installs python 2.4 by default. Is there any way I can "force" /usr/bin/python to python 2.5? The issues are:
>>>
>>> 1. Will changing the symbolic link mess up anything?
>>> 2. I can simply use #!/usr/bin/python2.5 at the beginning of my scripts right and not worry about symlinks and all that?
>>>
>>> Any suggestions?
>>>
>>> Thanks,
>>> Amit
>>>
>>>
>> Option 2 is correct and will work fine for your situation. So, I'd
>> suggest staying with option 2, for now.
>>
>> I'm not a Python user, so I can't vouch for it, but there could be
>> changes in 2.5 that have unexpected repercussions with 2.4 code. I
>> would leave changing the symlinks/alternatives to the developers and
>> release engineers.
>>
>
> You are right, I will leave the symlinks/alternatives to the devs. Thanks for your reply.
>
> Amit
>
>
Just upgrade the symlink, py3k is not back compatible, but 2.5 is.
Honestly i just recommend building the latest from source, or at least
using lenny's or Sid's for any kind of development.
Regards
Rich Healey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH1xoVLeTfO4yBSAcRAtbvAKDNR+wT38k6L+3kcyoqrMvg+NakMQCeN9iG
UTcPo4aOsyvKaAu3v0neqmQ=
=e4Us
-----END PGP SIGNATURE-----
Reply to: