There are no current plans to switch everything over to python3. We provide
our own prebuilt of python2 (in
prebuilts/build-tools/path/linux-x86/python2 ->
prebuilts/build-tools/linux-x86/bin/py2-cmd), so that script you linked
should continue working even if you remove python2 from your host.

(I'm still working on getting a fully functional python3 prebuilt, so we'll
still use the host for that, I should have that done for the next release).

Let me know if you see failures on 20.04 without python2, it's possible
there are some scripts hardcoding /usr/bin/python[2] still.

- Dan

On Sun, Jan 19, 2020 at 8:24 AM XING WANG <[email protected]>
wrote:

> We found AOSP cant not build successfully without python2
>
> There is a example for python2 only scripts
>
> https://cs.android.com/android/platform/superproject/+/master:build/make/tools/post_process_props.py?q=iteritems&ss=android%2Fplatform%2Fsuperproject:build%2F
>
> Is there a plan to switch to a pure python3 environment ?
>
> We are evaluating whether we can switch the build server to ubuntu 20.04
> which without python2 support  in the near future.
>
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/afa2ada5-0bea-41dd-a7ab-eb3a7c8b7e7d%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/afa2ada5-0bea-41dd-a7ab-eb3a7c8b7e7d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHd%3D%2BcJZRbt_JhqxXPKuV2TdgRhPBvFh9X6uy_bNA-4zKdw%40mail.gmail.com.

Reply via email to