From patchwork Thu Apr 21 00:52:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henning Schild X-Patchwork-Id: 1702 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3) with LMTPA; Thu, 21 Apr 2022 10:52:51 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f59.google.com (mail-ed1-f59.google.com [209.85.208.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id 23L8qp4j006607 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 21 Apr 2022 10:52:51 +0200 Received: by mail-ed1-f59.google.com with SMTP id s28-20020a05640217dc00b0041d69ecc528sf2843016edy.12 for ; Thu, 21 Apr 2022 01:52:51 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1650531165; cv=pass; d=google.com; s=arc-20160816; b=jwmZ5jBWO6Pf0bGBu9imEQ409qcK1R/pbfEDIsW0lSxB1btnoD40/Q+BYNksqBfRaN esnEZRrWsIFHwh5ljpDgrxPLozCfnbdZ7xJ8Enlp68E4Z6n8hKDZvWSi5JmG/ThZFsJR suGPjH/hdsB82HbFbtB0x1PCn4TdSAwv+6+WSpJ5HUT/RCW8abLty4yaEy6kj5E+rXrK X3W4fIbPvQ0vVbu0kz0o5gG6+6XXcNHfqCAyZRE/DQsGqrSpKHXLDsek2gaJFHUyG5HS e+Bpgfvq1wfUQKl8sh2qMJrU6PFyRwIr54YuGraAj2Q4LxiAT4werMmO8SpRMES68qmp biIg== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=SrWNh4Lqmi03qB9J80wi5ePnzz82fGhWbAU3DDMwbwI=; b=HlCfbhV56jttr0rpLU25wso3o1cdee3GoHC7zd8/VxKzBqhP6HKSNg/IQHZcSh0KzK AgoWru4V9PxW3YuP5AK7x+4P0yokwssmcxz1g2A6fsgock371mN8lbceKPD3Ubeh5ULY UFqwikoOQROQhBWsUWUhTEpoN1jNW7qOZv/eyg9XKS6o5aEeNC5PsZE38UhVtyjuM6aV icF2KJeWSr8om/m5tSmrSwy/uRcL/CJic1caZO94Y4h206yZsx7iV40CecRjhoke+D3S BL2QsdglAtx1w2/0itwDx4mY0ADMtTgLK+IcqaKA7lMCk3gaXLnrPZYWhptFXto8gkCZ TKCA== ARC-Authentication-Results: i=3; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=SrWNh4Lqmi03qB9J80wi5ePnzz82fGhWbAU3DDMwbwI=; b=mrU9Ca1daEHfHBinWh3YQidGfnbLYouDKGspZv/OtFWLLTzpHBbdeToDWiMhqU0Zb6 U0wpuZIE96kSvCC4f07hcV8IZzhW3y15JSGv3BFv2OTywe3hyZ4004cu2d/QFnLfS+v0 +96N8th2zHatNiE6dynXXeGF7GHgLZpPd1K7fVCuMJZaaoL6HZPVNAVVXXhO4Nv2VIHt 72FG27zbeJBJkjj9d2odzlY9Q+uT8T2g0VCeVGjr+t0HG7bjJat3lFbQFJjMaY1b6Wp2 pEJNg3BAm0wKI4dM2vkocyGE8Ia3eNuYWI2uRiS8RDULp3ld2XJlAJe0r3pbPMjqg7lN l8EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=SrWNh4Lqmi03qB9J80wi5ePnzz82fGhWbAU3DDMwbwI=; b=WjOWHCSMkXomrLb//EMaKayCClR1NO6kYl0oJDXvx/VbOtT/XliIF1O72rKA46sDp6 s46mMXGwH7aWR/fc7S7KM2ULQVuGjioAA3foe8LbtAUVzhE52AeDXdNvHOuU105HtG2t PMMvrfFDwZUzUEA6ZzDRtNV7GmKetzgSNpbqCCOwcEkJipdb/fiVV2tHsCVcEB/g4C8g 3828mCC2i4dd3Scn5zX15FoH4yPmdN+kMQEJUZQWUh7UOljwDv1UqYXIww5/xSrLE5zs /LuENe2W9FqQqbO8hFqj8kZcUSwLFk887abHTdjF8aWOS7XO0spdoN7XbJwPoRkmCkgV h1pQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM533uCAbWWZu2opr6fap03jwu/5u6yB9xKh5e/Md1KzdN53fRuEDY tSsA/faStxdHRmKL3OAqC3s= X-Google-Smtp-Source: ABdhPJz6Sy9dVh2jxkoh3q92Sdk+IJIYyoyxH/pctAHX0VNhkkOqzdwCbUoR8xv0WzSQOzlkUMCaxQ== X-Received: by 2002:a17:907:3f12:b0:6ef:f301:dbe5 with SMTP id hq18-20020a1709073f1200b006eff301dbe5mr8342462ejc.709.1650531165485; 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-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 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; 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 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 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-Original-Sender: henning.schild@siemens.com X-Original-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 Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: INBOX 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(-)