DevHeads.net

The state of Zanata Python client (Python 3 support)

Hi,
I come from the tha Anaconda installer project and we use the Python Zanata client to push & pull translations from the
Fedora Zanata instance where Anaconda is being translated. As far as I know, there are many other projects that do the
same (Blivet, Blivet-GUI, Storaged, etc.), even though it might not be readily apparent due to not directly depending on
the python2-zanata-client package, but rather just installing it manually on the machine where builds are being created.

As we all know, Python 2 is going away soon (in less than 10 months) and Fedora is already doing a lot of work to get
remove as many Python 2 packages as possible.

Therefore it's pretty alarming that something as important as a client for the official Fedora translation service is
still Python 2-only with not even a hint of Python 3 support being worked on as far as I can tell. Python Zanata client
upstream[0] has last activity ~year ago, but seems to be mostly dead since 2017 with no support for Python 3 in sight.

There are also some bugs & an upstream issue inquiring about Python 3 support in the Zanata Python client:
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1676408" title="https://bugzilla.redhat.com/show_bug.cgi?id=1676408">https://bugzilla.redhat.com/show_bug.cgi?id=1676408</a>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1685550" title="https://bugzilla.redhat.com/show_bug.cgi?id=1685550">https://bugzilla.redhat.com/show_bug.cgi?id=1685550</a>
<a href="https://zanata.atlassian.net/browse/ZNTA-2791" title="https://zanata.atlassian.net/browse/ZNTA-2791">https://zanata.atlassian.net/browse/ZNTA-2791</a>

And at the moment, the client can't even be installed on Rawhide and F30:
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1676388" title="https://bugzilla.redhat.com/show_bug.cgi?id=1676388">https://bugzilla.redhat.com/show_bug.cgi?id=1676388</a>

This has prompted me to write this email & to CC all people mentioned as maintainers on the package page[0].

What can be done about this ? Is Python 3 support for the Zanata Python client being worked on, so that we won't loose
the package ? Or do we just wait for it to be dropped from Fedora - and then what ?

Hopefully someone can answer these questions. :)

Best Wishes
Martin Kolman

[0] <a href="https://github.com/zanata/zanata-python-client" title="https://github.com/zanata/zanata-python-client">https://github.com/zanata/zanata-python-client</a>
[1] <a href="https://src.fedoraproject.org/rpms/zanata-python-client" title="https://src.fedoraproject.org/rpms/zanata-python-client">https://src.fedoraproject.org/rpms/zanata-python-client</a>

Comments

Re: The state of Zanata Python client (Python 3 support)

By Jens Petersen at 03/07/2019 - 00:38

Thanks to Sundeep, who has already started and worked on this.
So hopefully we will have a working py3 zanata-python-client for F30+ soon.
:-)

See <a href="https://github.com/zanata/zanata-python-client/pull/52" title="https://github.com/zanata/zanata-python-client/pull/52">https://github.com/zanata/zanata-python-client/pull/52</a>

Jens

Re: The state of Zanata Python client (Python 3 support)

By Martin Kolman at 03/07/2019 - 06:39

On Thu, 2019-03-07 at 12:38 +0800, Jens-Ulrik Petersen wrote:

Re: The state of Zanata Python client (Python 3 support)

By Rafal Luzynski at 03/05/2019 - 17:29

Hi,

Somebody fix me if I'm wrong but as far as I know Python Zanata
client has never been an official client of Zanata. It has always
been just community supported. The official client RPM package is
called zanata-client, its main command line tool is /usr/bin/zanata-cli,
and it is written in Java. This may be the proper solution for you
instead of the Python client. But both the official Zanata client and
whole Zanata have been... not really officially abandoned but just all
original developers no longer work on this.

There was a discussion recently that maybe Zanata should be totally
dropped and replaced with Weblate. Sorry for no links, I'm too tired
to find them now.

Now looking at your email address which says "@redhat.com" I think
that it should be me asking you about the future of Zanata because
it seems that the decisions have been made inside your company rather
than by the outer community.

HTH. Regards,

Rafal