Kallithea issues archive

Issue #151: python3

Reported by: Pietro Capriata
State: wontfix
Created on: 2015-08-11 09:06
Updated on: 2018-01-02 23:10

Description

python3 setup.py

uname -a

Linux server 4.0.0-200 #1 SMP Mon Apr 13 13:54:58 UTC 2015 armv7l armv7l armv7l GNU/Linux
File "setup.py", line 113
    except IOError, err:
                  ^
SyntaxError: invalid syntax

Attachments

Comments

Comment by Pietro Capriata, on 2015-08-11 09:07

Comment by Pietro Capriata, on 2015-08-11 09:07

Comment by Andrej Shadura, on 2015-08-11 09:56

This one will be closed with a commit @kiilerix wrote but not yet pushed.

Comment by Mads Kiilerich, on 2015-08-11 10:30

http://docs.kallithea-scm.org/en/latest/overview.html

Python 3.x is currently not supported.

Comment by Andrej Shadura, on 2015-08-11 10:45

Well, right. We don't support Python 3 yet as Mercurial requires Python 2.

Comment by Mads Kiilerich, on 2015-08-11 10:50

(also, there is no working dulwich version with python 3 support yet ... but that is not the bottleneck)

Comment by EirN, on 2018-01-02 19:24

Do you have any plans to support Python3 in the future? The Python 2 EOL is very soon, only in 2.5 years.

Most libraries are already migrated and you can maintain a compatible syntax

Comment by EirN, on 2018-01-02 19:24

dulwich 0.18.7 supports Python3

Comment by EirN, on 2018-01-02 19:27

And yet another wrapper around Mercurial to continue development forward even if Mercurial itself will stay in the past

Comment by Mads Kiilerich, on 2018-01-02 23:10

Kallithea will move to Python3 when it supports Mercurial. The referenced wrapper / API will not work for Kallithea's use.

I don't think it is worth the effort to try to support 2 and 3 at once - we don't have enough development resources for that ... and it will not add much value to users or admins.

If you want to help, then please help migrating Mercurial. They are fighting some very hard problems with essential functionality missing from Python 3.