From patchwork Thu May 7 22:14:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2285 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1778192133; bh=hojwrWBlzf5ST8+Tnp7M+5B3414HgzqFmlVpRTgzdWE=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=WcHdJ0zKSKB0oJD6vrmyQ6euPMN4IzDb2F2k35I53hvwlsYGsRTAsNpHL3AFkMXoi IEESpMLohl9BpyO4LmANafflak2Nw7/hCPCouHxUyc3vOLO+LylCcFmLObnZ7FjkXr mpohQh/CCcTENlj0Ttvzyy34z1XceU3G4z6/kNoA= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6B7FF6A9AD for ; Thu, 7 May 2026 16:15:33 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id wqsLvwwQ5HBw for ; Thu, 7 May 2026 16:15:33 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1778192132; bh=hojwrWBlzf5ST8+Tnp7M+5B3414HgzqFmlVpRTgzdWE=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=QUQ1LehqN7w8CRG9XL9qzw6nGxGHUZzYEO9b4bdIbKFxu5OT/0xsx7byfIXiziP2A 3r5eB8W3WcOkWyGfNhtrbaatUxX4NieICPn8wvan0HdnSKa8kHf8B5tLmJeXvipZpH BFySCJshIQhGp7KULIWesw7BnGjBRF+FVbowtq5g= Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 86E036A9C5 for ; Thu, 7 May 2026 16:15:32 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1778192130; bh=00Of+50FuiNJlN0+Ip2ZkHYzzBtyGOnG2gp59sJgNWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ikWrOlRmbYyTVKmUWEeSWbP6PGHdVcV6tANJ7TMHS51mO9k0MNL7LHY5E6EDBs7KZ +MD+pz3p4GOUGuZY666+SntGPIAluR3XKqQU5SWhBXagMoAu3gYbPrG1ISVWVpXat7 XpZ0jJ3D5WoaMlkGqhnb7oOcZF9JYaqCm6DZaBR8= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 030CA6A9AB; Thu, 7 May 2026 16:15:30 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 8nq8ZlvqdWwF; Thu, 7 May 2026 16:15:29 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1778192128; bh=jGNTsNHueprZzrnlo7HlzzUnDKyrR0JFK0ZIkJoJ0mE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X+mfI2dyPgNrXmstWed0Fk2MIU9HPt+PLhgwewizrfH6dA0xb0Lt5++2KcoFStAw/ M1ZQpDW+oahlZpCXJcsaWIyNQmi3iw6vwPvHT9waZfhZepLwyLwd9Mue4uEgPI5rmW GMIJioYlW8NKW1BgGMS2/mfpq9xXsbXFoeh1/snc= Received: from u-boot.org (unknown [174.51.25.52]) by mail.u-boot.org (Postfix) with ESMTPSA id 1600F6A9A5; Thu, 7 May 2026 16:15:28 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Thu, 7 May 2026 16:14:52 -0600 Message-ID: <20260507221507.505998-8-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507221507.505998-1-sjg@u-boot.org> References: <20260507221507.505998-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: UHHGOE5WTSF4NND42IM6PWVXB2GFWRNI X-Message-ID-Hash: UHHGOE5WTSF4NND42IM6PWVXB2GFWRNI X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 07/13] scripts: ubuntu: Drop __future__ annotations import List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass 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 --- scripts/ubuntu-iso-to-uboot.py | 2 -- 1 file changed, 2 deletions(-) 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