Re: python 3 compatibility in setup phase



On 24 February 2014 23:32, Thomas Klausner <tk giga or at> wrote:
Hi!

I'm trying meld-3.11.0. It doesn't say anything about supported python
versions.

When I try running setup.py build with python-3.x, it stumbles over a
print statement.

Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    import meld.build_helpers
  File "path/to/meld-3.11.0/meld/build_helpers.py", line 138
    print "Skipping missing file", page_path

The attached patch fixes this. If you want to be on the safe side, you
can add a "from __future__ import print_function" to build_helpers.py.

Cheers. This has been added to several files already, but it's
obviously a one-by-one process.

I've also updated the README and the launcher to say that we don't
support Python 3 yet.

Does meld-3.11.0 officially support python-3.x?

3.11.0 definitely does *not* support Python 3. Most of the code base
is actually python 3 compatible, but areas such as interaction with
GTK need significant changes for unicode handling differences. This
shouldn't be a lot of work, but 3.11.0 had already taken way too long
and I didn't want to hold it up.

It's quite likely that Meld will *require* Python 3.3 before 3.12
comes around. Supporting both Python 2 and 3 seems relatively
pointless for user applications, and Python 3 is widely available.

cheers,
Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]