Project

General

Profile

Actions

Feature #4485

closed

Build Python 2.7 modules

Added by Alexander Pyhalov over 7 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
2014-01-15
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

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

Related to OpenIndiana Distribution - Feature #4561: Bump Python to 2.7.6ClosedOI Userland2014-02-032014-02-24

Actions
Actions #1

Updated by Alexander Pyhalov over 7 years ago

  • Assignee set to Alexander Pyhalov
Actions #2

Updated by Alexander Pyhalov over 7 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).

Actions #3

Updated by Ken Mays almost 7 years ago

  • Tracker changed from Bug to Feature
Actions #4

Updated by Alexander Pyhalov over 4 years ago

  • Status changed from New to Resolved

Resolved long ago.

Actions

Also available in: Atom PDF