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>