Contributed by weerd on from the snakes-in-the-tree dept.
Remi Pointel (rpointel@) has changed the default Python version from 2.6 to 2.7:
CVSROOT: /cvs Module name: ports Changes by: firstname.lastname@example.org 2011/06/08 11:28:14 Modified files: lang/python : python.port.mk Log message: Switch default to python 2.7. Discussed and ok from many. Bumps will follow. "go go go" from jasper@.
Please read on for Remi's announcement to the ports@ mailinglist.
As always, users are invited to test and to report any bug they find on the ports@ mailing list. We'd like to thank Remi and the other porters involved in this change for their work.Hello, As you may have noticed the default python version has changed to 2.7. 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 libraries. 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.1.0p0.tgz then it was built with python 2.7. - IF YOU BUILD THINGS FROM PORTS THEN CVS UP THE WHOLE TREE. - if you have created a symlink from /usr/local/bin/python to python2.6, you will almost certainly want to switch it to python2.7, 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.7 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.5 to 2.6 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. Thanks to all people who worked with me on this version. Remi.
(Comments are closed)