Closed mshannon-sil closed 11 months ago
tests/translation/huggingface/test_hugging_face_nmt_model_trainer.py
line 145 at r1 (raw file):
training_args, corpus, src_lang="en_XX",
Why would the test without the _XX
fail on newer versions of python? We should support language codes that don't include a script code.
Upgrading the production docker container to python 3.11. I also changed some of the tests I wrote because when I at first updated all of the poetry packages, a few of them stopped passing. However, I've since reverted most of the packages back to their original versions and only upgraded packages that were necessary to upgrade, but I kept the changes to the tests regardless for maximum compatibility.
This change is