installation of 0.4.11~rc1 fails with Python 2.4

Bug #256804 reported by Mark Lee
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij

Bug Description

I'm running Python 2.4.4 on Gentoo Linux, and `python setup.py install` fails with the following:

sh: apr-config: command not found
Traceback (most recent call last):
  File "setup.py", line 161, in ?
    (apr_includedir, apr_ldflags) = apr_build_data()
  File "setup.py", line 81, in apr_build_data
    includedir = apr_config("--includedir")
  File "setup.py", line 66, in apr_config
    res = run_cmd(cmd, arg)
  File "setup.py", line 51, in run_cmd
    cmd, arg, status, code)
  File "setup.py", line 32, in __init__
    super(CommandException, self).__init__(self.message)
TypeError: super() argument 1 must be type, not classobj

I assume the problem is that in Python 2.4.x, exceptions are derived from old-style classes, and therefore super() doesn't work.

Related branches

Revision history for this message
Mark Lee (malept) wrote :
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
importance: Undecided → Low
milestone: none → 0.4.11
status: New → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.