[Python-modules-team] Bug#534800: "SyntaxError: keyword argument repeated" in repoze.who.plugins.openid/setup.py

Stefano Zacchiroli zack at debian.org
Sun Jun 28 08:42:41 UTC 2009

On Sat, Jun 27, 2009 at 12:37:51PM +0200, Michael Bienia wrote:
> I'm trying to sync turbogears2 from experimental to Ubuntu karmic and
> I'm currently working myself through the stack and checking which
> package else I need to get synced. While trying to build
> python-repoze.who-plugins I got the following error:
> ,----
> |   File "setup.py", line 44
> |     test_suite='repoze.who.plugins.openid.tests'
> | SyntaxError: keyword argument repeated
> | ERROR: setup.py in subdir repoze.who.plugins.openid failed
> | make: *** [debian/python-module-stampdir/python-repoze.who-plugins] Error 1
> `----
> A look in epoze.who.plugins.openid/setup.py shows that it contains two
> "test_suite" lines. Leaving only the second one in place made the
> package build successfully, but I'm not sure if it's the proper fix for
> it.

According to the error message, it is surely the proper fix.
What puzzles me, is that I don't get the error in Debian, can you
please tell me more about your configuration? In particular, which
Python version are you using during building? Also, it would be nice
if you mention the version of all the build-dependencies of the

Thanks for the report,

Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

More information about the Python-modules-team mailing list