#766 Syntax error in koji/tasks.py when install with Python 3
Closed: Invalid Opened by cqi.

I got this error while installing koji from tag koji-1.15.0 directly, e.g. git+https://pagure.io/koji.git@koji-1.15.0#egg=koji. But, tasks.py is not included in package python3-koji. Have no idea if this is a problem.

    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/ssl/SSLCommon.py to SSLCommon.cpython-36.pyc
    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/ssl/__init__.py to __init__.cpython-36.pyc
    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/auth.py to auth.cpython-36.pyc
    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/tasks.py to tasks.cpython-36.pyc
      File "/code/.tox/py36/lib/python3.6/site-packages/koji/tasks.py", line 125
        raise TypeError, "No legacy signature for %s" % method
                       ^
    SyntaxError: invalid syntax
    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/context.py to context.cpython-36.pyc
    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/policy.py to policy.cpython-36.pyc
    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/daemon.py to daemon.cpython-36.pyc
    byte-compiling /code/.tox/py36/lib/python3.6/site-packages/koji/xmlrpcplus.py to xmlrpcplus.cpython-36.pyc

It is no problem, as we don't support python3 (yet) for all koji components. So, only CLI fully supports py3. If we fix this part, you'll get to tons of other issues in other files and required py3 libraries which don't exist.

Some related work is in #451

Metadata Update from @tkopecek:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/766

Please continue any further discussion there.

Metadata