Feature #4485
closedBuild Python 2.7 modules
90%
Description
After introducing Python 2.7 we have to build Python 2.7 modules and set PYTHON_VERSIONS to "2.6 2.7".
Currently there are following components in userland which can be affected by this change:
apache2-modules/mod_wsgi
graphviz IGNORED
gtk-vnc
libproxy
libxslt IGNORED
logilab-astng IGNORED
logilab-common IGNORED
mercurial
pgloader
pylint IGNORED
python/argparse
python/barman
python/cherrypy
python/coverage IGNORED
python/cssutils IGNORED
python/decorator IGNORED
python/imaging IGNORED
python/ipython IGNORED
python/jsonrpclib IGNORED
python/ldtp IGNORED
python/m2crypto IGNORED
python/mako IGNORED
python/mock IGNORED
python/mysql
python/netaddr IGNORED
python/nose IGNORED
python/pep8 IGNORED
python/pip
python/ply IGNORED
python/pybonjour IGNORED
python/pycups IGNORED
python/pylxml IGNORED
python/pyrex
python/pyro
python/pyopenssl IGNORED
python/simplejson IGNORED
python/twisted IGNORED
python/twisted-web2 IGNORED
python/unittest2
python/zope-interface IGNORED
rdiff-backup
subversion
we have to set PYTHON_VERSIONS to "2.6 2.7" on component-by-component basis because of their dependencies.
Dependencies (preliminary version):
apache2-modules/mod_wsgi doesn't depend on any python modules
gtk-vnc doesn't depend on any python modules
libproxy doesn't depend on any python modules
mercurial doesn't depend on any python modules
pgloader depends on psycopg2
python/argparse The argparse module was integrated into Python 2.7, shouldn't be built with PYTHON 2.7, not affected
python/barman depends on argh, psycopg2, dateutil
python/cherrypy doesn't depend on any python modules
python/python-dateutil doesn't depend on any python modules
python/mysql doesn't depend on any python modules
python/numpy depends on python-extra
python/pip depends on setuptools
python/pyrex depends on python-extra
python/python-extra depends on numpy, pyrex
python/pyro doesn't depend on any python modules
python/setuptools doesn't depend on any python modules
python/unittest2 doesn't depend on any python modules (something is wrong, unittest2-26 currently depends on pkg:/runtime/python-27)
rdiff-backup doesn't depend on any python modules
subversion currently only built for python-26 (needs work to convert to 27 or to deliver both versions).
Have to note, there are also other components which should be modified to deliver Python 2.7 modules).
Related issues
Updated by Alexander Pyhalov over 9 years ago
- % Done changed from 0 to 90
Necessary changes were made. Now oi-userland builds Python 2.6 and 2.7 modules by default when using setup.py.mk. However, several components use alternative configuration (e.g. autconf scripts), so they deliver only packages for $(PYTHON_VERSION), which is currently set to 2.6. Also libxslt component is not enabled in oi-userland, because there are external consumers (mostly JDS), which require testing with rebuilt libxslt (or porting to oi-userland).
Updated by Alexander Pyhalov over 6 years ago
- Status changed from New to Resolved
Resolved long ago.