Description of problem: When using Pyrex to build anything with Python 2.4, I get an exception. This is because the prototype of swig_sources changed between Python 2.3 and Python 2.4, and Pyrex re-implements it. Version-Release number of selected component (if applicable): 0.9.3 How reproducible: Every time. Steps to Reproduce: 1. "python setup.py build_ext" with any Pyrex extension. Actual results: Traceback (most recent call last): File "setup.py", line 10, in ? cmdclass = {'build_ext': build_ext} File "/usr/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/usr/lib/python2.4/distutils/command/build_ext.py", line 279, in run self.build_extensions() File "/usr/lib/python2.4/distutils/command/build_ext.py", line 405, in build_extensions self.build_extension(ext) File "/usr/lib/python2.4/distutils/command/build_ext.py", line 442, in build_extension sources = self.swig_sources(sources, ext) TypeError: swig_sources() takes exactly 2 arguments (3 given) Expected results: The extension should have been created. Additional info: This patch seems to fix the problem for me: http://www.develer.com/~rasky/pyrex093-py24-fix.patch
*** Bug 169670 has been marked as a duplicate of this bug. ***
arg, I submitted the dup to the release so I will have to close this manually once the fix is pushed. The updated patch is queued to be pushed by the release team.
has this been fixed now?
Looks like it was fixed in upstream 0.9.3.1, which is in rawhide; closing.