From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7088977375648546816 X-Received: by 2002:a05:6402:4493:b0:41d:83ca:35d6 with SMTP id er19-20020a056402449300b0041d83ca35d6mr2713213edb.89.1650531165540; Thu, 21 Apr 2022 01:52:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:907:d92:b0:6ef:568a:21d0 with SMTP id go18-20020a1709070d9200b006ef568a21d0ls2481446ejc.10.gmail; Thu, 21 Apr 2022 01:52:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJww3tLUxCUs+tG3x8Gr1Y+T4sasWpnH+0z6c4WDV0gcSkpwdrZS6C12jiVq5Xb6X98MqkyV X-Received: by 2002:a17:907:7f1c:b0:6eb:c702:7f4e with SMTP id qf28-20020a1709077f1c00b006ebc7027f4emr21723801ejc.496.1650531164581; Thu, 21 Apr 2022 01:52:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650531164; cv=pass; d=google.com; s=arc-20160816; b=UfLJh+9oFdcCeEYQz1OV2Hao2wqLpb9dCO0dtJk2Uv8y0zbQTwPY2fzRDSXpfm6FAn foajlWWX14DR7FW3WTNckXXggdyTuy38LUXncDfou4dxcMbQbYqKzsIF2ghB/VnmrkEd +dm/Uk+aEEeROdZrHgxYuqqDDcB+aSxryVdbxwKY0rYZmDk+3xcmSZvBPaOQ7rMxs4k4 TgdhDa6lxkHWA+7PcVJ2I7Md/Hna+seJoMqwWnGO+F/AAz8kR4pjg/qT6t3bKrvW3N1A 4reqUQA2FE3ZJ5DVC11lJYvAJ35a2lbfPc05F4jRo5wxPjtKVHIvIxr2EGF0Ylo0e/D0 8/9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=17TpWup4xkRiGCVnaMERuQ2SBq5zuaIAUT7OczVRUoc=; b=fFTt7hiqAjxTTbBTE1ZfLDJJxvyCMP5r6DWZtOYmqvPSLEVgVR+0fqwUzGDjx2HjDe a41qBnxjUc1NzfYUr7icQUY6tGx2FAnR/2O6TEgQlR9nt1elbB3Ol0SXMQsoCI+dDkm5 SQ8Ur19eaMw6RZfSmSEgdSHjQnSAOjhyW4aELUKllMZ8vUi1fhTbaiu6mhYAbNWsF+my FRF0p4+H3WUbacePfpNo+9F8hfegClmTUFgWYMUGxphJOe2KUM4M134O64FieG8+C6oF PvFT8j7kX+zhSDoJDibsnx7VPVQlQo2cEfx9v69VNY5afnnHbQFHIJ4WHJhUWk9he1f1 HM0Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=x+DiwFZE; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 2a01:111:f400:7d00::630 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20630.outbound.protection.outlook.com. [2a01:111:f400:7d00::630]) by gmr-mx.google.com with ESMTPS id z23-20020a50f157000000b00425ac5c09aesi15974edl.1.2022.04.21.01.52.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Apr 2022 01:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 2a01:111:f400:7d00::630 as permitted sender) client-ip=2a01:111:f400:7d00::630; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=x+DiwFZE; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 2a01:111:f400:7d00::630 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RGDY6c/iyXDHBsSohMcclESzFndejnqk2910rjrqdIYF/lRxArHUYUjAEiQpd40opltOjocLVZYFUNQFsOO0EgtE7esxwHx5O9o6rJovooJeb1mgzTzKuhXwbV6iNZ73qYqZ2Y8LdCR4CnbdphE9hHm1MLhLQRDGbpPAkkweGnKFmJA8mOKpD+0qPaeu5EcA6reHhnjJqwxMG0MmQolap3w/yMRP2ifk2frr3+2OascPRWqmxrGM5k8vJPJbETLQ1oyhAopOi4YZmD+pUfw30dKDXaXHCUO6hxsmpS74VI+iwtRyXWnpw20wKmus7APIJxVhrFA5vdKsAUYf1KWtxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=17TpWup4xkRiGCVnaMERuQ2SBq5zuaIAUT7OczVRUoc=; b=HQCtQXkct5STQb9ak/UGujmR4RREg2Dk/ghm3bRx6KX19Ejzm5vQWU5wFUf473ArhkkV/EOZaTq0rlYweIBatD3EYJRl+FjpuV28i04K31ZBVBSZBKfLMaQhRIH3gjiGXueEkYL8Tihd36e3Cq0b3gX9+ljDpXUI8J/Ef1kPxV6CG5WtnL1/O0GqUD5Rt/tlRLiGUNfG2nvXPtMzjASi5cLV+3ezpeonqxpZn5WLHx3OOl6ANc4Yq71HU2owHomNgIDOuQGcg4kbgMGsSA0Fhj/s0I3P+K+T6LHZn5NHIJMU65cdbBXxI54UDKVG+4PjhP3lzCZVDi2h1N4t6dXW6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.71) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=17TpWup4xkRiGCVnaMERuQ2SBq5zuaIAUT7OczVRUoc=; b=x+DiwFZEU+6NYxL/1U7NsuWxSNXehIuJxbNwyqWLgZzBPBy10jtYUhIfU+pF0d3k3ILM/U3Uonp/1YTrj7vMag1AoANGE1S0QMzkybVbBLfcmh+UzEcY9uhmAbUutCI1aYFuqj2JodwvIoRIJcy/xlzKp/hKH57/PL5y+BDmsEGeWjzCMhYUvNMceYkfb6YYj6Zay2NnUabJ5rGJH/MSX6b18PMaR6TRFy7ROEaUV6z4C/EGNd4a66KoHB8ERtVar3XIRwe1kjl8G+Ac5E6OIuErB+vU36eysFXUXigf1845kVJrlcZbBV6V3LTfXno8fAfJYkwoRhqk0ksU+x4Lxw== Received: from DBBPR09CA0038.eurprd09.prod.outlook.com (2603:10a6:10:d4::26) by PAXPR10MB5589.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:241::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Thu, 21 Apr 2022 08:52:42 +0000 Received: from DB5EUR01FT070.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:d4:cafe::5e) by DBBPR09CA0038.outlook.office365.com (2603:10a6:10:d4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13 via Frontend Transport; Thu, 21 Apr 2022 08:52:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.71) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.71 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.71; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.71) by DB5EUR01FT070.mail.protection.outlook.com (10.152.5.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5186.14 via Frontend Transport; Thu, 21 Apr 2022 08:52:42 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SKA.ad011.siemens.net (194.138.21.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 21 Apr 2022 10:52:42 +0200 Received: from md1za8fc.ad001.siemens.net (139.25.69.161) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 21 Apr 2022 10:52:42 +0200 From: Henning Schild To: isar-users CC: Florian Bezdeka , Felix Moessbauer , Henning Schild Subject: [PATCH v2 0/2] bump bitbake and wic for python 3.10 support Date: Thu, 21 Apr 2022 10:52:30 +0200 Message-ID: <20220421085232.1949-1-henning.schild@siemens.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Return-Path: henning.schild@siemens.com X-Originating-IP: [139.25.69.161] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bebf41d9-ae3f-42b7-350b-08da23744c35 X-MS-TrafficTypeDiagnostic: PAXPR10MB5589:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 16yF0L36qeigqVoh/y1VNDdEdAnMQO6XObacNUzzm2LVF1G6wYXAbHzxGcidVpNq/i2IRR/FtxQEeqSNeYiUqVyWFjdNeovVsjOBrV31K0HlH8bZazFGzrp1MFSwTITc5PAc7hRwFzdWAbiHI9HuGf0G0CZYO04L3ZO/nnozjTx2Nx943mJ5Y2aX414j/stkKGqqEopi0/8QPTVGgjEU1oxyjXWX5bIVmHW7UaBRtKpSt4QNfHe6MTGmufc00guAtQLF0XvpCCw0Er0VIs1yRXKQSOkZBJiDbvIl7Lf1lBuU9dC0R081+XmU6OfmIShIMzp2ML2Q/cZVilJdzohmdG0tBbr/tdb+QS8q2ycQeV8rJRM78RRckflB6xnJ/SohVECVaPC7n41VYbmkh2thS6nW+neTPPmPnFKes2m/6/MZwXC/zruYM5GAX7ec0Hj72tcSFxNze6/efMiKB4BI6Whh1PZJ/N22qrSPUT2vfwRzgSe1DJmNmF7RGydFpfc2ns69iA7f52U5T5SVbKAcou3AVdVlTSiUvkhCyRWrVD0EGY64bRKn91BcXUuP/gvptg8cQBchjPG43g5LnH37Rde3wTsF0ceNwO/gf9H59uCQqQ20D+Q/uJJhmUvU5gAS5EHSO4fYcwdvsZPxn7pEFW2JSxP/jPYEUEKnUzZYLFlX2nkBWp4nDdrjDiw9Ku8aREa7WomRbrLPfzPQ640nQ0JBJnFWVL/MebXJ9Hr/rHFZR89N8Ty2BB+pUAo3Sz3p X-Forefront-Antispam-Report: CIP:194.138.21.71;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:hybrid.siemens.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(5660300002)(36860700001)(2616005)(54906003)(47076005)(36756003)(6916009)(86362001)(82310400005)(4326008)(82960400001)(70586007)(70206006)(6666004)(8676002)(81166007)(40460700003)(2906002)(44832011)(83380400001)(1076003)(107886003)(316002)(186003)(336012)(16526019)(956004)(8936002)(356005)(26005)(508600001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2022 08:52:42.7381 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bebf41d9-ae3f-42b7-350b-08da23744c35 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;Ip=[194.138.21.71];Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT070.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR10MB5589 X-TUID: jcGGcIdH2bYG debian bookworm switched to python 3.10 recently, our versions of bitbake and wic both have some issues with that new interpreter. All these issues have been fixes in bitbake and OE, so all we need to do is update the two tools in our tree. v1 was send as "[PATCH] bitbake: Update to 1.50.5 release", which is p1 here, only later i found that wic also needs a bump to v2 added p2 If this series is applied we do not need "[PATCH] wic-img: use python3.9 in bookworm", in case this one is applied before it should be reverted after the version bumps. Henning Schild (2): bitbake: Update to 1.50.5 release wic: Update to the latest revision bitbake/lib/bb/cache.py | 3 +- bitbake/lib/bb/cooker.py | 30 +++++++- bitbake/lib/bb/data_smart.py | 4 +- bitbake/lib/bb/fetch2/__init__.py | 4 + bitbake/lib/bb/fetch2/perforce.py | 2 +- bitbake/lib/bb/fetch2/wget.py | 2 +- bitbake/lib/bb/persist_data.py | 5 +- bitbake/lib/bb/process.py | 2 +- bitbake/lib/bb/runqueue.py | 34 ++++---- bitbake/lib/bb/server/process.py | 2 +- bitbake/lib/bb/tests/fetch.py | 35 +++++---- bitbake/lib/bb/utils.py | 13 +++- bitbake/lib/hashserv/server.py | 4 +- bitbake/lib/toaster/tests/builds/buildtest.py | 2 +- .../wic/plugins/source/bootimg-efi-isar.py | 77 ++++++++++++++++--- .../wic/plugins/source/bootimg-pcbios-isar.py | 6 +- scripts/lib/wic/canned-wks/common.wks.inc | 2 +- scripts/lib/wic/canned-wks/directdisk-gpt.wks | 2 +- scripts/lib/wic/canned-wks/mkefidisk.wks | 2 +- scripts/lib/wic/engine.py | 6 +- scripts/lib/wic/help.py | 10 ++- scripts/lib/wic/ksparser.py | 8 +- scripts/lib/wic/misc.py | 4 +- scripts/lib/wic/partition.py | 25 ++++-- scripts/lib/wic/pluginbase.py | 8 +- scripts/lib/wic/plugins/imager/direct.py | 11 ++- scripts/lib/wic/plugins/source/bootimg-efi.py | 74 +++++++++++++++--- .../lib/wic/plugins/source/bootimg-pcbios.py | 6 +- scripts/lib/wic/plugins/source/rawcopy.py | 35 ++++++++- scripts/lib/wic/plugins/source/rootfs.py | 2 +- scripts/wic | 9 ++- 31 files changed, 320 insertions(+), 109 deletions(-) -- 2.35.1