firefox-translations-training
firefox-translations-training copied to clipboard
Incompatible python version
For bicleaner, you use https://github.com/mozilla/firefox-translations-training/blob/main/pipeline/bicleaner/download_pack.py#L93
def main(args: Optional[list[str]] = None) -> None:
which is not allowed in this environment, defined here to use python 3.7
Traceback (most recent call last): File "pipeline/bicleaner/download_pack.py", line 93, in
def main(args: Optional[list[str]] = None) -> None: TypeError: 'type' object is not subscriptable
Python 3.7 is end of life, we should bump at least to 3.8.
We don't have any issues with our current workflows. The supported Python versions are specified in poetry config and Docker images:
https://github.com/mozilla/firefox-translations-training/blob/04e9e9cdc369cc8efdf080d57eef805a61d2c35e/pyproject.toml#L9