OpenBSD Journal

Heads up! System python changed to 2.6

Contributed by maxime on from the snakes-on-a-plane dept.

On August 31st, Stuart Henderson (sthen@) announced that the default Python version has changed from 2.5 to 2.6. This was following a commit by Federico G. Schwindt (fgsch@) in the ports tree. Please read on for Federico's full commit message and Stuart's announce:

From: "Federico G. Schwindt" 
Subject: CVS: ports
Date: Mon, 30 Aug 2010 10:35:02 -0600 (MDT)

Module name:	ports
Changes by:	2010/08/30 10:35:02

Modified files:
	lang/python    : 

Log message:
Switch default to python 2.6.
Discussed and ok from many. Bumps will follow.
From: Stuart Henderson 
To: ports 
Subject: HEADS UP: system python changed to 2.6
Date: Tue, 31 Aug 2010 11:33:42 +0100

as you may have noticed the default python version has changed
to 2.6.  please note:

- if you have currently installed ports that use python, you will
need to upgrade them before installing new ports using python.
if you have a mixture of old+new you will have problems finding

the simplest way to handle this is to use package snapshots
and make sure you run pkg_add -ui before adding anything new.
if a snapshot contains scapy-2.0.1p0.tgz then it was built
against python 2.6.


- if you have created a symlink from /usr/local/bin/python to
python2.5, you will almost certainly want to switch it to
python2.6, again in order that libraries can be found.
(packages should always explicitly use the path to the version
of python they were built against; this symlink is a convenience
some of you might use for things outside of packages).

- test! test! test!

several of us have been running with 2.6 as the default python
version for a long time and have experienced no problems, but
we can't test everything. unlike the switch from 2.4 to 2.5
we don't really expect any incompatibility, but if you rely
on something that uses python, then please upgrade when
possible and check for problems.

As always, users are invited to test and to report any bug they could find on the ports@ mailing list.

(Comments are closed)

Latest Articles


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]