[libvoikko] Python 3 and libvoikko

Harri Pitkänen hatapitk at iki.fi
Wed Jan 27 21:14:24 EET 2010


I have just completed porting the libvoikko Python module (libvoikko.py) to 
Python 3. This means that programs written in Python 3 can be used with 
libvoikko 2.3. Previously only supported Python versions were 2.5 and 2.6.

Since Python 2 and Python 3 are not compatible languages you still need to 
convert the module to version 3 source using the 2to3 utility which has been 
part of Python distribution since version 3.

Notice that these requirements are only for programs that use libvoikko 
through the Python module. Python is also required for building libvoikko and 
for that supported versions are 2.3 - 2.6 (no support for Python 3 yet). Test 
utilities that are not part of the libvoikko source distribution generally 
work with Python 2.5 and 2.6.

Python 2.x will be supported by libvoikko as long as it is considered 
necessary. Probably at least two years, but it depends on how quickly Python 3 
becomes the default Python version in the most widely used Linux 
distributions.

Harri



More information about the Libvoikko mailing list