sphinx-doc / sphinx-intl

A Sphinx utility that make it easy to translate and to apply translations.
https://sphinx-intl.readthedocs.io/
BSD 2-Clause "Simplified" License
74 stars 38 forks source link

[Urgent] Update Transifex Calls to APIv3 #60

Closed Daltz333 closed 2 years ago

Daltz333 commented 2 years ago

See notice at the top of https://docs.transifex.com/api/introduction

This tool will no longer be functional as of April 7th.

image

Daltz333 commented 2 years ago

Whoops, I incorrectly assumed this tool made calls to the transifex api. After digging through the source, this does not seem to be the case.

shimizukawa commented 2 years ago

Thanks for your reporting!

As you are aware, sphinx-intl does not call transifex-api. However, it uses transifex-client, which is deprecated in accordance with the API. https://github.com/sphinx-doc/sphinx-intl/blob/6edc8aaf803ee9ab1285920a41577a69e774f05e/setup.py#L14-L17

https://docs.transifex.com/client/introduction

image

Therefore, we need to switch to calling the new transifex cli by the end of 2022.

rffontenelle commented 2 years ago

@shimizukawa Actually, sphinx_intl/transifex.py seems to import txclib.utils, so it also relies on a Python library (the one that will sunset soon) that will not be available in the new golang implementation of the CLI tool.