[Concept,07/13] scripts: ubuntu: Drop __future__ annotations import

Message ID 20260507221507.505998-8-sjg@u-boot.org
State New
Headers
Series bootstd: bls: Scan every partition; Ubuntu autoinstall via BLS |

Commit Message

Simon Glass May 7, 2026, 10:14 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

The script targets Python 3.13 (its hash_password() relies on the crypt
module being gone), so the PEP 563 future-import is a no-op: every
annotation in the file already works under 3.13's runtime evaluator.
Drop the line so it is not mistaken for a portability requirement.

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

 scripts/ubuntu-iso-to-uboot.py | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/scripts/ubuntu-iso-to-uboot.py b/scripts/ubuntu-iso-to-uboot.py
index c431e15b9ae..3855f4a25ae 100755
--- a/scripts/ubuntu-iso-to-uboot.py
+++ b/scripts/ubuntu-iso-to-uboot.py
@@ -59,8 +59,6 @@  Assumptions:
     - xorriso, mtools and dosfstools are installed on the host
 """
 
-from __future__ import annotations
-
 import argparse
 import os
 import re