diff mbox series

[U-Boot,v3,16/17] binman: Move to use Python 3

Message ID 20191031172548.87702-16-sjg@chromium.org
State Accepted
Commit 388560134b99dc4cc752627d3a7e9f8c8c2a89a7
Delegated to: Simon Glass
Headers show
Series None | expand

Commit Message

Simon Glass Oct. 31, 2019, 5:25 p.m. UTC
Update this tool to use Python 3 to meet the 2020 deadline.

This problem in pylibfdt is now fixed.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v3:
- Fix commit message to mention that the pylibfdt problem is fixed.

Changes in v2:
- Add a few more patches to correct remaining problems

 tools/binman/binman.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Robinson Oct. 31, 2019, 5:33 p.m. UTC | #1
On Thu, Oct 31, 2019 at 5:26 PM Simon Glass <sjg@chromium.org> wrote:
>
> Update this tool to use Python 3 to meet the 2020 deadline.
>
> This problem in pylibfdt is now fixed.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

For what it's worth I tested this series with 2020-rc1 on Fedora 32
with python3 and it built all our various supported configs.

Tested-by: Peter Robinson <pbrobinson@gmail.com>

> ---
>
> Changes in v3:
> - Fix commit message to mention that the pylibfdt problem is fixed.
>
> Changes in v2:
> - Add a few more patches to correct remaining problems
>
>  tools/binman/binman.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/binman/binman.py b/tools/binman/binman.py
> index 8bd5868df2..9e6fd72117 100755
> --- a/tools/binman/binman.py
> +++ b/tools/binman/binman.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python2
> +#!/usr/bin/env python3
>  # SPDX-License-Identifier: GPL-2.0+
>
>  # Copyright (c) 2016 Google, Inc
> --
> 2.24.0.rc0.303.g954a862665-goog
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
diff mbox series

Patch

diff --git a/tools/binman/binman.py b/tools/binman/binman.py
index 8bd5868df2..9e6fd72117 100755
--- a/tools/binman/binman.py
+++ b/tools/binman/binman.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 # SPDX-License-Identifier: GPL-2.0+
 
 # Copyright (c) 2016 Google, Inc