From patchwork Sun Nov 29 07:32:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106271 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9778.1795937561066743320 for ; Sat, 28 Nov 2026 23:32:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Ol9oFdId; spf=pass (domain: gmail.com, ip: 74.125.82.174, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-386cf1041cdso7585709eec.0 for ; Sat, 28 Nov 2026 23:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795937560; x=1796542360; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=xducDYhfmRCPMKAsQJIYSJtH7TUurh6CsuKqs+SliJM=; b=Ol9oFdIdw7JMMjsg5rwuHJ5vygxekNM7cUQmKwZ4tdj7Ak2XAJtYeMIa5gBmcpxfzt 5stgRJ8eohuNzSylsYnlyvEFu9r23fva7C3TlypBufoFpjGuAduYuBX8qdL68ik2BfcZ ezC9HGbuo4mkCfvi00CD31fi6W9qsZNcYVJEyRXVfpVaLF6f15rE6PXQOMWKxk/pSyNw tZyHVmM5SNU7GXp/AGfm5mDsjLaOWQCm4eMKiq00NWpNTG5LwTri5xHDPsHF9SGJCh9Z AuQQWUTdAC1yxJASuAEADQ0bRPmaBZjlEXTUg/MzA4yG5ZWiVzg7oERnn2RAPLjbJ1kp I9SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795937560; x=1796542360; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=xducDYhfmRCPMKAsQJIYSJtH7TUurh6CsuKqs+SliJM=; b=tydu0Y8x+LGlzdBsqXMzMi+APoKJSFWxWHkFtPsbizwLk80P3f2dC0vK6fg1JyB5IF p818SyNyht3SJra+fu5L4bAynhXmKIGj9DUDZH3u64bPdlBUQ3gWAZz2FQivnRJdK4Hz PfwG+stAgl5nezPE+iKIu7Cec8Yr7tnOTnyoGWbUFWJStKNvpz67CWSh3LcpKE0gJ9pA uH43s58QtNxdHwtvGuWCWhnxGLxDFd2eey1vJZW0j1Oo8OvuuWf9DW1yCr0RZuvyF1hB 5m/Uw1kVCpQa0fU9+VUpdfBayjW8u7SNPCQObSLZuC/RfdKN7JlsydMam+9sSDltLj7t fwug== X-Gm-Message-State: APuU4Z89HuQxQQppAB5avC9k56YvfuGs1pP2QpP7pIsdA+0gaVuOj2HS wrulyw2ZnniPPzCPZWTTopsT1WqJf0NRAUtjPXelwQvJfF7WJfwNPa8DFt2SjiBb X-Gm-Gg: AZFdTZcQEDdclSjj/gN9BE2zxw1jyWZxEWqHfxFy8f0ph/nqZJeNBhNqzdV6zJpAjIR vSNSNjaVh2+IsRn3DG7qqsOnd66QqDaWZPVKYyrNuheEabifr1mNwxrC/+hQxZKtjoo/Xna9EsB 8DIPfE63goMSPMSwnC9FJ6bF2Pf48ZPBocq4PELFOU4vhcIxLsqlxdzvqBlc0G0fIVbc90DLlS/ wxAqTAoy1Lv1buRU7H8iLVq0fUfCnAhKDGZnEbTv8eaxMDk/AHzoCITYL18CXdMbh4CyT8P/jOR QBqlRmepEfmVUC06vSdRtkrZog+X8x/v0tH2llLB63VCdEfyTSNVD+zGHGhqdgru2LfE97Osd9C L7OTt1+djRgfgYZS3osid5FYNq7czVgGhwWCX2QLj+im2eM/bh+dMr7Z1ML3t3lD8+KP4W2lPZ6 lMcubKneDIYSozSbpPyb+DkUTsBCGFVFvZ4Fy9dHVlV5LUP4aSO588Agqbzbm5DuQInAprIt27a I7M6jBcUtnSBpqwmXEPniO8cHf3cEGaA5WukQsHy+qjvObEaeLbN1ZnM+BD3hNEv+GwPjTT8XOZ zlk4/fDOd1HJVA0ezgrlrk1cmAf274xuN/dpXxvt1GPcqeaTWkHu3yUNaKF9RsZhbh78/s0/JXQ czZrJm7Tbl2J3GBl40uFkNi0gE3GPLjjWYqEVI0nUho44RxQkcdMFGMhq8SSfQ+7ZeS4PD8S1Xj 09ymzmsxHlh7M0soVNiI7tFOMAQSMxpBeZFU0tsWVOX4yphdHpn6ow3MgcXVoHCV3xj0WV/AuyT SPOgfkyoi6qnHhHx1MiQPskiPrvhDTVhy1aB6v7L/tyUWccpZzPZJrImyEjG8fVaeTBts3ASre9 bKg1 X-Received: by 2002:a05:7301:2108:b0:386:b99:8ff9 with SMTP id 5a478bee46e88-3860b999354mr26014451eec.40.1795937560140; Sat, 28 Nov 2026 23:32:40 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385677c0c1dsm98718864eec.21.2026.11.28.23.32.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2026 23:32:39 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH] python3-flit-core: upgrade 3.12.0 -> 4.2.0 Date: Sat, 28 Nov 2026 23:32:35 -0800 Message-ID: <20261129073235.3077566-1-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 29 Nov 2026 07:32:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251518 4.0 is a major release with breaking changes: - The [tool.flit.metadata] table is no longer read; projects must use the standard [project] table (or keep building with flit_core <4). - flit_core requires Python 3.8 or later. - The --setup-py option, which generated a setup.py in sdists, is gone. - flit build and flit publish no longer pick sdist files from git or Mercurial; they follow the sdist include/exclude patterns, as the PEP 517 backend already did (--use-vcs restores the old behaviour). - Metadata 2.5 Import-Name/Import-Namespace fields are generated, -stubs packages work, NOTICE* and AUTHORS* are default license file patterns, and license-files patterns may contain spaces. - RECORD files are correct for file names with commas, and sdists are extracted with the tarfile 'data' filter on Python 3.12+. 4.0.2 and 4.0.3 fix invalid Import-Name metadata and wheels created with 0600 instead of 0644 permissions. 4.1 accepts license expressions with the WITH syntax. 4.2 hardens builds: sdist include/exclude patterns match regardless of Unicode normalisation (a sensitive file could slip into an sdist), and sdists and wheels with symlinks pointing outside the project, or a README from outside it, are refused. It also accepts environment markers starting with a parenthesised clause, only normalises extras names in requirements, and improves error messages. Projects that pin flit_core <4 are handled by the python_flit_core class change before this commit. Signed-off-by: Khem Raj --- .../{python3-flit-core_3.12.0.bb => python3-flit-core_4.2.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-flit-core_3.12.0.bb => python3-flit-core_4.2.0.bb} (90%) diff --git a/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb b/meta/recipes-devtools/python/python3-flit-core_4.2.0.bb similarity index 90% rename from meta/recipes-devtools/python/python3-flit-core_3.12.0.bb rename to meta/recipes-devtools/python/python3-flit-core_4.2.0.bb index 786906b4b4..5f490ca303 100644 --- a/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb +++ b/meta/recipes-devtools/python/python3-flit-core_4.2.0.bb @@ -8,7 +8,7 @@ BUGTRACKER = "https://github.com/pypa/flit/issues" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08" -SRC_URI[sha256sum] = "18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2" +SRC_URI[sha256sum] = "84e4e4d8fdd45ba2613800a3ebc6834de26d47ec9746efc3719f94181137b460" inherit pypi python_flit_core