From patchwork Tue Jan 6 14:28:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1285 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=1767709745; bh=dJ+dSX0KI9KQs3+hV4zykuWMKGkG0GZU9nAokvP+xNg=; 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=D9wER4vKvXX4PlZpAGx78vUOvb09Holl3GfhPdAh11oxz5qItdYejF0aYFJzeXeWT oUYnTS+dhes3OzKWw7L974dBfTGVpG6forTehuWTyF7EOG63pjckCqgZ4kC+oDeST/ pEt4119Zi9FPvm2dK02w7xpAHeZliB1xfuOlmjIbkdufrx4Ei4EkROnaWUcxMDQHob Usg8wuXls9bAJTmmUfZ4RC0gm/7u6HqpLj/mw0lGoUvlBuKPmUW1iFnCRBxxGuoKib WEGR9XmKdwj02JP/iUtBeevbvIFraG+PuzdiCw+GUW2XiHg9cHMwbvtqD6CWIhwOGN pxorgJF7LbVHQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 020E46912C for ; Tue, 6 Jan 2026 07:29:05 -0700 (MST) 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 GmjQSRtPmTyi for ; Tue, 6 Jan 2026 07:29:04 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709744; bh=dJ+dSX0KI9KQs3+hV4zykuWMKGkG0GZU9nAokvP+xNg=; 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=VaZZRzOCLlb//LDEZqMSMmOBEz5zzeVsN5azqpiNkTcR12iulScCOKScuX9jP3hX8 DGUpXw1C+ur/g8dyk38m9TmDXviHOXa8ndukvtDLfgxdZY+ljbKFRU2B6tQ1RKWkJR +bzku/YBZW28Pm4/oRBDxZ5HMaNbHQ13btycC/NTDxP1NOz/YFawVXkrXfN+PJW3xO zieq33PQXT4w2mv9iQjJIMh8BuGgkMnaO86sKBzcca0UwTSaFxUqPn6yJlI5DkrQXZ Akou2tuP0oy2PUHQnUgX4i56DH4QTQHeUL9v+lxU2ZqaVO0sVSEjs1BEzMjUYEgmoY 3tTdvkBA/l3/w== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E3CC669121 for ; Tue, 6 Jan 2026 07:29:04 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709742; bh=8ItIJwZz41jjNWqmXS+ZtZJSE+RJM0AcyC+xAtKYJvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rrhAB+IFf8XzmV8VhAhmDzOsY5p22dBhniVfTgwPnBUQd3/ydMJU4StgnOSBDTbl6 0nFgtpgq6E0x282HnxUtskHpqHtTFjH/epMlWvvod4nlTQRji8lZ91w9mLPf1DDKec w4uORIwEaxWXU7i/D/4bWQJDOJVIDNb0C+1xYDn+dpzORSOFJNqX1GMpf6FupyWre1 w8WKElOg+FtdLkYRmDE2ChmI+wOhhLxIJH7qQOqVYD9Wifv4StA2U19b0defRKSQD0 YiU5NsZqol7urHDHMVy/lr3heHq9UUc9UQQ1evl4G1LA785X02c+swreHUfV3RmN2J GbpvqARZRhaNQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 42B7069121; Tue, 6 Jan 2026 07:29:02 -0700 (MST) 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 D6UCv_LhQRJJ; Tue, 6 Jan 2026 07:29:02 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709738; bh=1aXJ3PDTP/hkc6jlmILp96NJ35BOOlD2EXh4XBGU9ig=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R+yywA+MW08otVvEIGtO+O3Iovfk9CX9sArgEic1qXljOD50bUDGDnU9ngH0Jw++c IyigI+C7eRIQMnQ45jlZtocxdwF4wU8BjRAZPbf58caozjRPptFKqdjBj3XQqTMt0b SnBobb4T+e5mM7hxs0Pr6koMtAl4dDdghxUkoGCXmIR3Y1D2ldaglWibZjlFJ3wqjA KPj0Az8JbET2YsSoxQYbYjlB1lyP50BdHFRlQBqXja3MzN3h2F6frjhi+AqwtBlIKa UipIGnizXfBkZ7OEbqSizTh/k6pDVZrHk629VrDMCbXetlJQZ+u2QLM1OnNBySxP2A sM732lGCs9qMw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id AF4F269134; Tue, 6 Jan 2026 07:28:57 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Tue, 6 Jan 2026 07:28:09 -0700 Message-ID: <20260106142834.2511220-5-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260106142834.2511220-1-sjg@u-boot.org> References: <20260106142834.2511220-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: IGRMTWPFXLIKYHH5IEKJLXW6DXQVUHUR X-Message-ID-Hash: IGRMTWPFXLIKYHH5IEKJLXW6DXQVUHUR 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 , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 04/22] buildman: Fix import order in test.py 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 Move standard library imports before third-party imports and remove unused test_util import. Co-developed-by: Claude Signed-off-by: Simon Glass --- tools/buildman/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/buildman/test.py b/tools/buildman/test.py index 1e681b0595c..f97025b55b0 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -2,7 +2,6 @@ # Copyright (c) 2012 The Chromium OS Authors. # -from filelock import FileLock import os import shutil import sys @@ -11,6 +10,8 @@ import time import unittest from unittest.mock import patch +from filelock import FileLock + from buildman import board from buildman import boards from buildman import bsettings @@ -22,7 +23,6 @@ from buildman import toolchain from patman import commit from u_boot_pylib import command from u_boot_pylib import terminal -from u_boot_pylib import test_util from u_boot_pylib import tools use_network = True