python2.4 to 2.5 as default

If none of the more specific forums is the right place to ask

python2.4 to 2.5 as default

Postby plun » 2007-10-23 08:47

Hi all

Changed python to version 2.5 as default.

Reference:
viewtopic.php?t=16823&highlight=python2+5

And this solution works:
http://coderseye.com/2007/setting-up-sa ... erver.html


Code: Select all

Edit /usr/share/python/debian_defaults to this:

[DEFAULT]
# the default python version
default-version = python2.5

# all supported python versions
supported-versions = python2.4, python2.5

# formerly supported python versions
old-versions = python2.3

# unsupported versions, including older versions
unsupported-versions = python2.3

Change the symlink /usr/bin/python to point to python2.5

[root]$ cd /usr/bin
[root]$ rm python
[root]$ ln -s python2.5 python
[root]$ pycentral updatedefault python2.4 python2.5



I cannot see any problem with running python2.5 ?! but it must be reasons
for not using version 2.5 as default ?

I had a couple of new apps which needs python 2.5.

I don't want to spread this solution without better knowledge.

Thanks !
Debian Sid
plun
 
Posts: 3
Joined: 2007-10-20 23:09
Location: Sweden

Postby sinical » 2007-10-23 11:09

You will be fine, as from the forum link you posted before i am still running it the way i posted and have no python issues. You will find that most of the time if a python program needs a spec version of python it will explictly define if it needs 2.4 or 2.5
Every cloud has a silver lining, except for the mushroom shaped ones, which have a lining of Strontium 90.
---------------------------------------------
umop apisdn
User avatar
sinical
 
Posts: 1022
Joined: 2007-03-25 11:52

Postby plun » 2007-10-23 18:21

sinical wrote:You will be fine, as from the forum link you posted before i am still running it the way i posted and have no python issues. You will find that most of the time if a python program needs a spec version of python it will explictly define if it needs 2.4 or 2.5


Yup, no problem except some work to recompile a few apps with 2.5 site-packages.

I have been running both Feisty and Gutsys all dev releases so ver 2.5 is not something new.

The only issue I have is a strange package trouble where a dev are using a Ubuntu package name. python-gconf.

http://packages.ubuntu.com/gutsy/python/python-gconf

Debian python-gnome
http://packages.debian.org/search?keywo ... ection=all

I am going to ask the dev how its done, just "import gconf" withing the python code.
Debian Sid
plun
 
Posts: 3
Joined: 2007-10-20 23:09
Location: Sweden


Return to General Questions

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable