rxcomm / pyaxo

A python implementation of the Axolotl ratchet protocol.
GNU General Public License v3.0
71 stars 11 forks source link

Please fix python3 build #28

Open yurivict opened 6 years ago

yurivict commented 6 years ago

It prints these errors:

byte-compiling /usr/ports/security/py-pyaxo/work-py36/stage/usr/local/lib/python3.6/site-packages/pyaxo.py to pyaxo.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/pyaxo.py", line 127
    print 'Confirm ' + other_name + ' has identity key fingerprint:\n'
                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print 'Confirm ' + other_name + ' has identity key fingerprint:\n')?

writing byte-compilation script '/tmp/tmp0_bsh647.py'
/usr/local/bin/python3.6 /tmp/tmp0_bsh647.py
  File "/usr/local/lib/python3.6/site-packages/pyaxo.py", line 127
    print 'Confirm ' + other_name + ' has identity key fingerprint:\n'
                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print 'Confirm ' + other_name + ' has identity key fingerprint:\n')?

Project unmessage depends on both pyaxo and opuslib. opuslib is now pythin3-only, and pyaxo is pythin2-only. This makes unmessage broken.

felipedau commented 6 years ago

@yurivict, thank you so much for letting us know! We will fix that. unMessage itself is python2-only regardless of its dependencies, so we'll need to work on that too.

Thanks!