-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[xenial] resolve i18n related test failures #4036
Comments
The issue is happening due to an older version of
I can manually solve it by upgrading to the latest
How to verify?
Before creating any PR, I will try to see if anything else breaks due to this upgrade. @redshiftzero any thoughts? |
With the upgraded setuptools package, the errors in both the mentioned issues get fixed.
With the upgraded setuptools package, the errors in both the mentioned issues get fixed.
The error is due to the following crash
|
Here is the related upstream issue: pypa/setuptools#523 |
Looks like this is happening only with the call to pybabel.extract? If that's the case, then we could add to |
The issue on the babel side: python-babel/babel#501 Here are three options to proceed on this:
Given that this is pretty hacky and confusing for future maintainers, I think we should take option 2, and clearly mark in the Dockerfile why this was done. I have verified via manual testing that other i18n/i10n-related functionality (e.g. babel/gettext) works without issue in the Xenial staging environment. |
With the upgraded setuptools package, the errors in both the mentioned issues get fixed.
With the upgraded setuptools package, pybabel starts working again.
…enial Fixes #4036 Updates setuptools for ci
With the upgraded setuptools package, pybabel starts working again.
With the upgraded setuptools package, pybabel starts working again.
Description
This is one of the Xenial-related application test failures.
Steps to Reproduce
make test-xenial
Expected Behavior
tests/test_i18n_tool.py::TestI18NTool::test_translate_messages_l10n
andtests/test_i18n.py::test_i18n
passActual Behavior
Both tests fail
Comments
Not sure what is going on here, needs investigation:
The text was updated successfully, but these errors were encountered: