Skip to content

babel recipe build fail #2803

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

Closed
RobertFlatt opened this issue May 30, 2023 · 4 comments
Closed

babel recipe build fail #2803

RobertFlatt opened this issue May 30, 2023 · 4 comments

Comments

@RobertFlatt
Copy link
Contributor

Logs

[1m[INFO][0m:    Installing babel into site-packages
[1m[INFO][0m:    [36m-> directory context /home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/babel/arm64-v8a__ndk_target_21/babel[39m
[1m[90m[DEBUG][39m[0m:   [90m->[0m running python3 setup.py install -O2 --root=/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/python-installs/myapp/arm64-v8a --install-lib=.[0m
[1m[90m[DEBUG][39m[0m:   	Traceback (most recent call last):
[1m[90m[DEBUG][39m[0m:   	  File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/babel/arm64-v8a__ndk_target_21/babel/setup.py", line 13, in <module>
[1m[90m[DEBUG][39m[0m:   	    from babel import __version__
[1m[90m[DEBUG][39m[0m:   	  File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/babel/arm64-v8a__ndk_target_21/babel/babel/__init__.py", line 20, in <module>
[1m[90m[DEBUG][39m[0m:   	    from babel.core import UnknownLocaleError, Locale, default_locale, \
[1m[90m[DEBUG][39m[0m:   	  File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/babel/arm64-v8a__ndk_target_21/babel/babel/core.py", line 14, in <module>
[1m[90m[DEBUG][39m[0m:   	    from babel import localedata
[1m[90m[DEBUG][39m[0m:   	  File "/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/babel/arm64-v8a__ndk_target_21/babel/babel/localedata.py", line 17, in <module>
[1m[90m[DEBUG][39m[0m:   	    from collections import MutableMapping
[1m[90m[DEBUG][39m[0m:   	ImportError: cannot import name 'MutableMapping' from 'collections' (/home/bobf/ex/regression/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/collections/__init__.py)

@misl6
Copy link
Member

misl6 commented May 30, 2023

I think we do not need a recipe for Babel anymore.
If something really needs to be installed in hostpython3, for any reason, we likely need to do that in another way.

What do you think about it?

@misl6 misl6 moved this to In Progress in Kivy's Control Tower May 30, 2023
@misl6 misl6 moved this from In Progress to Todo in Kivy's Control Tower May 30, 2023
@RobertFlatt
Copy link
Contributor Author

I really don't know what people use for this.
I do know that nobody is using Babel on Android because it broken.
Go ahead kill it, worst case we have to bring it back.

@misl6
Copy link
Member

misl6 commented May 31, 2023

Even if may not be the lightweight solution, I use that to format dates based on the user locale on Android and iOS apps.

Unfortunately, I never encountered the build issue, since I pinned a specific version since the introduction on my codebase.

Go ahead kill it, worst case we have to bring it back.

When it comes to cleaning code, I do not think twice.

@misl6
Copy link
Member

misl6 commented Jun 2, 2023

Fixed via #2826

@misl6 misl6 closed this as completed Jun 2, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Kivy's Control Tower Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants